Snippets tagged “simpleimmutableentry”
2 snippets use this tag.
- A Java collection of value pairs? (tuples?)Java
In Java, you can use the AbstractMap.SimpleEntry class from the java.util package to represent a value pair (also known as a tuple).
- What is the equivalent of the C++ Pair<L> in Java?Java
In Java, the equivalent of the C++ Pair class is the AbstractMap.SimpleEntry class or the AbstractMap.SimpleImmutableEntry class.