Java com.google.common.primitives Booleans fields, constructors, methods, implement or subclass

Example usage for Java com.google.common.primitives Booleans fields, constructors, methods, implement or subclass

Introduction

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

The text is from its open source code.

Method

ListasList(boolean... backingArray)
Returns a fixed-size list backed by the specified array, similar to Arrays#asList(Object[]) .
intcompare(boolean a, boolean b)
Compares the two specified boolean values in the standard way ( false is considered less than true ).
booleancontains(boolean[] array, boolean target)
Returns true if target is present as an element anywhere in array .
intcountTrue(boolean... values)
Returns the number of values that are true .
inthashCode(boolean value)
Returns a hash code for value ; equal to the result of invoking ((Boolean) value).hashCode() .
Stringjoin(String separator, boolean... array)
Returns a string containing the supplied boolean values separated by separator .
boolean[]toArray(Collection collection)
Copies a collection of Boolean instances into a new array of primitive boolean values.