Package dev.mccue.guava.primitives


@ParametersAreNonnullByDefault @CheckReturnValue package dev.mccue.guava.primitives
Static utilities for the eight primitive types and void, and value types for treating them as unsigned or storing them in immutable arrays.

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

See the Guava User Guide article on primitive utilities.

Contents

Value types

  • ImmutableDoubleArray
  • ImmutableIntArray
  • ImmutableLongrray
  • UnsignedInteger
  • UnsignedLong

Per-type static utilities

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

General static utilities

  • Primitives
  • Classes
    Class
    Description
    Static utility methods pertaining to boolean primitives, that are not already found in either Boolean or Arrays.
    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.
    Static utility methods pertaining to char primitives, that are not already found in either Character or Arrays.
    Static utility methods pertaining to double primitives, that are not already found in either Double or Arrays.
    Static utility methods pertaining to float primitives, that are not already found in either Float or Arrays.
    An immutable array of double values, with an API resembling List.
    A builder for ImmutableDoubleArray instances; obtained using ImmutableDoubleArray#builder.
    An immutable array of int values, with an API resembling List.
    A builder for ImmutableIntArray instances; obtained using ImmutableIntArray#builder.
    An immutable array of long values, with an API resembling List.
    A builder for ImmutableLongArray instances; obtained using ImmutableLongArray#builder.
    Static utility methods pertaining to int primitives, that are not already found in either Integer or Arrays.
    Static utility methods pertaining to long primitives, that are not already found in either Long or Arrays.
    Contains static utility methods pertaining to primitive types and their corresponding wrapper types.
    Static utility methods pertaining to short primitives, that are not already found in either Short or Arrays.
    Static utility methods pertaining to byte primitives that interpret values as signed.
    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).
    A wrapper class for unsigned int values, supporting arithmetic operations.
    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).
    A wrapper class for unsigned long values, supporting arithmetic operations.
    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).