A B C D E F H I J L M P S T U W

A

allPrimitiveTypes() - Static method in class com.google.common.primitives.Primitives
Returns an immutable set of all nine primitive types (including void).
allWrapperTypes() - Static method in class com.google.common.primitives.Primitives
Returns an immutable set of all nine primitive-wrapper types (including Void).
asList(boolean...) - Static method in class com.google.common.primitives.Booleans
Returns a fixed-size list backed by the specified array, similar to Arrays.asList(Object[]).
asList(byte...) - Static method in class com.google.common.primitives.Bytes
Returns a fixed-size list backed by the specified array, similar to Arrays.asList(Object[]).
asList(char...) - Static method in class com.google.common.primitives.Chars
Returns a fixed-size list backed by the specified array, similar to Arrays.asList(Object[]).
asList(double...) - Static method in class com.google.common.primitives.Doubles
Returns a fixed-size list backed by the specified array, similar to Arrays.asList(Object[]).
asList(float...) - Static method in class com.google.common.primitives.Floats
Returns a fixed-size list backed by the specified array, similar to Arrays.asList(Object[]).
asList(int...) - Static method in class com.google.common.primitives.Ints
Returns a fixed-size list backed by the specified array, similar to Arrays.asList(Object[]).
asList(long...) - Static method in class com.google.common.primitives.Longs
Returns a fixed-size list backed by the specified array, similar to Arrays.asList(Object[]).
asList(short...) - Static method in class com.google.common.primitives.Shorts
Returns a fixed-size list backed by the specified array, similar to Arrays.asList(Object[]).

B

Booleans - Class in com.google.common.primitives
Static utility methods pertaining to boolean primitives, that are not already found in either Boolean or Arrays.
Bytes - Class in com.google.common.primitives
Static utility methods pertaining to byte primitives, that are not already found in either Byte or Arrays, and interpret bytes as neither signed nor unsigned.
BYTES - Static variable in class com.google.common.primitives.Chars
The number of bytes required to represent a primitive char value.
BYTES - Static variable in class com.google.common.primitives.Ints
The number of bytes required to represent a primitive int value.
BYTES - Static variable in class com.google.common.primitives.Longs
The number of bytes required to represent a primitive long value.
BYTES - Static variable in class com.google.common.primitives.Shorts
The number of bytes required to represent a primitive short value.

C

Chars - Class in com.google.common.primitives
Static utility methods pertaining to char primitives, that are not already found in either Character or Arrays.
checkedCast(long) - Static method in class com.google.common.primitives.Chars
Returns the char value that is equal to value, if possible.
checkedCast(long) - Static method in class com.google.common.primitives.Ints
Returns the int value that is equal to value, if possible.
checkedCast(long) - Static method in class com.google.common.primitives.Shorts
Returns the short value that is equal to value, if possible.
checkedCast(long) - Static method in class com.google.common.primitives.SignedBytes
Returns the byte value that is equal to value, if possible.
checkedCast(long) - Static method in class com.google.common.primitives.UnsignedBytes
Returns the byte value that, when treated as unsigned, is equal to value, if possible.
com.google.common.primitives - package com.google.common.primitives
Static utilities for working with the eight primitive types and void.
compare(boolean, boolean) - Static method in class com.google.common.primitives.Booleans
Compares the two specified boolean values in the standard way (false is considered less than true).
compare(char, char) - Static method in class com.google.common.primitives.Chars
Compares the two specified char values.
compare(double, double) - Static method in class com.google.common.primitives.Doubles
Compares the two specified double values.
compare(float, float) - Static method in class com.google.common.primitives.Floats
Compares the two specified float values using Float.compare(float, float).
compare(int, int) - Static method in class com.google.common.primitives.Ints
Compares the two specified int values.
compare(long, long) - Static method in class com.google.common.primitives.Longs
Compares the two specified long values.
compare(short, short) - Static method in class com.google.common.primitives.Shorts
Compares the two specified short values.
compare(byte, byte) - Static method in class com.google.common.primitives.SignedBytes
Compares the two specified byte values.
compare(byte, byte) - Static method in class com.google.common.primitives.UnsignedBytes
Compares the two specified byte values, treating them as unsigned values between 0 and 255 inclusive.
concat(boolean[]...) - Static method in class com.google.common.primitives.Booleans
Returns the values from each provided array combined into a single array.
concat(byte[]...) - Static method in class com.google.common.primitives.Bytes
Returns the values from each provided array combined into a single array.
concat(char[]...) - Static method in class com.google.common.primitives.Chars
Returns the values from each provided array combined into a single array.
concat(double[]...) - Static method in class com.google.common.primitives.Doubles
Returns the values from each provided array combined into a single array.
concat(float[]...) - Static method in class com.google.common.primitives.Floats
Returns the values from each provided array combined into a single array.
concat(int[]...) - Static method in class com.google.common.primitives.Ints
Returns the values from each provided array combined into a single array.
concat(long[]...) - Static method in class com.google.common.primitives.Longs
Returns the values from each provided array combined into a single array.
concat(short[]...) - Static method in class com.google.common.primitives.Shorts
Returns the values from each provided array combined into a single array.
contains(boolean[], boolean) - Static method in class com.google.common.primitives.Booleans
Returns true if target is present as an element anywhere in array.
contains(byte[], byte) - Static method in class com.google.common.primitives.Bytes
Returns true if target is present as an element anywhere in array.
contains(char[], char) - Static method in class com.google.common.primitives.Chars
Returns true if target is present as an element anywhere in array.
contains(double[], double) - Static method in class com.google.common.primitives.Doubles
Returns true if target is present as an element anywhere in array.
contains(float[], float) - Static method in class com.google.common.primitives.Floats
Returns true if target is present as an element anywhere in array.
contains(int[], int) - Static method in class com.google.common.primitives.Ints
Returns true if target is present as an element anywhere in array.
contains(long[], long) - Static method in class com.google.common.primitives.Longs
Returns true if target is present as an element anywhere in array.
contains(short[], short) - Static method in class com.google.common.primitives.Shorts
Returns true if target is present as an element anywhere in array.

