org.apache.myfaces.trinidad.util
Class CollectionUtils.CompositeSet<E>
java.lang.Object
org.apache.myfaces.trinidad.util.CollectionUtils.CompositeCollection<E>
org.apache.myfaces.trinidad.util.CollectionUtils.CompositeSet<E>
- Type Parameters:
E
-
- All Implemented Interfaces:
- Iterable<E>, Collection<E>, Set<E>
- Direct Known Subclasses:
- CollectionUtils.LenientCompositeSet
- Enclosing class:
- CollectionUtils
protected abstract static class CollectionUtils.CompositeSet<E>
- extends CollectionUtils.CompositeCollection<E>
- implements Set<E>
Note: Requires contents to be disjoint!
Methods inherited from class org.apache.myfaces.trinidad.util.CollectionUtils.CompositeCollection |
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString |
Methods inherited from interface java.util.Set |
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
CollectionUtils.CompositeSet
protected CollectionUtils.CompositeSet()
getPrimaryDelegate
protected abstract Set<E> getPrimaryDelegate()
- Specified by:
getPrimaryDelegate
in class CollectionUtils.CompositeCollection<E>
getSecondaryDelegate
protected abstract Set<E> getSecondaryDelegate()
- Specified by:
getSecondaryDelegate
in class CollectionUtils.CompositeCollection<E>
equals
public boolean equals(Object o)
- Implement Set-defined equals behavior
- Specified by:
equals
in interface Collection<E>
- Specified by:
equals
in interface Set<E>
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Implement Set-defined equals behavior
- Specified by:
hashCode
in interface Collection<E>
- Specified by:
hashCode
in interface Set<E>
- Overrides:
hashCode
in class Object
Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.