java.lang.Object |
↳ |
com.facebook.common.internal.Ints |
Class Overview
Static utility methods pertaining to int
primitives, that are not already found in either
Integer or Arrays.
Summary
Public Methods |
static
int
|
max(int... array)
Returns the greatest value present in array .
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Methods
public
static
int
max
(int... array)
Returns the greatest value present in array
.
Parameters
array |
a nonempty array of int values |
Returns
- the value present in
array
that is greater than or equal to every other value
in the array
Throws
IllegalArgumentException
| if array is empty
|