org.jboss.metadata.javaee.support
Class NonNullLinkedHashSet<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.HashSet<E>
java.util.LinkedHashSet<E>
org.jboss.metadata.javaee.support.NonNullLinkedHashSet<E>
- Type Parameters:
E - the element type
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<E>, Collection<E>, Set<E>
- Direct Known Subclasses:
- BusinessLocalsMetaData, BusinessRemotesMetaData, NonNullLinkedHashSetWithId
public class NonNullLinkedHashSet<E>
- extends LinkedHashSet<E>
NonNullLinkedHashSet
Overrides LinkedHashSet to disallow null values
- Version:
- $Revision: 1.1 $
- Author:
- Adrian Brock
- See Also:
- Serialized Form
| Methods inherited from interface java.util.Set |
clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
NonNullLinkedHashSet
public NonNullLinkedHashSet()
- Create a new SimpleMappedMetaData.
add
public boolean add(E o)
- Specified by:
add in interface Collection<E>- Specified by:
add in interface Set<E>- Overrides:
add in class HashSet<E>
addAll
public boolean addAll(Collection<? extends E> c)
- Specified by:
addAll in interface Collection<E>- Specified by:
addAll in interface Set<E>- Overrides:
addAll in class AbstractCollection<E>
Copyright © 2008 JBoss, A division of Red Hat. All Rights Reserved.