HomeSort by relevance Sort by last modified time
    Searched defs:OfLong (Results 1 - 20 of 20) sorted by null

  /frameworks/base/core/java/com/android/internal/util/function/pooled/
PooledSupplier.java 49 interface OfLong extends LongSupplier, PooledLambda {
51 PooledSupplier.OfLong recycleOnUse();
  /libcore/ojluni/src/main/java/java/util/
PrimitiveIterator.java 34 * subtypes are provided for {@link OfInt int}, {@link OfLong long}, and
160 public static interface OfLong extends PrimitiveIterator<Long, LongConsumer> {
201 Tripwire.trip(getClass(), "{0} calling PrimitiveIterator.OfLong.nextLong()");
223 Tripwire.trip(getClass(), "{0} calling PrimitiveIterator.OfLong.forEachRemainingLong(action::accept)");
Spliterator.java 108 * {@link OfInt int}, {@link OfLong long}, and {@link OfDouble double} values.
595 * @see Spliterator.OfLong
    [all...]
Spliterators.java 35 * {@link Spliterator.OfInt}, {@link Spliterator.OfLong}, and
83 * Creates an empty {@code Spliterator.OfLong}
91 public static Spliterator.OfLong emptyLongSpliterator() {
95 private static final Spliterator.OfLong EMPTY_LONG_SPLITERATOR =
96 new EmptySpliterator.OfLong();
244 * Creates a {@code Spliterator.OfLong} covering the elements of a given array,
266 public static Spliterator.OfLong spliterator(long[] array,
272 * Creates a {@code Spliterator.OfLong} covering a range of elements of a
303 public static Spliterator.OfLong spliterator(long[] array, int fromIndex, int toIndex,
539 * Creates a {@code Spliterator.OfLong} using a give
    [all...]
  /libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
CollectorOps.java 101 public static class OfLong extends TestParallelSizedOp<Long> {
102 public OfLong() {
TestData.java 72 public interface OfLong extends TestData<Long, LongStream> { }
144 public static <T> OfLong ofArray(String name, long[] array) {
149 public static OfLong ofSpinedBuffer(String name, SpinedBuffer.OfLong buffer) {
153 SpinedBuffer.OfLong::spliterator,
157 public static OfLong ofLongSupplier(String name, Supplier<LongStream> supplier) {
165 public static OfLong ofNode(String name, Node.OfLong node) {
170 Node.OfLong::spliterator,
306 extends AbstractTestData<Long, LongStream, I, Spliterator.OfLong>
    [all...]
  /libcore/ojluni/src/main/java/java/util/stream/
Sink.java 207 interface OfLong extends Sink<Long>, LongConsumer {
214 Tripwire.trip(getClass(), "{0} calling Sink.OfLong.accept(Long)");
305 * {@code Sink} of unknown input shape and produces a {@code Sink.OfLong}.
309 static abstract class ChainedLong<E_OUT> implements Sink.OfLong {
FindOps.java 83 OptionalLong::isPresent, FindSink.OfLong::new);
213 static final class OfLong extends FindSink<Long, OptionalLong>
214 implements Sink.OfLong {
Node.java 210 interface OfLong extends Node.Builder<Long>, Sink.OfLong {
212 Node.OfLong build();
387 interface OfLong extends OfPrimitive<Long, LongConsumer, long[], Spliterator.OfLong, OfLong> {
404 Tripwire.trip(getClass(), "{0} calling Node.OfLong.forEachRemaining(Consumer)");
429 default Node.OfLong truncate(long from, long to, IntFunction<Long[]> generator) {
433 Spliterator.OfLong spliterator = spliterator();
434 Node.Builder.OfLong nodeBuilder = Nodes.longBuilder(size)
    [all...]
ForEachOps.java 103 return new ForEachOp.OfLong(action, ordered);
210 static final class OfLong extends ForEachOp<Long>
211 implements Sink.OfLong {
214 OfLong(LongConsumer consumer, boolean ordered) {
SortedOps.java 83 return new OfLong(upstream);
206 private static final class OfLong extends LongPipeline.StatefulOp<Long> {
207 OfLong(AbstractPipeline<?, Long, ?> upstream) {
232 Node.OfLong n = (Node.OfLong) helper.evaluate(spliterator, true, generator);
567 private SpinedBuffer.OfLong b;
577 b = (size > 0) ? new SpinedBuffer.OfLong((int) size) : new SpinedBuffer.OfLong();
Streams.java 185 static final class RangeLongSpliterator implements Spliterator.OfLong {
261 public Spliterator.OfLong trySplit() {
517 extends AbstractStreamBuilderImpl<Long, Spliterator.OfLong>
518 implements LongStream.Builder, Spliterator.OfLong {
525 SpinedBuffer.OfLong buffer;
552 buffer = new SpinedBuffer.OfLong();
823 static class OfLong
824 extends ConcatSpliterator.OfPrimitive<Long, LongConsumer, Spliterator.OfLong>
825 implements Spliterator.OfLong {
826 OfLong(Spliterator.OfLong aSpliterator, Spliterator.OfLong bSpliterator)
    [all...]
Nodes.java 69 private static final Node.OfLong EMPTY_LONG_NODE = new EmptyNode.OfLong();
120 return (Node<T>) new ConcNode.OfLong((Node.OfLong) left, (Node.OfLong) right);
222 * Produces a {@link Node.OfLong} describing a long[] array.
229 static Node.OfLong node(final long[] array) {
234 * Produces a {@link Node.Builder.OfLong}.
239 * @return a {@code Node.Builder.OfLong}
241 static Node.Builder.OfLong longBuilder(long exactSizeIfKnown)
    [all...]
SpinedBuffer.java 840 public static class OfLong extends SpinedBuffer.OfPrimitive<Long, long[], LongConsumer>
842 public OfLong() { }
844 public OfLong(int initialCapacity) {
    [all...]
StreamSpliterators.java 380 extends AbstractWrappingSpliterator<P_IN, Long, SpinedBuffer.OfLong>
381 implements Spliterator.OfLong {
402 SpinedBuffer.OfLong b = new SpinedBuffer.OfLong();
404 bufferSink = ph.wrapSink((Sink.OfLong) b::accept);
409 public Spliterator.OfLong trySplit() {
410 return (Spliterator.OfLong) super.trySplit();
428 ph.wrapAndCopyInto((Sink.OfLong) consumer::accept, spliterator);
586 static final class OfLong
587 extends OfPrimitive<Long, LongConsumer, Spliterator.OfLong>
    [all...]
  /libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
CollectorOps.java 102 public static class OfLong extends TestParallelSizedOp<Long> {
103 public OfLong() {
TestData.java 73 public interface OfLong extends TestData<Long, LongStream> { }
145 public static <T> OfLong ofArray(String name, long[] array) {
150 public static OfLong ofSpinedBuffer(String name, SpinedBuffer.OfLong buffer) {
154 SpinedBuffer.OfLong::spliterator,
158 public static OfLong ofLongSupplier(String name, Supplier<LongStream> supplier) {
166 public static OfLong ofNode(String name, Node.OfLong node) {
171 Node.OfLong::spliterator,
307 extends AbstractTestData<Long, LongStream, I, Spliterator.OfLong>
    [all...]
  /libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
StreamSpliteratorTest.java 159 private static class OfLong extends ProxyNoExactSizeSpliterator<Long> implements Spliterator.OfLong {
160 final Spliterator.OfLong psp;
162 private OfLong(Spliterator.OfLong sp, boolean proxyEstimateSize) {
168 public Spliterator.OfLong trySplit() {
170 Spliterator.OfLong prefix = psp.trySplit();
178 return Spliterator.OfLong.super.tryAdvance(consumer);
183 Spliterator.OfLong.super.forEachRemaining(consumer);
457 Spliterator.OfLong sp = intermediateOp.apply(LongStream.range(0, 1000)).spliterator()
    [all...]
  /prebuilts/sdk/24/
android.jar 
  /prebuilts/sdk/current/
core.jar 

Completed in 194 milliseconds