Skip to content

lucamazzza/BData

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BData

GitHub release JDK Version License Discord Badge

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.

Features

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.

Requirements

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

Installation

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:

IntelliJ Idea

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'. image Click then on apply and you are good to go.

Eclipse

Right-click on the Project → Build Path → Configure Build Path. Under the libraries tab, click 'Add JARs' and select the JAR-File you downloaded. image Click then 'Apply and Close' and you are good to go.

Credits

BData is written and mantained by Luca Mazza

License

BData is released under the MIT License. See License for details.