D

Doubles - Class in com.google.common.primitives
Static utility methods pertaining to double primitives, that are not already found in either Double or Arrays.

E

ensureCapacity(boolean[], int, int) - Static method in class com.google.common.primitives.Booleans
Returns an array containing the same values as array, but guaranteed to be of a specified minimum length.
ensureCapacity(byte[], int, int) - Static method in class com.google.common.primitives.Bytes
Returns an array containing the same values as array, but guaranteed to be of a specified minimum length.
ensureCapacity(char[], int, int) - Static method in class com.google.common.primitives.Chars
Returns an array containing the same values as array, but guaranteed to be of a specified minimum length.
ensureCapacity(double[], int, int) - Static method in class com.google.common.primitives.Doubles
Returns an array containing the same values as array, but guaranteed to be of a specified minimum length.
ensureCapacity(float[], int, int) - Static method in class com.google.common.primitives.Floats
Returns an array containing the same values as array, but guaranteed to be of a specified minimum length.
ensureCapacity(int[], int, int) - Static method in class com.google.common.primitives.Ints
Returns an array containing the same values as array, but guaranteed to be of a specified minimum length.
ensureCapacity(long[], int, int) - Static method in class com.google.common.primitives.Longs
Returns an array containing the same values as array, but guaranteed to be of a specified minimum length.
ensureCapacity(short[], int, int) - Static method in class com.google.common.primitives.Shorts
Returns an array containing the same values as array, but guaranteed to be of a specified minimum length.

F

Floats - Class in com.google.common.primitives
Static utility methods pertaining to float primitives, that are not already found in either Float or Arrays.
fromByteArray(byte[]) - Static method in class com.google.common.primitives.Chars
Returns the char value whose big-endian representation is stored in the first 2 bytes of bytes; equivalent to ByteBuffer.wrap(bytes).getChar().
fromByteArray(byte[]) - Static method in class com.google.common.primitives.Ints
Returns the int value whose big-endian representation is stored in the first 4 bytes of bytes; equivalent to ByteBuffer.wrap(bytes).getInt().
fromByteArray(byte[]) - Static method in class com.google.common.primitives.Longs
Returns the long value whose big-endian representation is stored in the first 8 bytes of bytes; equivalent to ByteBuffer.wrap(bytes).getLong().
fromByteArray(byte[]) - Static method in class com.google.common.primitives.Shorts
Returns the short value whose big-endian representation is stored in the first ? bytes of bytes; equivalent to ByteBuffer.wrap(bytes).getShort().

