edu.internet2.middleware.subject.provider
Class JdbcSubjectAttributeSet<E>
java.lang.Object
edu.internet2.middleware.subject.provider.JdbcSubjectAttributeSet<E>
- Type Parameters:
E
- is type of set
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Iterable<E>, java.util.Collection<E>, java.util.Set<E>
public class JdbcSubjectAttributeSet<E>
- extends java.lang.Object
- implements java.util.Set<E>, java.io.Serializable
unmodifiable, holds exactly one value, lightweight set
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Set |
equals, hashCode |
JdbcSubjectAttributeSet
public JdbcSubjectAttributeSet(E theElement)
- construct
- Parameters:
theElement
-
clear
public void clear()
- Specified by:
clear
in interface java.util.Collection<E>
- Specified by:
clear
in interface java.util.Set<E>
- See Also:
Map.clear()
add
public boolean add(E o)
- Specified by:
add
in interface java.util.Collection<E>
- Specified by:
add
in interface java.util.Set<E>
- See Also:
Set.add(java.lang.Object)
addAll
public boolean addAll(java.util.Collection<? extends E> c)
- Specified by:
addAll
in interface java.util.Collection<E>
- Specified by:
addAll
in interface java.util.Set<E>
- See Also:
Set.addAll(java.util.Collection)
contains
public boolean contains(java.lang.Object o)
- Specified by:
contains
in interface java.util.Collection<E>
- Specified by:
contains
in interface java.util.Set<E>
- See Also:
Set.contains(java.lang.Object)
containsAll
public boolean containsAll(java.util.Collection<?> c)
- Specified by:
containsAll
in interface java.util.Collection<E>
- Specified by:
containsAll
in interface java.util.Set<E>
- See Also:
Set.containsAll(java.util.Collection)
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface java.util.Collection<E>
- Specified by:
isEmpty
in interface java.util.Set<E>
- See Also:
Set.isEmpty()
iterator
public java.util.Iterator<E> iterator()
- Specified by:
iterator
in interface java.lang.Iterable<E>
- Specified by:
iterator
in interface java.util.Collection<E>
- Specified by:
iterator
in interface java.util.Set<E>
- See Also:
Set.iterator()
remove
public boolean remove(java.lang.Object o)
- Specified by:
remove
in interface java.util.Collection<E>
- Specified by:
remove
in interface java.util.Set<E>
- See Also:
Set.remove(java.lang.Object)
removeAll
public boolean removeAll(java.util.Collection<?> c)
- Specified by:
removeAll
in interface java.util.Collection<E>
- Specified by:
removeAll
in interface java.util.Set<E>
- See Also:
Set.removeAll(java.util.Collection)
retainAll
public boolean retainAll(java.util.Collection<?> c)
- Specified by:
retainAll
in interface java.util.Collection<E>
- Specified by:
retainAll
in interface java.util.Set<E>
- See Also:
Set.retainAll(java.util.Collection)
size
public int size()
- Specified by:
size
in interface java.util.Collection<E>
- Specified by:
size
in interface java.util.Set<E>
- See Also:
Set.size()
toArray
public java.lang.Object[] toArray()
- Specified by:
toArray
in interface java.util.Collection<E>
- Specified by:
toArray
in interface java.util.Set<E>
- See Also:
Set.toArray()
toArray
public <T> T[] toArray(T[] a)
- Specified by:
toArray
in interface java.util.Collection<E>
- Specified by:
toArray
in interface java.util.Set<E>
- See Also:
java.util.Set#toArray(T[])