File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
2031LongImmutableArray array = LongImmutableArray . builder()
You can’t perform that action at this time.
0 commit comments