public class TinyHashSet<T> extends Object implements Iterable<T>
| Constructor and Description |
|---|
TinyHashSet()
Creates an empty set.
|
TinyHashSet(T o)
Creates a set with one element.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(T o) |
boolean |
contains(T o) |
Set<T> |
copy() |
Iterator<T> |
iterator() |
boolean |
remove(T o) |
int |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic TinyHashSet()
public TinyHashSet(T o)
Copyright © 2024. All rights reserved.