Back to Fresco

Ints

docs/javadoc/reference/com/facebook/common/internal/Ints.html

3.6.011.7 KB
Original Source

Fresco

|

|

Packages | Classes

Interfaces

Classes

Annotations

Packages | Classes

Summary: Methods | Inherited Methods | [Expand All]

public class

Ints

extends Object

| 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
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 |

+Generated by Doclava. +