T
- public class IntrusiveStack<T extends IntrusiveStack<T>>
extends java.lang.Object
implements java.lang.Iterable<T>
Modifier and Type | Class and Description |
---|---|
protected static interface |
IntrusiveStack.Setter<O,T> |
Constructor and Description |
---|
IntrusiveStack() |
Modifier and Type | Method and Description |
---|---|
protected static <T extends IntrusiveStack<T>> |
accumulate(T list,
LongAccumulator<T> accumulator,
long initialValue) |
void |
forEach(java.util.function.Consumer<? super T> forEach) |
protected static <T extends IntrusiveStack<T>> |
forEach(T list,
java.util.function.Consumer<? super T> forEach) |
protected static <T extends IntrusiveStack<T>,O> |
iterable(java.util.concurrent.atomic.AtomicReferenceFieldUpdater<O,T> headUpdater,
O owner) |
protected static <T extends IntrusiveStack<T>> |
iterable(T list) |
java.util.Iterator<T> |
iterator() |
protected static <T extends IntrusiveStack<T>> |
iterator(T list) |
protected static <O,T extends IntrusiveStack<T>> |
push(java.util.concurrent.atomic.AtomicReferenceFieldUpdater<? super O,T> headUpdater,
O owner,
T prepend) |
protected static <O,T extends IntrusiveStack<T>> |
push(java.util.concurrent.atomic.AtomicReferenceFieldUpdater<O,T> headUpdater,
O owner,
T prepend,
java.util.function.BiFunction<T,T,T> combine) |
protected static <O,T extends IntrusiveStack<T>> |
push(java.util.function.Function<O,T> getter,
IntrusiveStack.Setter<O,T> setter,
O owner,
T prepend) |
protected static <O,T extends IntrusiveStack<T>> |
push(java.util.function.Function<O,T> getter,
IntrusiveStack.Setter<O,T> setter,
O owner,
T prepend,
java.util.function.BiFunction<T,T,T> combine) |
protected static <T extends IntrusiveStack<T>,O> |
pushExclusive(java.util.concurrent.atomic.AtomicReferenceFieldUpdater<O,T> headUpdater,
O owner,
T prepend) |
protected static <O,T extends IntrusiveStack<T>> |
pushExclusive(java.util.concurrent.atomic.AtomicReferenceFieldUpdater<O,T> headUpdater,
O owner,
T prepend,
java.util.function.BiFunction<T,T,T> combine) |
protected static <T extends IntrusiveStack<T>> |
pushExclusive(T head,
T prepend) |
protected T |
reverse() |
protected static <T extends IntrusiveStack<T>> |
reverse(T list) |
protected static int |
size(IntrusiveStack<?> list) |
@Inline protected static <O,T extends IntrusiveStack<T>> T push(java.util.concurrent.atomic.AtomicReferenceFieldUpdater<? super O,T> headUpdater, O owner, T prepend)
protected static <O,T extends IntrusiveStack<T>> T push(java.util.concurrent.atomic.AtomicReferenceFieldUpdater<O,T> headUpdater, O owner, T prepend, java.util.function.BiFunction<T,T,T> combine)
@Inline protected static <O,T extends IntrusiveStack<T>> T push(java.util.function.Function<O,T> getter, IntrusiveStack.Setter<O,T> setter, O owner, T prepend)
protected static <O,T extends IntrusiveStack<T>> T push(java.util.function.Function<O,T> getter, IntrusiveStack.Setter<O,T> setter, O owner, T prepend, java.util.function.BiFunction<T,T,T> combine)
protected static <O,T extends IntrusiveStack<T>> void pushExclusive(java.util.concurrent.atomic.AtomicReferenceFieldUpdater<O,T> headUpdater, O owner, T prepend, java.util.function.BiFunction<T,T,T> combine)
protected static <T extends IntrusiveStack<T>,O> void pushExclusive(java.util.concurrent.atomic.AtomicReferenceFieldUpdater<O,T> headUpdater, O owner, T prepend)
protected static <T extends IntrusiveStack<T>> T pushExclusive(T head, T prepend)
protected static <T extends IntrusiveStack<T>,O> java.lang.Iterable<T> iterable(java.util.concurrent.atomic.AtomicReferenceFieldUpdater<O,T> headUpdater, O owner)
protected static <T extends IntrusiveStack<T>> java.lang.Iterable<T> iterable(T list)
protected static <T extends IntrusiveStack<T>> java.util.Iterator<T> iterator(T list)
protected static int size(IntrusiveStack<?> list)
protected static <T extends IntrusiveStack<T>> long accumulate(T list, LongAccumulator<T> accumulator, long initialValue)
protected T reverse()
protected static <T extends IntrusiveStack<T>> T reverse(T list)
public void forEach(java.util.function.Consumer<? super T> forEach)
forEach
in interface java.lang.Iterable<T extends IntrusiveStack<T>>
protected static <T extends IntrusiveStack<T>> void forEach(T list, java.util.function.Consumer<? super T> forEach)
public java.util.Iterator<T> iterator()
iterator
in interface java.lang.Iterable<T extends IntrusiveStack<T>>
Copyright © 2009- The Apache Software Foundation