public class PrincipalsSet extends Object implements Set<Principal>
| Constructor and Description |
|---|
PrincipalsSet() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Principal o) |
boolean |
addAll(Collection<? extends Principal> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
boolean |
isEmpty() |
Iterator<Principal> |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
public int size()
public void clear()
public boolean isEmpty()
public <T> T[] toArray(T[] a)
public Object[] toArray()
public boolean add(Principal o)
public boolean contains(Object o)
public boolean remove(Object o)
public boolean containsAll(Collection<?> c)
containsAll in interface Collection<Principal>containsAll in interface Set<Principal>public boolean removeAll(Collection<?> c)
public boolean retainAll(Collection<?> c)
public boolean addAll(Collection<? extends Principal> c)
Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.