E - the type of elements contained in this 'list'public class NoDupeList<E>
extends java.lang.Object
implements java.lang.Iterable<E>
List like, but does not allow
duplicates. Is backed by an ArrayList and HashSet for speedy
contains lookups.| Constructor and Description |
|---|
NoDupeList() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E e) |
E |
get(int index) |
java.util.Iterator<E> |
iterator() |
void |
remove(E e) |
int |
size() |
Copyright © 2012-2021. All Rights Reserved.