BData is a library to manage data using better, dynamic, weakly-typed data types. It is written in Java, based on Java's standard Arrays, for high compatibility.
Currently the features of BData are the following:
Tuple
: a structured, heterogeneous data type, representing a Tuple (as seen in Python, Swift and many others), being an "array with multiple types inside".
Tuple tuple1 = new Tuple(); // An empty tuple
Tuple tuple2 = new Tuple("Hi", "i", 0, false, 0.0f, 554.23);
Table
: representing an aggregation of Tuples.
Table table1 = new Table(); // An empty table
Table table2 = new Table(tuple1, tuple2);
Data
: an interface representing Tuples and Tables.
Data table3 = new Table(tuple1, tuple2);
Data tuple4 = new Tuple(200, "OK");
List<Data> datas = new ArrayList<Data>();
datas.add(table3); // Works
datas.add(tuple4); // Works
If you have an enquiry, an idea, or you just want to help me out please submit via issue.
BData
is written using the JDK 17, and is supported on this version or later. In order to use this library you'll need a complete Java Environment, with JDK, JVM and optionally other development packages, on version 17 or older.
Download JDK
First of all download the .jar
file from the releases section; you can determine which release suits you the best looking at release notes.
Follow then the procedure of the following IDEs:
Go to your project structure settings (⌘è
on macOS) and select the modules item.
Select then dependencies
and add a new one by selecting the option 'JAR or Directories'.
Click then on apply and you are good to go.
Right-click on the Project → Build Path → Configure Build Path. Under the libraries tab, click 'Add JARs' and select the JAR-File you downloaded. Click then 'Apply and Close' and you are good to go.
BData is written and mantained by Luca Mazza
BData is released under the MIT License. See License for details.