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 SummaryConstructors Constructor Description MultiComparator(List<Comparator<C>> comparators)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(C objectA, C objectB)booleanisShuffle()- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface java.util.Comparatorequals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
 
- 
 
- 
- 
- 
Constructor Detail- 
MultiComparatorpublic MultiComparator(List<Comparator<C>> comparators) 
 
- 
 - 
Method Detail- 
comparepublic int compare(C objectA, C objectB) - Specified by:
- comparein interface- Comparator<C>
 
 - 
isShufflepublic boolean isShuffle() 
 
- 
 
-