Giter Club home page Giter Club logo

tuples's Introduction

TurnerTech Tuples

A basic java 9+ Module implementing Tuples in both a Typed, and Untyped manner. Zero dependencies, uses Java Modules (as in has a module-info.java).

This implementation treats a Tuple as a Java Collection, applying the rules and restrictions of Tuples as per my intensive research. The aim is to provide a balance between the common need for a basic typed pair/triple object (etc. for return types), and a Tuple class which follows the rules of immutability etc.

Packages

The packages are stored in Maven Central under the following coordinates. Search maven central for the latest version.

<dependency>
    <groupId>de.turnertech</groupId>
    <artifactId>tuples</artifactId>
    <version>...</version>
</dependency>

Where To Start

Use the Maven Site to get any information you need. It contains the Javadoc and a few usefull examples for kickstarting your use.

Building

The build process is "pure maven". You will need an OpenPGP key set up and ready to use for anything beyound package.

Module

  • mvn clean verify (local)

The clean prevents bugs, the verify triggers a build with all tests.

Site

  • mvn clean verify site (local)
  • mvn clean verify site-deploy (deploy to GitHub)

The clean prevents bugs, the verify triggers JaCoCo for the site report, and site-deploy builds, then deploys the site to the site branch of this repository.

See Also

  • javatuples, another very mature tuples implementation. Our implementation specifics differ slightly so just choose the implementation which suits you!

tuples's People

Contributors

liturner avatar

Stargazers

 avatar  avatar

Watchers

 avatar

tuples's Issues

Add contains Tuple

At current there are only Contains(Collection). Add an override for Contains(Tuple) so that another Tuple can be checked. This will require a decision about how to handle multiple entries for the same value.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.