Java com.google.common.collect ComparisonChain fields, constructors, methods, implement or subclass

Example usage for Java com.google.common.collect ComparisonChain fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.common.collect ComparisonChain.

The text is from its open source code.

Method

ComparisonChaincompare(@Nullable T left, @Nullable T right, Comparator comparator)
Compares two objects using a comparator, if the result of this comparison chain has not already been determined.
ComparisonChaincompare(Comparable left, Comparable right)
Compares two comparable objects as specified by Comparable#compareTo , if the result of this comparison chain has not already been determined.
ComparisonChaincompare(int left, int right)
Compares two int values as specified by Ints#compare , if the result of this comparison chain has not already been determined.
ComparisonChaincompare(long left, long right)
Compares two long values as specified by Longs#compare , if the result of this comparison chain has not already been determined.
ComparisonChaincompare(float left, float right)
Compares two float values as specified by Float#compare , if the result of this comparison chain has not already been determined.
ComparisonChaincompare(double left, double right)
Compares two double values as specified by Double#compare , if the result of this comparison chain has not already been determined.
ComparisonChaincompare(Boolean left, Boolean right)
Discouraged synonym for #compareFalseFirst .
intresult()
Ends this comparison chain and returns its result: a value having the same sign as the first nonzero comparison result in the chain, or zero if every result was zero.
ComparisonChainstart()
Begins a new chained comparison statement.