/libcore/ojluni/src/main/java/java/util/function/ |
H A D | UnaryOperator.java | 49 static <T> UnaryOperator<T> identity() { method in interface:UnaryOperator
|
H A D | DoubleUnaryOperator.java | 92 static DoubleUnaryOperator identity() { method in interface:DoubleUnaryOperator
|
H A D | Function.java | 97 static <T> Function<T, T> identity() { method in interface:Function
|
H A D | IntUnaryOperator.java | 92 static IntUnaryOperator identity() { method in interface:IntUnaryOperator
|
H A D | LongUnaryOperator.java | 92 static LongUnaryOperator identity() { method in interface:LongUnaryOperator
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
H A D | IdentityStub.java | 81 public boolean identityEquals(Identity identity) { argument 82 return super.identityEquals(identity);
|
H A D | IdentityScopeStub.java | 94 public void addIdentity(Identity identity) throws KeyManagementException { argument 103 public void removeIdentity(Identity identity) throws KeyManagementException { argument 117 * Sets the system's identity scope
|
H A D | SystemScope.java | 45 // Identities hash: key is the identity name 102 public synchronized void addIdentity(Identity identity) throws KeyManagementException { argument 103 if (identity == null) { 104 throw new NullPointerException("identity == null"); 107 String name = identity.getName(); 112 PublicKey key = identity.getPublicKey(); 117 names.put(name, identity); 119 keys.put(key, identity); 126 public synchronized void removeIdentity(Identity identity) argument 130 if (identity [all...] |
/libcore/ojluni/src/main/java/java/security/ |
H A D | IdentityScope.java | 41 * expected, that different types of identity scopes will 110 * Constructs a new identity scope with the specified name. 119 * Constructs a new identity scope with the specified name and scope. 122 * @param scope the scope for the new identity scope. 124 * @exception KeyManagementException if there is already an identity 133 * Returns the system's identity scope. 135 * @return the system's identity scope, or {@code null} if none has been 149 * Sets the system's identity scope. 154 * as its argument to see if it's ok to set the identity scope. 160 * setting the identity scop 221 addIdentity(Identity identity) argument 232 removeIdentity(Identity identity) argument [all...] |
H A D | Identity.java | 67 * The name for this identity. 74 * The public key for this identity. 81 * Generic, descriptive information about the identity. 88 * The scope of the identity. 95 * The certificates for this identity. 109 * Constructs an identity with the specified name and scope. 111 * @param name the identity name. 112 * @param scope the scope of the identity. 114 * @exception KeyManagementException if there is already an identity 127 * Constructs an identity wit 339 equals(Object identity) argument 369 identityEquals(Identity identity) argument [all...] |
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/ |
H A D | DoubleAccumulator.java | 60 * Double.NEGATIVE_INFINITY} as the identity. The order of 83 private final long identity; // use long representation field in class:DoubleAccumulator 87 * and identity element. 89 * @param identity identity (initial value) for the accumulator function 92 double identity) { 94 base = this.identity = Double.doubleToRawLongBits(identity); 142 * Resets variables maintaining updates to the identity value. 151 base = identity; 91 DoubleAccumulator(DoubleBinaryOperator accumulatorFunction, double identity) argument 252 private final long identity; field in class:DoubleAccumulator.SerializationProxy 254 SerializationProxy(double value, DoubleBinaryOperator function, long identity) argument [all...] |
H A D | LongAccumulator.java | 66 * Long.MIN_VALUE} as the identity. 85 private final long identity; field in class:LongAccumulator 89 * and identity element. 91 * @param identity identity (initial value) for the accumulator function 94 long identity) { 96 base = this.identity = identity; 139 * Resets variables maintaining updates to the identity value. 148 base = identity; 93 LongAccumulator(LongBinaryOperator accumulatorFunction, long identity) argument 247 private final long identity; field in class:LongAccumulator.SerializationProxy 249 SerializationProxy(long value, LongBinaryOperator function, long identity) argument [all...] |
H A D | Striped64.java | 132 final void reset(long identity) { argument 133 U.putLongVolatile(this, VALUE, identity);
|
/libcore/ojluni/src/main/java/java/util/stream/ |
H A D | ReduceOps.java | 61 * @param seed the identity element for the reduction 240 * @param identity the identity for the combining function 245 makeInt(int identity, IntBinaryOperator operator) { argument 253 state = identity; 376 * @param identity the identity for the combining function 381 makeLong(long identity, LongBinaryOperator operator) { argument 389 state = identity; 512 * @param identity th 517 makeDouble(double identity, DoubleBinaryOperator operator) argument [all...] |
H A D | DoubleStream.java | 324 * elements of this stream, using the provided identity value and an 329 * double result = identity; 337 * <p>The {@code identity} value must be an identity for the accumulator 339 * {@code accumulator.apply(identity, x)} is equal to {@code x}. 364 * @param identity the identity value for the accumulating function 375 double reduce(double identity, DoubleBinaryOperator op); argument
|
H A D | Stream.java | 557 * elements of this stream, using the provided identity value and an 562 * T result = identity; 570 * <p>The {@code identity} value must be an identity for the accumulator 572 * {@code accumulator.apply(identity, t)} is equal to {@code t}. 597 * @param identity the identity value for the accumulating function 604 T reduce(T identity, BinaryOperator<T> accumulator); argument 648 * elements of this stream, using the provided identity, accumulation and 651 * U result = identity; 693 reduce(U identity, BiFunction<U, ? super T, U> accumulator, BinaryOperator<U> combiner) argument [all...] |
H A D | Collectors.java | 639 * provided identity. 648 * @param identity the identity value for the reduction (also, the value 657 reducing(T identity, BinaryOperator<T> op) { argument 659 boxSupplier(identity), 667 private static <T> Supplier<T[]> boxSupplier(T identity) { argument 668 return () -> (T[]) new Object[] { identity }; 746 * @param identity the identity value for the reduction (also, the value 756 Collector<T, ?, U> reducing(U identity, argument [all...] |
H A D | DoublePipeline.java | 460 public final double reduce(double identity, DoubleBinaryOperator op) { argument 461 return evaluate(ReduceOps.makeDouble(identity, op));
|
H A D | IntPipeline.java | 456 public final int reduce(int identity, IntBinaryOperator op) { argument 457 return evaluate(ReduceOps.makeInt(identity, op));
|
H A D | IntStream.java | 319 * elements of this stream, using the provided identity value and an 324 * int result = identity; 332 * <p>The {@code identity} value must be an identity for the accumulator 334 * {@code accumulator.apply(identity, x)} is equal to {@code x}. 359 * @param identity the identity value for the accumulating function 370 int reduce(int identity, IntBinaryOperator op); argument
|
H A D | LongPipeline.java | 438 public final long reduce(long identity, LongBinaryOperator op) { argument 439 return evaluate(ReduceOps.makeLong(identity, op));
|
H A D | LongStream.java | 323 * elements of this stream, using the provided identity value and an 328 * long result = identity; 336 * <p>The {@code identity} value must be an identity for the accumulator 338 * {@code accumulator.apply(identity, x)} is equal to {@code x}. 363 * @param identity the identity value for the accumulating function 374 long reduce(long identity, LongBinaryOperator op); argument
|
H A D | ReferencePipeline.java | 475 public final P_OUT reduce(final P_OUT identity, final BinaryOperator<P_OUT> accumulator) { argument 476 return evaluate(ReduceOps.makeRef(identity, accumulator, accumulator)); 485 public final <R> R reduce(R identity, BiFunction<R, ? super P_OUT, R> accumulator, BinaryOperator<R> combiner) { argument 486 return evaluate(ReduceOps.makeRef(identity, accumulator, combiner));
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
H A D | TabulatorsTest.java | 209 private final U identity; field in class:TabulatorsTest.ReduceAssertion 213 ReduceAssertion(U identity, Function<T, U> mapper, BinaryOperator<U> reducer) { argument 214 this.identity = identity; 226 assertEquals(value, identity); 534 new ReduceAssertion<>(0, LambdaTestHelpers.identity(), Integer::sum))); 539 new ReduceAssertion<>(0, LambdaTestHelpers.identity(), Integer::sum))); 545 new ReduceAssertion<>(0, LambdaTestHelpers.identity(), Integer::sum))); 550 new ReduceAssertion<>(0, LambdaTestHelpers.identity(), Integer::sum))); 603 new ReduceAssertion<>(0, LambdaTestHelpers.identity(), Intege [all...] |
/libcore/ojluni/src/lambda/java/java/lang/invoke/ |
H A D | MethodHandles.java | 118 MethodHandle identity(Class<?> type) { return null; } method in class:MethodHandles
|