Class MultiComparator<C>
- java.lang.Object
 - 
- org.apache.tinkerpop.gremlin.util.function.MultiComparator<C>
 
 
- 
- All Implemented Interfaces:
 Serializable,Comparator<C>
public final class MultiComparator<C> extends Object implements Comparator<C>, Serializable
- Author:
 - Marko A. Rodriguez (http://markorodriguez.com)
 - See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description MultiComparator(List<Comparator<C>> comparators) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(C objectA, C objectB)booleanisShuffle()- 
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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
MultiComparator
public MultiComparator(List<Comparator<C>> comparators)
 
 - 
 
- 
Method Detail
- 
compare
public int compare(C objectA, C objectB)
- Specified by:
 comparein interfaceComparator<C>
 
- 
isShuffle
public boolean isShuffle()
 
 - 
 
 -