Class TestComparator<T>

java.lang.Object
org.wildfly.clustering.marshalling.test.TestComparator<T>
Type Parameters:
T - comparison target type
All Implemented Interfaces:
Serializable, Comparator<T>

public class TestComparator<T> extends Object implements Comparator<T>, Serializable
Author:
Paul Ferraro
See Also:
  • Constructor Details

    • TestComparator

      public TestComparator()
  • Method Details

    • compare

      public int compare(T object1, T object2)
      Specified by:
      compare in interface Comparator<T>