Registry / utility / javatuples

javatuples

JSON →
library1.2javamavenunverified

javatuples is a Java library providing type-safe tuple data structures for representing ordered collections of elements.

<dependency> <groupId>org.javatuples</groupId> <artifactId>javatuples</artifactId> <version>1.2</version> </dependency>
INSTALL
IMPORT
SIG · JAVATUPLES
J
javatuples
utilityjavav1.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Pair
org.javatuples.Pair

Creates a Pair tuple and prints its values.

import org.javatuples.Pair; public class Quickstart { public static void main(String[] args) { Pair<String, Integer> pair = Pair.with("age", 30); System.out.println(pair.getValue0() + ": " + pair.getValue1()); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
javatuples — mvn dependency:get javatuples · libregistry