-
-
Constructor Summary
Constructors
| Constructor and Description |
RingImpl() |
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
RingImpl
public RingImpl()
-
Method Detail
-
poll
public T poll()
- Specified by:
poll in interface Ring<T>
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface Ring<T>
-
size
public int size()
- Specified by:
size in interface Ring<T>
-
clear
public void clear()
- Specified by:
clear in interface Ring<T>
-
shrink
public void shrink()
- Specified by:
shrink in interface Ring<T>
Copyright © 2012. All Rights Reserved.