Uses of Class
com.google.common.collect.ComparisonChain
Packages that use ComparisonChain
Package
Description
Collection interfaces and implementations, and other utilities for collections.
-
Uses of ComparisonChain in com.google.common.collect
Subclasses of ComparisonChain in com.google.common.collectModifier and TypeClassDescriptionprivate static final classFields in com.google.common.collect declared as ComparisonChainModifier and TypeFieldDescriptionprivate static final ComparisonChainComparisonChain.ACTIVEprivate static final ComparisonChainComparisonChain.GREATERprivate static final ComparisonChainComparisonChain.LESSMethods in com.google.common.collect that return ComparisonChainModifier and TypeMethodDescriptionabstract ComparisonChainComparisonChain.compare(double left, double right) Compares twodoublevalues as specified byDouble.compare(double, double), if the result of this comparison chain has not already been determined.abstract ComparisonChainComparisonChain.compare(float left, float right) Compares twofloatvalues as specified byFloat.compare(float, float), if the result of this comparison chain has not already been determined.abstract ComparisonChainComparisonChain.compare(int left, int right) Compares twointvalues as specified byInts.compare(int, int), if the result of this comparison chain has not already been determined.abstract ComparisonChainComparisonChain.compare(long left, long right) Compares twolongvalues as specified byLongs.compare(long, long), if the result of this comparison chain has not already been determined.final ComparisonChainDeprecated.abstract ComparisonChainComparisonChain.compare(Comparable<?> left, Comparable<?> right) Compares two comparable objects as specified byComparable.compareTo(T), if the result of this comparison chain has not already been determined.abstract <T> ComparisonChainComparisonChain.compare(T left, T right, Comparator<T> comparator) Compares two objects using a comparator, if the result of this comparison chain has not already been determined.ComparisonChain.InactiveComparisonChain.compare(double left, double right) ComparisonChain.InactiveComparisonChain.compare(float left, float right) ComparisonChain.InactiveComparisonChain.compare(int left, int right) ComparisonChain.InactiveComparisonChain.compare(long left, long right) ComparisonChain.InactiveComparisonChain.compare(Comparable<?> left, Comparable<?> right) <T> ComparisonChainComparisonChain.InactiveComparisonChain.compare(T left, T right, Comparator<T> comparator) abstract ComparisonChainComparisonChain.compareFalseFirst(boolean left, boolean right) Compares twobooleanvalues, consideringfalseto be less thantrue, if the result of this comparison chain has not already been determined.ComparisonChain.InactiveComparisonChain.compareFalseFirst(boolean left, boolean right) abstract ComparisonChainComparisonChain.compareTrueFirst(boolean left, boolean right) Compares twobooleanvalues, consideringtrueto be less thanfalse, if the result of this comparison chain has not already been determined.ComparisonChain.InactiveComparisonChain.compareTrueFirst(boolean left, boolean right) static ComparisonChainComparisonChain.start()Begins a new chained comparison statement.
compareFalseFirst(boolean, boolean); or, if the parameters passed are being either negated or reversed, undo the negation or reversal and usecompareTrueFirst(boolean, boolean).