@ThreadSafe public class ConcurrentCircularArray<E> extends Object implements Iterable<E>
A simple data structure that will overwrite the oldest value when a new one is added, keeping it at a fixed length
Constructor and Description |
---|
ConcurrentCircularArray(int size) |
Modifier and Type | Method and Description |
---|---|
void |
add(E item) |
Iterator<E> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
Copyright © 2016. All rights reserved.