Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

@ParametersAreNonnullByDefault

## Package com.google.common.primitives

Static utilities for working with the eight primitive types and `void`, and value types for treating them as unsigned.

See:
Description

Class Summary
Booleans | Static utility methods pertaining to `boolean` primitives, that are not already found in either `Boolean` or `Arrays`.
Bytes | 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.
Chars | Static utility methods pertaining to `char` primitives, that are not already found in either `Character` or `Arrays`.
Doubles | Static utility methods pertaining to `double` primitives, that are not already found in either `Double` or `Arrays`.
Floats | Static utility methods pertaining to `float` primitives, that are not already found in either `Float` or `Arrays`.
Ints | Static utility methods pertaining to `int` primitives, that are not already found in either `Integer` or `Arrays`.
Longs | Static utility methods pertaining to `long` primitives, that are not already found in either `Long` or `Arrays`.
Primitives | Contains static utility methods pertaining to primitive types and their corresponding wrapper types.
Shorts | Static utility methods pertaining to `short` primitives, that are not already found in either `Short` or `Arrays`.
SignedBytes | Static utility methods pertaining to `byte` primitives that interpret values as signed.
UnsignedBytes | 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`).
UnsignedInteger | A wrapper class for unsigned `int` values, supporting arithmetic operations.
UnsignedInts | Static utility methods pertaining to `int` primitives that interpret values as unsigned (that is, any negative value `x` is treated as the positive value `2^32 + x`).
UnsignedLong | A wrapper class for unsigned `long` values, supporting arithmetic operations.
UnsignedLongs | Static utility methods pertaining to `long` primitives that interpret values as unsigned (that is, any negative value `x` is treated as the positive value `2^64 + x`).

## Package com.google.common.primitives Description

Static utilities for working with the eight primitive types and `void`, and value types for treating them as unsigned.

This package is a part of the open-source Guava libraries.

See the Guava User Guide article on primitive utilities.

## Contents

### General static utilities

- `Primitives`

### Per-type static utilities

- `Booleans`
- `Bytes`
  - `SignedBytes`
  - `UnsignedBytes`
- `Chars`
- `Doubles`
- `Floats`
- `Ints`
  - `UnsignedInts`
- `Longs`
  - `UnsignedLongs`
- `Shorts`

### Value types

- `UnsignedInteger`
- `UnsignedLong`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

Copyright © 2010-2012. All Rights Reserved.