Uses of Record Class
cloud.opencode.base.core.tuple.Pair
Packages that use Pair
-
Uses of Pair in cloud.opencode.base.core.tuple
Methods in cloud.opencode.base.core.tuple that return PairModifier and TypeMethodDescriptionstatic <L,R> Pair <L, R> Pair.empty()Creates an empty Pair 创建空二元组static <L,R> Pair <L, R> TupleUtil.emptyPair()Creates an empty Pair 创建空二元组static <K,V> Pair <K, V> Creates a Pair from Map.Entry 从 Map.Entry 创建二元组<T,U> Pair <T, U> Maps both left and right values 同时映射左右值Maps the left value 映射左值Maps the right value 映射右值static <L,R> Pair <L, R> Pair.of(L left, R right) Creates a Pair 创建二元组static <K,V> Pair <K, V> Creates a Pair from Map.Entry 从 Map.Entry 创建二元组static <L,R> Pair <L, R> TupleUtil.pair(L left, R right) Creates a Pair 创建二元组Pair.swap()Swaps left and right values 交换左右值Quadruple.toFirstPair()Extracts the first two elements as a Pair 提取前两个元素为 PairTriple.toFirstPair()Extracts the first two elements as a Pair 提取前两个元素为 PairQuadruple.toLastPair()Extracts the last two elements as a Pair 提取后两个元素为 PairTriple.toLastPair()Extracts the last two elements as a Pair 提取后两个元素为 Pair