About 11,600 results
Open links in new tab
  1. Introduction to Javatuples - Baeldung

    Sep 19, 2025 · Learn how to use javatuples library that provides elegant semantics for working with tuples.

  2. JavaTuples | Introduction - GeeksforGeeks

    Jul 11, 2025 · Hence the values in a tuple might or might not be related to each other. JavaTuple JavaTuples is a Java library that offers classes, functions and data structures to work with tuples. It is …

  3. Java Tuple (with Examples) - HowToDoInJava

    Jun 11, 2024 · A tuple is an immutable wrapper object that holds different pieces of information. Learn to create tuples using a custom Java class and Javatuple library.

  4. Using Pairs or 2-tuples in Java - Stack Overflow

    Apr 20, 2010 · My Hashtable in Java would benefit from a value having a tuple structure. What data structure can I use in Java to do that?

  5. How to Return Multiple Values From a Java Method - Baeldung

    Sep 19, 2025 · In this article, we learned how to use arrays, collections, containers, and tuples to return multiple values from a method. We can use arrays and collections in simple cases since they wrap a …

  6. Tuple (Java (TM) EE 7 Specification APIs) - Oracle

    The first position is 0. Parameters: i - position in result tuple type - type of the tuple element Returns: value of the tuple element Throws: IllegalArgumentException - if i exceeds length of result tuple or …

  7. Mastering Tuples in Java: A Comprehensive Guide - javaspring.net

    Jan 16, 2026 · In the Java programming language, tuples are not a built-in data structure like arrays or lists. However, they are a useful concept borrowed from other programming languages such as …

  8. A Java collection of value pairs? (tuples?) - Stack Overflow

    I like how Java has a Map where you can define the types of each entry in the map, for example <String, Integer>. What I'm looking for is a type of collection where each element in the collection is a pair of …

  9. GitHub - arxila/javatuples: A complete implementation of tuple data ...

    JavaTuples is a simple Java library that provides a set of tuple classes. It includes: A general tuple interface: io.arxila.javatuples.Tuple A set of named tuple classes: Empty, Solo, Pair, Trio, Quartet, …

  10. Java Tuples: Creating an Ordered, Type-Safe Collection of Value Pairs ...

    Jan 16, 2026 · In Java, developers often need to group multiple values together—for example, returning two related values from a method, storing pairs of data in a collection, or temporarily bundling …