Lines Matching defs:asCollector
778 // asSpreader and asCollector are approximate inverses:
781 MethodHandle equals2 = equals.asSpreader(a, n).asCollector(a, n);
789 MethodHandle caString3 = caToString.asCollector(char[].class, 3);
804 * @see #asCollector
885 MethodHandle ts1 = deepToString.asCollector(Object[].class, 1);
890 MethodHandle ts2 = deepToString.asCollector(String[].class, 2);
893 MethodHandle ts0 = deepToString.asCollector(Object[].class, 0);
896 MethodHandle ts22 = deepToString.asCollector(Object[].class, 3).asCollector(String[].class, 2);
901 .asCollector(byte[].class, 3);
905 .asCollector(long[].class, 1);
920 public MethodHandle asCollector(Class<?> arrayType, int arrayLength) {
963 * {@linkplain #asCollector fixed arity collector},
1000 * temporarily adapted with a {@linkplain #asCollector fixed arity collector}
1002 * (As with {@code asCollector}, if the array length is zero,
1004 * If the implied call to {@code asCollector} would throw
1029 * use {@link #asCollector asCollector} instead.
1088 * @see #asCollector