Java android.support.v4.util Preconditions fields, constructors, methods, implement or subclass

Example usage for Java android.support.v4.util Preconditions fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.support.v4.util Preconditions.

The text is from its open source code.

Method

voidcheckArgument(boolean expression)
voidcheckArgument(boolean expression, final Object errorMessage)
Ensures that an expression checking an argument is true.
intcheckArgumentNonnegative(final int value, final String errorMessage)
Ensures that that the argument numeric value is non-negative.
longcheckArgumentNonnegative(final long value, final String errorMessage)
Ensures that that the argument numeric value is non-negative.
TcheckNotNull(final T reference, final Object errorMessage)
Ensures that an object reference passed as a parameter to the calling method is not null.
TcheckNotNull(final T reference)
Ensures that an object reference passed as a parameter to the calling method is not null.
voidcheckState(final boolean expression, String message)
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.