- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Balint (0.14 sec)
-
guava/src/com/google/common/collect/ComparisonChain.java
* * <p>Example usage of {@code ComparisonChain}: * * <pre>{@code * public int compareTo(Foo that) { * return ComparisonChain.start() * .compare(this.aString, that.aString) * .compare(this.anInt, that.anInt) * .compare(this.anEnum, that.anEnum, Ordering.natural().nullsLast()) * .result(); * } * }</pre> * * <p>The value of this expression will have the same sign as the <i>first nonzero</i> comparison
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Wed Sep 21 17:28:11 GMT 2022 - 11.2K bytes - Viewed (0)