Package com.ardorcraft.util
Class DoubleBufferedSet<T>
java.lang.Object
com.ardorcraft.util.DoubleBufferedSet<T>
- Type Parameters:
T
- the type of element
Utility class used by the mailbox update system.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
The add method can be called at any point.The switchAndGet call and it's returned list has to be accessed sequencially.
-
Constructor Details
-
DoubleBufferedSet
public DoubleBufferedSet()
-
-
Method Details
-
add
The add method can be called at any point.- Parameters:
t
- the element to add
-
switchAndGet
The switchAndGet call and it's returned list has to be accessed sequencially.- Returns:
- The Set
-