Package org.apache.beam.sdk.transforms
Class Top.Natural<T extends Comparable<? super T>>
java.lang.Object
org.apache.beam.sdk.transforms.Top.Natural<T>
- All Implemented Interfaces:
Serializable
,Comparator<T>
- Enclosing class:
Top
public static class Top.Natural<T extends Comparable<? super T>>
extends Object
implements Comparator<T>, Serializable
A
Serializable
Comparator
that that uses the compared elements' natural
ordering.- See Also:
-
Constructor Summary
Constructors -
Method Summary
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 Details
-
Natural
public Natural()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<T extends Comparable<? super T>>
-