public interface Index<T>
| Modifier and Type | Method and Description |
|---|---|
void |
add(T toAdd)
Adds the given item to this index
|
void |
clear()
Removes all data at once.
|
boolean |
isEmpty() |
boolean |
remove(T toRemove)
Removes the given item from this index
|
void add(T toAdd)
toAdd - the item to addboolean remove(T toRemove)
toRemove - the item to removevoid clear()
boolean isEmpty()
Copyright © 2016. All Rights Reserved.