About 10,500 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. 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?

  4. 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.

  5. lambda - Does Java SE 8 have Pairs or Tuples? - Stack Overflow

    Jun 20, 2014 · I am playing around with lazy functional operations in Java SE 8, and I want to map an index i to a pair / tuple (i, value[i]), then filter based on the second value[i] element, and finally output ...

  6. 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, …

  7. 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 …

  8. 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 …

  9. 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 …

  10. 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 …