Skip to content

Commit 5ca5f63

Browse files
author
Emil Forslund
authored
Update README.md
1 parent e0511fa commit 5ca5f63

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

README.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,24 @@ The library uses a Builder Pattern for the array classes. When the builder is fi
88
* Very large arrays (more than can be indexed with a 32-bit int) are backed by a number of direct buffers
99
* If all values fit a smaller primitive, they will be warped (`long` to `int`, `int` to `short` etc)
1010

11-
# Features
11+
## Features
1212
* 64-bit indexing
1313
* Thread-safe (after build() has been called)
14-
* Immutable using a Builder pattern
15-
* Variable backing structure depending on the data
14+
* Immutability using a Builder pattern
15+
* Booleans are stored as efficient bitmaps
16+
* Backing structure is decided depending on the data
1617
* Allocated buffers are cleared as soon as they are no longer used (no need to wait for GC)
1718

19+
## Supported Types
20+
The following interfaces are part of the API:
21+
* BooleanImmutableArray
22+
* ByteImmutableArray
23+
* DoubleImmutableArray
24+
* FloatImmutableArray
25+
* IntImmutableArray
26+
* LongImmutableArray
27+
* ShortImmutableArray
28+
1829
## Example
1930
```java
2031
LongImmutableArray array = LongImmutableArray.builder()

0 commit comments

Comments
 (0)