SSF.OS.NetFlow.Filter
Class SetRange

java.lang.Object
  |
  +--SSF.OS.NetFlow.Filter.SetRange
All Implemented Interfaces:
Range

public class SetRange
extends java.lang.Object
implements Range

SetRange this Range class uses a set as reference. Just check whether given data is in the set or not.


Constructor Summary
SetRange()
           
 
Method Summary
 void config(com.renesys.raceway.DML.Configuration cfg, byte dataType)
          in SetRange, this config does nothing
 boolean inRange(java.lang.Object data, byte dataType)
          check whether data is in the set or not
 void useSet(java.util.HashSet hSet)
          Assigne the hash set to be used.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetRange

public SetRange()
Method Detail

config

public void config(com.renesys.raceway.DML.Configuration cfg,
                   byte dataType)
            throws com.renesys.raceway.DML.configException
in SetRange, this config does nothing

Specified by:
config in interface Range
com.renesys.raceway.DML.configException

useSet

public void useSet(java.util.HashSet hSet)
Assigne the hash set to be used. It must be called before using this range


inRange

public boolean inRange(java.lang.Object data,
                       byte dataType)
check whether data is in the set or not

Specified by:
inRange in interface Range