org.mbari.siam.distributed.jddac
Class FilterByKeyFunction

java.lang.Object
  extended by org.mbari.siam.distributed.jddac.FilterByKeyFunction
All Implemented Interfaces:
IFunction

public class FilterByKeyFunction
extends java.lang.Object
implements IFunction

Removes all elements from an ArgArray whos keys are not in the AllowedKeys list


Field Summary
 
Fields inherited from interface org.mbari.jddac.IFunction
KEY, OPID_IN, OPID_OUT
 
Constructor Summary
FilterByKeyFunction()
           
 
Method Summary
 net.java.jddac.common.type.ArgArray execute(net.java.jddac.common.type.ArgArray argArray)
           
 java.util.Vector getAllowedKeys()
          This is the vector that contains the acceptable keys.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterByKeyFunction

public FilterByKeyFunction()
Method Detail

execute

public net.java.jddac.common.type.ArgArray execute(net.java.jddac.common.type.ArgArray argArray)
Specified by:
execute in interface IFunction

getAllowedKeys

public java.util.Vector getAllowedKeys()
This is the vector that contains the acceptable keys. All other values in an ArgArray that do not match one of these keys will be filtered out.



Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.