Skip navigation links

Package com.github.pyknic.immutablearray

The main interfaces of the immutable-array library are located in this package.

See: Description

Package com.github.pyknic.immutablearray Description

The main interfaces of the immutable-array library are located in this package.

Supported Types

The following array types are supported.

Usage

LongImmutableArray array = LongImmutableArray.builder() .append(5) .append(100_232) .append(-32) .build();

If all values follow the same pattern, they can be compressed upon build. LongImmutableArray array = LongImmutableArray.builder() .append(1) .append(2) .append(3) .build(); // Will be backed internally by a byte[] of length 3

This package is part of the API. Modifications to classes here should only (if ever) be done in major releases.

Skip navigation links

Copyright © 2016. All rights reserved.