File tree Expand file tree Collapse file tree 4 files changed +8
-0
lines changed
android/guava/src/com/google/common/primitives
guava/src/com/google/common/primitives Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 25
25
import com .google .common .annotations .GwtCompatible ;
26
26
import com .google .common .annotations .GwtIncompatible ;
27
27
import com .google .common .base .Converter ;
28
+ import com .google .errorprone .annotations .InlineMe ;
28
29
import java .io .Serializable ;
29
30
import java .util .AbstractList ;
30
31
import java .util .Arrays ;
@@ -89,6 +90,7 @@ public static int hashCode(double value) {
89
90
* @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is
90
91
* greater than {@code b}; or zero if they are equal
91
92
*/
93
+ @ InlineMe (replacement = "Double.compare(a, b)" )
92
94
public static int compare (double a , double b ) {
93
95
return Double .compare (a , b );
94
96
}
Original file line number Diff line number Diff line change 25
25
import com .google .common .annotations .GwtCompatible ;
26
26
import com .google .common .annotations .GwtIncompatible ;
27
27
import com .google .common .base .Converter ;
28
+ import com .google .errorprone .annotations .InlineMe ;
28
29
import java .io .Serializable ;
29
30
import java .util .AbstractList ;
30
31
import java .util .Arrays ;
@@ -86,6 +87,7 @@ public static int hashCode(float value) {
86
87
* @param b the second {@code float} to compare
87
88
* @return the result of invoking {@link Float#compare(float, float)}
88
89
*/
90
+ @ InlineMe (replacement = "Float.compare(a, b)" )
89
91
public static int compare (float a , float b ) {
90
92
return Float .compare (a , b );
91
93
}
Original file line number Diff line number Diff line change 25
25
import com .google .common .annotations .GwtCompatible ;
26
26
import com .google .common .annotations .GwtIncompatible ;
27
27
import com .google .common .base .Converter ;
28
+ import com .google .errorprone .annotations .InlineMe ;
28
29
import java .io .Serializable ;
29
30
import java .util .AbstractList ;
30
31
import java .util .Arrays ;
@@ -91,6 +92,7 @@ public static int hashCode(double value) {
91
92
* @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is
92
93
* greater than {@code b}; or zero if they are equal
93
94
*/
95
+ @ InlineMe (replacement = "Double.compare(a, b)" )
94
96
public static int compare (double a , double b ) {
95
97
return Double .compare (a , b );
96
98
}
Original file line number Diff line number Diff line change 25
25
import com .google .common .annotations .GwtCompatible ;
26
26
import com .google .common .annotations .GwtIncompatible ;
27
27
import com .google .common .base .Converter ;
28
+ import com .google .errorprone .annotations .InlineMe ;
28
29
import java .io .Serializable ;
29
30
import java .util .AbstractList ;
30
31
import java .util .Arrays ;
@@ -86,6 +87,7 @@ public static int hashCode(float value) {
86
87
* @param b the second {@code float} to compare
87
88
* @return the result of invoking {@link Float#compare(float, float)}
88
89
*/
90
+ @ InlineMe (replacement = "Float.compare(a, b)" )
89
91
public static int compare (float a , float b ) {
90
92
return Float .compare (a , b );
91
93
}
You can’t perform that action at this time.
0 commit comments