This is a Java that focuses on tuple operation separated from icefrog project
Tuple is a data structure that can store multiple elements, and the data type of each element can be different.
Tuple is similar to list collection, but the difference is that list collection can only store one data type, while tuple can store multiple data types. When tuple is created, it can directly specify multiple element data types.
Tuple is a basic concept in relational database. Relationship is a table. Each row in the table (each record in the database) is a tuple and each column is an attribute. In a two-dimensional table, tuples are also called rows.
For example, if you need to return multiple values, we use java, usually define a Model class, or simply put it directly in MAP, These two ways are actually not very convenient, one requires frequent definitions, and the other for the type of return value we don’t know.
TUPLE in Java supports us to create ten return values, where the types in Tuple, we can store it casually. Here is actually used in java, to help us express the type inside.
Submit Problem Feedback Please indicate the JDK version, TUPLE version and related dependency library version.
Tuple welcomes anyone to contribute code for Tuple, and the PR (PULL Request) that needs to be submit is in line with some specification, the specification is as follows:
If you feel that this project is not bad, welcome to pay attention, thank you here ^ _ ^.
This project is supported by [Whaleal Community] (https://www.whaleal.com/)