edu.internet2.middleware.subject.provider
Class JdbcSubjectAttributeSet<E>

java.lang.Object
  extended by edu.internet2.middleware.subject.provider.JdbcSubjectAttributeSet<E>
Type Parameters:
E - is type of set
All Implemented Interfaces:
Serializable, Iterable<E>, Collection<E>, Set<E>

public class JdbcSubjectAttributeSet<E>
extends Object
implements Set<E>, Serializable

unmodifiable, holds exactly one value, lightweight set

See Also:
Serialized Form

Constructor Summary
JdbcSubjectAttributeSet(E theElement)
          construct
 
Method Summary
 boolean add(E o)
           
 boolean addAll(Collection<? extends E> c)
           
 void clear()
           
 boolean contains(Object o)
           
 boolean containsAll(Collection<?> c)
           
 boolean isEmpty()
           
 Iterator<E> iterator()
           
 boolean remove(Object o)
           
 boolean removeAll(Collection<?> c)
           
 boolean retainAll(Collection<?> c)
           
 int size()
           
 Object[] toArray()
           
<T> T[]
toArray(T[] a)
           
 
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
 

Constructor Detail

JdbcSubjectAttributeSet

public JdbcSubjectAttributeSet(E theElement)
construct

Parameters:
theElement -
Method Detail

clear

public void clear()
Specified by:
clear in interface Collection<E>
Specified by:
clear in interface Set<E>
See Also:
Map.clear()

add

public boolean add(E o)
Specified by:
add in interface Collection<E>
Specified by:
add in interface Set<E>
See Also:
Set.add(java.lang.Object)

addAll

public boolean addAll(Collection<? extends E> c)
Specified by:
addAll in interface Collection<E>
Specified by:
addAll in interface Set<E>
See Also:
Set.addAll(java.util.Collection)

contains

public boolean contains(Object o)
Specified by:
contains in interface Collection<E>
Specified by:
contains in interface Set<E>
See Also:
Set.contains(java.lang.Object)

containsAll

public boolean containsAll(Collection<?> c)
Specified by:
containsAll in interface Collection<E>
Specified by:
containsAll in interface Set<E>
See Also:
Set.containsAll(java.util.Collection)

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Collection<E>
Specified by:
isEmpty in interface Set<E>
See Also:
Set.isEmpty()

iterator

public Iterator<E> iterator()
Specified by:
iterator in interface Iterable<E>
Specified by:
iterator in interface Collection<E>
Specified by:
iterator in interface Set<E>
See Also:
Set.iterator()

remove

public boolean remove(Object o)
Specified by:
remove in interface Collection<E>
Specified by:
remove in interface Set<E>
See Also:
Set.remove(java.lang.Object)

removeAll

public boolean removeAll(Collection<?> c)
Specified by:
removeAll in interface Collection<E>
Specified by:
removeAll in interface Set<E>
See Also:
Set.removeAll(java.util.Collection)

retainAll

public boolean retainAll(Collection<?> c)
Specified by:
retainAll in interface Collection<E>
Specified by:
retainAll in interface Set<E>
See Also:
Set.retainAll(java.util.Collection)

size

public int size()
Specified by:
size in interface Collection<E>
Specified by:
size in interface Set<E>
See Also:
Set.size()

toArray

public Object[] toArray()
Specified by:
toArray in interface Collection<E>
Specified by:
toArray in interface Set<E>
See Also:
Set.toArray()

toArray

public <T> T[] toArray(T[] a)
Specified by:
toArray in interface Collection<E>
Specified by:
toArray in interface Set<E>
See Also:
java.util.Set#toArray(T[])