Package io.perfmark.java6
Class SynchronizedMarkHolder.Kyoo<T>
java.lang.Object
java.util.AbstractCollection<T>
io.perfmark.java6.SynchronizedMarkHolder.Kyoo<T>
- All Implemented Interfaces:
Iterable<T>,Collection<T>,Queue<T>
- Enclosing class:
SynchronizedMarkHolder
private final class SynchronizedMarkHolder.Kyoo<T>
extends AbstractCollection<T>
implements Queue<T>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
addAll, clear, contains, containsAll, equals, hashCode, isEmpty, parallelStream, remove, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArray, toArray
-
Field Details
-
elements
-
wIdx
private final long wIdx -
size
private final int size -
ri
private int ri
-
-
Constructor Details
-
Kyoo
Kyoo(T[] elements, long wIdx, int size)
-
-
Method Details
-
iterator
- Specified by:
iteratorin interfaceCollection<T>- Specified by:
iteratorin interfaceIterable<T>- Specified by:
iteratorin classAbstractCollection<T>
-
size
public int size()- Specified by:
sizein interfaceCollection<T>- Specified by:
sizein classAbstractCollection<T>
-
offer
-
remove
-
poll
-
element
-
peek
-
checkSize
private void checkSize()
-