类的使用
cn.taketoday.core.Pair
使用Pair的程序包
-
cn.taketoday.core中Pair的使用
声明为Pair的cn.taketoday.core中的字段返回Pair的cn.taketoday.core中的方法修饰符和类型方法说明static <A,B> Pair<A, B> Pair.empty()static <A,B> Pair<A, B> Pair.of(A first, B second) Pair.withSecond(B second) 返回变量类型为Pair的类型的cn.taketoday.core中的方法修饰符和类型方法说明static <A extends Comparable<? super A>,B>
Comparator<Pair<A,B>> Pair.comparingFirst()static <A,B extends Comparable<? super B>>
Comparator<Pair<A,B>> Pair.comparingSecond()参数类型为Pair的cn.taketoday.core中的方法