prefuse.util.collections
Class NullComparator

java.lang.Object
  extended by prefuse.util.collections.NullComparator
All Implemented Interfaces:
java.util.Comparator

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

A do-nothing comparator that simply treats all objects as equal.

Author:
jeffrey heer

Constructor Summary
NullComparator()
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

NullComparator

public NullComparator()
Method Detail

compare

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


Copyright © 2007 Regents of the University of California