Package | Description |
---|---|
com.google.common.collect |
This package contains generic collection interfaces and implementations, and
other utilities for working with collections.
|
Modifier and Type | Method and Description |
---|---|
ComparisonChain |
ComparisonChain.compare(boolean left,
boolean right)
Deprecated.
Use
compareFalseFirst(boolean, boolean) ; or, if the parameters passed
are being either negated or reversed, undo the negation or reversal and
use compareTrueFirst(boolean, boolean) . This method is scheduled for deletion
in September 2013. |
abstract ComparisonChain |
ComparisonChain.compare(Comparable<?> left,
Comparable<?> right)
Compares two comparable objects as specified by
Comparable.compareTo(T) , if the result of this comparison chain
has not already been determined. |
abstract ComparisonChain |
ComparisonChain.compare(double left,
double right)
Compares two
double values as specified by Double.compare(double, double) , if the result of this comparison chain has not
already been determined. |
abstract ComparisonChain |
ComparisonChain.compare(float left,
float right)
Compares two
float values as specified by Float.compare(float, float) , if the result of this comparison chain has not
already been determined. |
abstract ComparisonChain |
ComparisonChain.compare(int left,
int right)
Compares two
int values as specified by Ints.compare(int, int) ,
if the result of this comparison chain has not already been
determined. |
abstract ComparisonChain |
ComparisonChain.compare(long left,
long right)
Compares two
long values as specified by Longs.compare(long, long) ,
if the result of this comparison chain has not already been
determined. |
abstract <T> ComparisonChain |
ComparisonChain.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.
|
abstract ComparisonChain |
ComparisonChain.compareFalseFirst(boolean left,
boolean right)
Compares two
boolean values, considering false to be less
than true , if the result of this comparison chain has not
already been determined. |
abstract ComparisonChain |
ComparisonChain.compareTrueFirst(boolean left,
boolean right)
Compares two
boolean values, considering true to be less
than false , if the result of this comparison chain has not
already been determined. |
static ComparisonChain |
ComparisonChain.start()
Begins a new chained comparison statement.
|
Copyright © 2010-2013. All Rights Reserved.