Uses of Record Class
cloud.opencode.base.core.tuple.Triple

Packages that use Triple
Package
Description
Immutable tuple types (Pair, Triple, etc.).
  • Uses of Triple in cloud.opencode.base.core.tuple

    Methods in cloud.opencode.base.core.tuple that return Triple
    Modifier and Type
    Method
    Description
    static <A,B,C> Triple<A,B,C>
    Triple.empty()
    Creates an empty Triple 创建空三元组
    static <A,B,C> Triple<A,B,C>
    TupleUtil.emptyTriple()
    Creates an empty Triple 创建空三元组
    <T,U,V> Triple<T,U,V>
    Triple.map(Function<? super A, ? extends T> firstMapper, Function<? super B, ? extends U> secondMapper, Function<? super C, ? extends V> thirdMapper)
    Maps all elements simultaneously 同时映射所有元素
    <T> Triple<T,B,C>
    Triple.mapFirst(Function<? super A, ? extends T> mapper)
    Maps the first element 映射第一个元素
    <T> Triple<A,T,C>
    Triple.mapSecond(Function<? super B, ? extends T> mapper)
    Maps the second element 映射第二个元素
    <T> Triple<A,B,T>
    Triple.mapThird(Function<? super C, ? extends T> mapper)
    Maps the third element 映射第三个元素
    static <A,B,C> Triple<A,B,C>
    Triple.of(A first, B second, C third)
    Creates a Triple 创建三元组
    Quadruple.toFirstTriple()
    Extracts the first three elements as a Triple 提取前三个元素为 Triple
    Quadruple.toLastTriple()
    Extracts the last three elements as a Triple 提取后三个元素为 Triple
    static <A,B,C> Triple<A,B,C>
    TupleUtil.triple(A first, B second, C third)
    Creates a Triple 创建三元组