Uses of Record Class
cloud.opencode.base.collections.Pair
Packages that use Pair
-
Uses of Pair in cloud.opencode.base.collections
Methods in cloud.opencode.base.collections that return PairModifier and TypeMethodDescriptionTriple.dropFirst()Returns a Pair containing the second and third elements, dropping the first.Triple.dropSecond()Returns a Pair containing the first and third elements, dropping the second.Triple.dropThird()Returns a Pair containing the first and second elements, dropping the third.static <A,B> Pair <A, B> Creates a Pair from aMap.Entry.Transforms the first element using the given function.Transforms the second element using the given function.static <A,B> Pair <A, B> Pair.of(A first, B second) Creates a new Pair with the given values.Pair.swap()Returns a new Pair with the elements swapped.Methods in cloud.opencode.base.collections that return types with arguments of type PairModifier and TypeMethodDescriptionOpenGatherers.zipWithIndex()Creates a gatherer that pairs each element with its zero-based index.