H

hashCode(boolean) - Static method in class com.google.common.primitives.Booleans
Returns a hash code for value; equal to the result of invoking ((Boolean) value).hashCode().
hashCode(byte) - Static method in class com.google.common.primitives.Bytes
Returns a hash code for value; equal to the result of invoking ((Byte) value).hashCode().
hashCode(char) - Static method in class com.google.common.primitives.Chars
Returns a hash code for value; equal to the result of invoking ((Character) value).hashCode().
hashCode(double) - Static method in class com.google.common.primitives.Doubles
Returns a hash code for value; equal to the result of invoking ((Double) value).hashCode().
hashCode(float) - Static method in class com.google.common.primitives.Floats
Returns a hash code for value; equal to the result of invoking ((Float) value).hashCode().
hashCode(int) - Static method in class com.google.common.primitives.Ints
Returns a hash code for value; equal to the result of invoking ((Integer) value).hashCode().
hashCode(long) - Static method in class com.google.common.primitives.Longs
Returns a hash code for value; equal to the result of invoking ((Long) value).hashCode().
hashCode(short) - Static method in class com.google.common.primitives.Shorts
Returns a hash code for value; equal to the result of invoking ((Short) value).hashCode().

I

indexOf(boolean[], boolean) - Static method in class com.google.common.primitives.Booleans
Returns the index of the first appearance of the value target in array.
indexOf(boolean[], boolean[]) - Static method in class com.google.common.primitives.Booleans
Returns the start position of the first occurrence of the specified target within array, or -1 if there is no such occurrence.
indexOf(byte[], byte) - Static method in class com.google.common.primitives.Bytes
Returns the index of the first appearance of the value target in array.
indexOf(byte[], byte[]) - Static method in class com.google.common.primitives.Bytes
Returns the start position of the first occurrence of the specified target within array, or -1 if there is no such occurrence.
indexOf(char[], char) - Static method in class com.google.common.primitives.Chars
Returns the index of the first appearance of the value target in array.
indexOf(char[], char[]) - Static method in class com.google.common.primitives.Chars
Returns the start position of the first occurrence of the specified target within array, or -1 if there is no such occurrence.
indexOf(double[], double) - Static method in class com.google.common.primitives.Doubles
Returns the index of the first appearance of the value target in array.
indexOf(double[], double[]) - Static method in class com.google.common.primitives.Doubles
Returns the start position of the first occurrence of the specified target within array, or -1 if there is no such occurrence.
indexOf(float[], float) - Static method in class com.google.common.primitives.Floats
Returns the index of the first appearance of the value target in array.
indexOf(float[], float[]) - Static method in class com.google.common.primitives.Floats
Returns the start position of the first occurrence of the specified target within array, or -1 if there is no such occurrence.
indexOf(int[], int) - Static method in class com.google.common.primitives.Ints
Returns the index of the first appearance of the value target in array.
indexOf(int[], int[]) - Static method in class com.google.common.primitives.Ints
Returns the start position of the first occurrence of the specified target within array, or -1 if there is no such occurrence.
indexOf(long[], long) - Static method in class com.google.common.primitives.Longs
Returns the index of the first appearance of the value target in array.
indexOf(long[], long[]) - Static method in class com.google.common.primitives.Longs
Returns the start position of the first occurrence of the specified target within array, or -1 if there is no such occurrence.
indexOf(short[], short) - Static method in class com.google.common.primitives.Shorts
Returns the index of the first appearance of the value target in array.
indexOf(short[], short[]) - Static method in class com.google.common.primitives.Shorts
Returns the start position of the first occurrence of the specified target within array, or -1 if there is no such occurrence.
Ints - Class in com.google.common.primitives
Static utility methods pertaining to int primitives, that are not already found in either Integer or Arrays.
isWrapperType(Class<?>) - Static method in class com.google.common.primitives.Primitives
Returns true if type is one of the nine primitive-wrapper types, such as Integer.

J

