public interface IndexedInts extends HotLoopCallee
Iterable (or IntIterable to avoid accidental
for-each iteration with boxing.| Modifier and Type | Method and Description |
|---|---|
default String |
debugToString() |
static IndexedInts |
empty() |
default void |
forEach(IntConsumer action) |
int |
get(int index) |
default void |
get(int[] out,
int[] indexes,
int length) |
default void |
get(int[] out,
int start,
int length) |
int |
size() |
inspectRuntimeShapestatic IndexedInts empty()
@CalledFromHotLoop int size()
@CalledFromHotLoop int get(int index)
default void get(int[] out,
int start,
int length)
default void get(int[] out,
int[] indexes,
int length)
default void forEach(IntConsumer action)
default String debugToString()
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.