-
- All Implemented Interfaces:
public final class RandomizedCollection
-
-
Constructor Summary
Constructors Constructor Description RandomizedCollection()
-
Method Summary
-
-
Method Detail
-
getM2a
final <ERROR CLASS> getM2a()
-
getA2m
final <ERROR CLASS> getA2m()
-
insert
final Boolean insert(Integer x)
Inserts a value to the collection. Returns true if the collection did not already contain the specified element.
-
remove
final Boolean remove(Integer x)
Removes a value from the collection. Returns true if the collection contained the specified element.
-
-
-
-