org.omnaest.utils.structure.collection.set
Class SetAbstract<E>
java.lang.Object
org.omnaest.utils.structure.collection.CollectionAbstract<E>
org.omnaest.utils.structure.collection.set.SetAbstract<E>
- Type Parameters:
E -
- All Implemented Interfaces:
- Serializable, Iterable<E>, Collection<E>, Set<E>
- Direct Known Subclasses:
- ListToSetAdapter, MapBasedSet, SetComposite
public abstract class SetAbstract<E>
- extends CollectionAbstract<E>
- implements Set<E>
Abstract implementation of a Set. Reduces the Set interface to the very needed methods.
- Author:
- Omnaest
- See Also:
Set,
CollectionAbstract,
Serialized Form
| Methods inherited from interface java.util.Set |
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
SetAbstract
public SetAbstract()
hashCode
public int hashCode()
- Specified by:
hashCode in interface Collection<E>- Specified by:
hashCode in interface Set<E>- Overrides:
hashCode in class CollectionAbstract<E>
equals
public boolean equals(Object object)
- Specified by:
equals in interface Collection<E>- Specified by:
equals in interface Set<E>- Overrides:
equals in class CollectionAbstract<E>
Copyright © 2013. All Rights Reserved.