join(String, boolean...) - Static method in class com.google.common.primitives.Booleans
Returns a string containing the supplied boolean values separated by separator.
join(String, char...) - Static method in class com.google.common.primitives.Chars
Returns a string containing the supplied char values separated by separator.
join(String, double...) - Static method in class com.google.common.primitives.Doubles
Returns a string containing the supplied double values, converted to strings as specified by Double.toString(double), and separated by separator.
join(String, float...) - Static method in class com.google.common.primitives.Floats
Returns a string containing the supplied float values, converted to strings as specified by Float.toString(float), and separated by separator.
join(String, int...) - Static method in class com.google.common.primitives.Ints
Returns a string containing the supplied int values separated by separator.
join(String, long...) - Static method in class com.google.common.primitives.Longs
Returns a string containing the supplied long values separated by separator.
join(String, short...) - Static method in class com.google.common.primitives.Shorts
Returns a string containing the supplied short values separated by separator.
join(String, byte...) - Static method in class com.google.common.primitives.SignedBytes
Returns a string containing the supplied byte values separated by separator.
join(String, byte...) - Static method in class com.google.common.primitives.UnsignedBytes
Returns a string containing the supplied byte values separated by separator.

L

lastIndexOf(boolean[], boolean) - Static method in class com.google.common.primitives.Booleans
Returns the index of the last appearance of the value target in array.
lastIndexOf(byte[], byte) - Static method in class com.google.common.primitives.Bytes
Returns the index of the last appearance of the value target in array.
lastIndexOf(char[], char) - Static method in class com.google.common.primitives.Chars
Returns the index of the last appearance of the value target in array.
lastIndexOf(double[], double) - Static method in class com.google.common.primitives.Doubles
Returns the index of the last appearance of the value target in array.
lastIndexOf(float[], float) - Static method in class com.google.common.primitives.Floats
Returns the index of the last appearance of the value target in array.
lastIndexOf(int[], int) - Static method in class com.google.common.primitives.Ints
Returns the index of the last appearance of the value target in array.
lastIndexOf(long[], long) - Static method in class com.google.common.primitives.Longs
Returns the index of the last appearance of the value target in array.
lastIndexOf(short[], short) - Static method in class com.google.common.primitives.Shorts
Returns the index of the last appearance of the value target in array.
lexicographicalComparator() - Static method in class com.google.common.primitives.Booleans
Returns a comparator that compares two boolean arrays lexicographically.
lexicographicalComparator() - Static method in class com.google.common.primitives.Chars
Returns a comparator that compares two char arrays lexicographically.
lexicographicalComparator() - Static method in class com.google.common.primitives.Doubles
Returns a comparator that compares two double arrays lexicographically.
lexicographicalComparator() - Static method in class com.google.common.primitives.Floats
Returns a comparator that compares two float arrays lexicographically.
lexicographicalComparator() - Static method in class com.google.common.primitives.Ints
Returns a comparator that compares two int arrays lexicographically.
lexicographicalComparator() - Static method in class com.google.common.primitives.Longs
Returns a comparator that compares two long arrays lexicographically.
lexicographicalComparator() - Static method in class com.google.common.primitives.Shorts
Returns a comparator that compares two short arrays lexicographically.
lexicographicalComparator() - Static method in class com.google.common.primitives.SignedBytes
Returns a comparator that compares two byte arrays lexicographically.
lexicographicalComparator() - Static method in class com.google.common.primitives.UnsignedBytes
Returns a comparator that compares two byte arrays lexicographically.
Longs - Class in com.google.common.primitives
Static utility methods pertaining to long primitives, that are not already found in either Long or Arrays.

M

max(char...) - Static method in class com.google.common.primitives.Chars
Returns the greatest value present in array.
max(double...) - Static method in class com.google.common.primitives.Doubles
Returns the greatest value present in array, using the same rules of comparison as Math.max(double, double).
max(float...) - Static method in class com.google.common.primitives.Floats
Returns the greatest value present in array, using the same rules of comparison as Math.min(float, float).
max(int...) - Static method in class com.google.common.primitives.Ints
Returns the greatest value present in array.
max(long...) - Static method in class com.google.common.primitives.Longs
Returns the greatest value present in array.
max(short...) - Static method in class com.google.common.primitives.Shorts
Returns the greatest value present in array.
max(byte...) - Static method in class com.google.common.primitives.SignedBytes
Returns the greatest value present in array.
max(byte...) - Static method in class com.google.common.primitives.UnsignedBytes
Returns the greatest value present in array.
min(char...) - Static method in class com.google.common.primitives.Chars
Returns the least value present in array.
min(double...) - Static method in class com.google.common.primitives.Doubles
Returns the least value present in array, using the same rules of comparison as Math.min(double, double).
min(float...) - Static method in class com.google.common.primitives.Floats
Returns the least value present in array, using the same rules of comparison as Math.min(float, float).
min(int...) - Static method in class com.google.common.primitives.Ints
Returns the least value present in array.
min(long...) - Static method in class com.google.common.primitives.Longs
Returns the least value present in array.
min(short...) - Static method in class com.google.common.primitives.Shorts
Returns the least value present in array.
min(byte...) - Static method in class com.google.common.primitives.SignedBytes
Returns the least value present in array.
min(byte...) - Static method in class com.google.common.primitives.UnsignedBytes
Returns the least value present in array.

