| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private final Striped. | |
| private volatile Striped. | |
| private final Supplier | |
| private static final int | |
| private final AtomicInteger | |
| private static final ThreadLocal |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static final int | |
| protected final void | |
| private void | |
| protected final Stream | |
| public String |
| base | back to summary |
|---|---|
| private final Striped. | |
| cells | back to summary |
|---|---|
| private volatile Striped. | |
| constructor | back to summary |
|---|---|
| private final Supplier<T> constructor | |
| NCPU | back to summary |
|---|---|
| private static final int NCPU | |
| stripeGuard | back to summary |
|---|---|
| private final AtomicInteger stripeGuard | |
| threadHash | back to summary |
|---|---|
| private static final ThreadLocal<Integer> threadHash | |
| Striped | back to summary |
|---|---|
| public Striped(Supplier<T> constructor) | |
| advanceProbe | back to summary |
|---|---|
| pack-priv static final int advanceProbe(int probe) | |
| process | back to summary |
|---|---|
| protected final void process(Consumer<T> process) | |
| processWithContention | back to summary |
|---|---|
| private void processWithContention(int hash, Consumer<T> process, boolean contended) | |
| stream | back to summary |
|---|---|
| protected final Stream | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final T | |
| pack-priv volatile int | |
| pack-priv static final AtomicIntegerFieldUpdater |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv final boolean | |
| public String |
| entity | back to summary |
|---|---|
| pack-priv final T entity | |
| guard | back to summary |
|---|---|
| pack-priv volatile int guard | |
| GUARD_UPDATER | back to summary |
|---|---|
pack-priv static final AtomicIntegerFieldUpdater<Striped.
| |
| Cell | back to summary |
|---|---|
| pack-priv Cell(T value) | |
| process | back to summary |
|---|---|
| pack-priv final boolean process(Consumer<T> process) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| Modifier and Type | Field and Description |
|---|---|
| private final Striped. | |
| private int | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | characteristics()
Implements java. |
| public long | estimateSize()
Implements java. forEachRemaining traversal, or returns Long#MAX_VALUE if infinite, unknown, or too expensive to compute.
|
| public void | forEachRemaining(Consumer<? super Striped.
The action action)Overrides default java. |
| public boolean | tryAdvance(Consumer<? super Striped.
The action whose operation is performed at-most once action)Implements java. true; else returns false.
|
| public Spliterator | trySplit()
Implements java. |
| private static <T> void |
| array | back to summary |
|---|---|
| private final Striped. | |
| index | back to summary |
|---|---|
| private int index | |
| limit | back to summary |
|---|---|
| private final int limit | |
| CellSpliterator | back to summary |
|---|---|
| public CellSpliterator(Striped. | |
| CellSpliterator | back to summary |
|---|---|
| private CellSpliterator(Striped. | |
| characteristics | back to summary |
|---|---|
| public int characteristics() Implements java. Doc from java. Returns a set of characteristics of this Spliterator and its
elements. The result is represented as ORed values from If a Spliterator reports an inconsistent set of characteristics (either those returned from a single invocation or across multiple invocations), no guarantees can be made about any computation using this Spliterator.
| |
| estimateSize | back to summary |
|---|---|
| public long estimateSize() Implements java. Doc from java. Returns an estimate of the number of elements that would be
encountered by a If this Spliterator is
| |
| forEachRemaining | back to summary |
|---|---|
| public void forEachRemaining(Consumer<? super Striped. Overrides default java. Doc from java. Performs the given action for each remaining element, sequentially in
the current thread, until all elements have been processed or the action
throws an exception. If this Spliterator is Subsequent behavior of a spliterator is unspecified if the action throws an exception. | |
| tryAdvance | back to summary |
|---|---|
| public boolean tryAdvance(Consumer<? super Striped. Implements java. Doc from java. If a remaining element exists: performs the given action on it,
returning Subsequent behavior of a spliterator is unspecified if the action throws an exception. | |
| trySplit | back to summary |
|---|---|
| public Spliterator Implements java. Doc from java. If this spliterator can be partitioned, returns a Spliterator covering elements, that will, upon return from this method, not be covered by this Spliterator. If this Spliterator is Unless this Spliterator covers an infinite number of elements,
repeated calls to
This method may return
| |
| visitCell | back to summary |
|---|---|
| private static <T> void visitCell(Striped. | |