public class ListSet<E> extends Object implements Set<E>
| Constructor and Description |
|---|
ListSet() |
ListSet(Collection<? extends E> arg) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E arg0) |
boolean |
addAll(Collection<? extends E> arg0) |
void |
clear() |
boolean |
contains(Object arg0) |
boolean |
containsAll(Collection<?> arg0) |
boolean |
equals(Object arg) |
boolean |
isEmpty() |
Iterator<E> |
iterator() |
boolean |
remove(Object arg0) |
boolean |
removeAll(Collection<?> arg0) |
boolean |
retainAll(Collection<?> arg0) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] arg0) |
String |
toString() |
public ListSet()
public ListSet(Collection<? extends E> arg)
public boolean add(E arg0)
public boolean addAll(Collection<? extends E> arg0)
public void clear()
public boolean contains(Object arg0)
public boolean containsAll(Collection<?> arg0)
containsAll in interface Collection<E>containsAll in interface Set<E>public boolean isEmpty()
public boolean remove(Object arg0)
public boolean removeAll(Collection<?> arg0)
public boolean retainAll(Collection<?> arg0)
public int size()
public Object[] toArray()
public <T> T[] toArray(T[] arg0)
public boolean equals(Object arg)
Copyright © 2016 The Apache Software Foundation. All rights reserved.