Registry / utility / jlargearrays

jlargearrays

JSON →
library1.6javamavenunverified

JLargeArrays provides one-dimensional arrays that can store up to 2^63 elements, overcoming Java's array size limit.

<dependency> <groupId>pl.edu.icm</groupId> <artifactId>JLargeArrays</artifactId> <version>1.6</version> </dependency>
INSTALL
IMPORT
SIG · JLARGEARRAYS
J
jlargearrays
utilityjavav1.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

LargeArray
pl.edu.icm.jlargearrays.LargeArray

Create a large double array and set/get a value.

import pl.edu.icm.jlargearrays.LargeArray; import pl.edu.icm.jlargearrays.DoubleLargeArray; public class JLargeArraysExample { public static void main(String[] args) { DoubleLargeArray arr = new DoubleLargeArray(10000000000L); arr.setDouble(0, 3.14); System.out.println(arr.getDouble(0)); } }
Debug
Known issues
gotchaJLargeArrays uses long indices; standard Java arrays use int indices, so mixing them may cause confusion.
fix
Always use long for indexing with LargeArray methods.
affects: *
Upgrade
Version history
1.6latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
jlargearrays — mvn dependency:get jlargearrays · libregistry