Skip to content

Multidimensional Dynamic Array Api for Java: A Java API for creating dynamic multidimensional arrays at runtime

Notifications You must be signed in to change notification settings

timaschew/MDAAJ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

The standard way to create an array looks like this:

int[] a = new int[10];
double[][] b = new double[10][20];
String[][][][][] c = new String[10][20][5][8][15];
c[0][0][2][1][0] = "xyz";
String s = c[0][0][0][0][0];

Creating the same array with MDDAJ:

MDDA<Integer> a = new MDDA<Integer>(10);
MDDA<Double> b = new MDDA<Double>(10,20);
MDDA<String> c = new MDDA<String>(10,20,5,8,15);
c.set("xyz", 0,0,2,1,0);
String s = c.get(0,0,0,0,0);

read more in the Wiki

JavaDoc 0.0.5

About

Multidimensional Dynamic Array Api for Java: A Java API for creating dynamic multidimensional arrays at runtime

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages