|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.HashSet<E>
jr239.co620.Couple<E>
public class Couple<E>
| Constructor Summary | |
|---|---|
Couple(E e1,
E e2)
|
|
| Method Summary | |
|---|---|
boolean |
add(E e)
|
boolean |
add(E e1,
E e2)
|
void |
remove(E e)
|
boolean |
remove(E e1,
E e2)
|
| Methods inherited from class java.util.HashSet |
|---|
clear, clone, contains, isEmpty, iterator, remove, size |
| Methods inherited from class java.util.AbstractSet |
|---|
equals, hashCode, removeAll |
| Methods inherited from class java.util.AbstractCollection |
|---|
addAll, containsAll, retainAll, toArray, toArray, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Set |
|---|
addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
| Constructor Detail |
|---|
public Couple(E e1,
E e2)
| Method Detail |
|---|
public boolean add(E e)
add in interface java.util.Collection<E>add in interface java.util.Set<E>add in class java.util.HashSet<E>public void remove(E e)
public boolean remove(E e1,
E e2)
public boolean add(E e1,
E e2)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||