P

Primitives - Class in com.google.common.primitives
Contains static utility methods pertaining to primitive types and their corresponding wrapper types.

S

saturatedCast(long) - Static method in class com.google.common.primitives.Chars
Returns the char nearest in value to value.
saturatedCast(long) - Static method in class com.google.common.primitives.Ints
Returns the int nearest in value to value.
saturatedCast(long) - Static method in class com.google.common.primitives.Shorts
Returns the short nearest in value to value.
saturatedCast(long) - Static method in class com.google.common.primitives.SignedBytes
Returns the byte nearest in value to value.
saturatedCast(long) - Static method in class com.google.common.primitives.UnsignedBytes
Returns the byte value that, when treated as unsigned, is nearest in value to value.
Shorts - Class in com.google.common.primitives
Static utility methods pertaining to short primitives, that are not already found in either Short or Arrays.
SignedBytes - Class in com.google.common.primitives
Static utility methods pertaining to byte primitives that interpret values as signed.

T

toArray(Collection<Boolean>) - Static method in class com.google.common.primitives.Booleans
Copies a collection of Boolean instances into a new array of primitive boolean values.
toArray(Collection<Byte>) - Static method in class com.google.common.primitives.Bytes
Copies a collection of Byte instances into a new array of primitive byte values.
toArray(Collection<Character>) - Static method in class com.google.common.primitives.Chars
Copies a collection of Character instances into a new array of primitive char values.
toArray(Collection<Double>) - Static method in class com.google.common.primitives.Doubles
Copies a collection of Double instances into a new array of primitive double values.
toArray(Collection<Float>) - Static method in class com.google.common.primitives.Floats
Copies a collection of Float instances into a new array of primitive float values.
toArray(Collection<Integer>) - Static method in class com.google.common.primitives.Ints
Copies a collection of Integer instances into a new array of primitive int values.
toArray(Collection<Long>) - Static method in class com.google.common.primitives.Longs
Copies a collection of Long instances into a new array of primitive long values.
toArray(Collection<Short>) - Static method in class com.google.common.primitives.Shorts
Copies a collection of Short instances into a new array of primitive short values.
toByteArray(char) - Static method in class com.google.common.primitives.Chars
Returns a big-endian representation of value in a 2-element byte array; equivalent to ByteBuffer.allocate(2).putChar(value).array().
toByteArray(int) - Static method in class com.google.common.primitives.Ints
Returns a big-endian representation of value in a 4-element byte array; equivalent to ByteBuffer.allocate(4).putInt(value).array().
toByteArray(long) - Static method in class com.google.common.primitives.Longs
Returns a big-endian representation of value in an 8-element byte array; equivalent to ByteBuffer.allocate(8).putLong(value).array().
toByteArray(short) - Static method in class com.google.common.primitives.Shorts
Returns a big-endian representation of value in a ?-element byte array; equivalent to ByteBuffer.allocate(?).putShort(value).array().

U

UnsignedBytes - Class in com.google.common.primitives
Static utility methods pertaining to byte primitives that interpret values as unsigned (that is, any negative value b is treated as the positive value 256 + b).
unwrap(Class<T>) - Static method in class com.google.common.primitives.Primitives
Returns the corresponding primitive type of type if it is a wrapper type; otherwise returns type itself.

W

wrap(Class<T>) - Static method in class com.google.common.primitives.Primitives
Returns the corresponding wrapper type of type if it is a primitive type; otherwise returns type itself.

A B C D E F H I J L M P S T U W

Copyright © 2010 Google. All Rights Reserved.