java.lang.Object | |
↳ | com.mongodb.util.WeakBag<T> |
if its not obvious what a weak bag should do, then, well... very very not thead safe
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Initializes a new weak bag.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds an element to the bag.
| |||||||||||
Removes any null objects from the bag.
| |||||||||||
Removes all object from the bag.
| |||||||||||
Returns the size of the bag.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Iterable
|
Initializes a new weak bag.
Adds an element to the bag.
t | Element to add |
---|
Removes any null objects from the bag.
Removes all object from the bag.
Returns the size of the bag.