SSF.OS.NetFlow.Util
Class FlowComparator

java.lang.Object
  |
  +--SSF.OS.NetFlow.Util.FlowComparator
All Implemented Interfaces:
java.util.Comparator

public class FlowComparator
extends java.lang.Object
implements java.util.Comparator

A small gadget tempararily written to sort the flow records according to the "First" field. The "First" field shows at what time the flow starts.


Constructor Summary
FlowComparator()
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
           
 boolean equals(java.lang.Object obj)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlowComparator

public FlowComparator()
Method Detail

equals

public boolean equals(java.lang.Object obj)
Specified by:
equals in interface java.util.Comparator
Overrides:
equals in class java.lang.Object

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Specified by:
compare in interface java.util.Comparator