com.github.andrewoma.dexx.collection.internal.base
Class AbstractSet<E>
java.lang.Object
com.github.andrewoma.dexx.collection.internal.base.AbstractTraversable<E>
com.github.andrewoma.dexx.collection.internal.base.AbstractIterable<E>
com.github.andrewoma.dexx.collection.internal.base.AbstractSet<E>
- All Implemented Interfaces:
- Set<E>, Traversable<E>, Iterable<E>
- Direct Known Subclasses:
- AbstractSortedSet, HashSet
public abstract class AbstractSet<E>
- extends AbstractIterable<E>
- implements Set<E>
| Methods inherited from class com.github.andrewoma.dexx.collection.internal.base.AbstractTraversable |
isEmpty, makeString, makeString, size, to, toArray, toArray, toIndexedList, toSet, toSortedSet, toString |
| Methods inherited from interface com.github.andrewoma.dexx.collection.Iterable |
iterator |
| Methods inherited from interface com.github.andrewoma.dexx.collection.Traversable |
forEach, isEmpty, makeString, makeString, size, to, toArray, toArray, toIndexedList, toSet, toSortedSet |
AbstractSet
public AbstractSet()
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
asSet
@NotNull
public Set<E> asSet()
- Description copied from interface:
Set
- Returns an immutable view of this set as an instance of
java.util.Set.
- Specified by:
asSet in interface Set<E>
Copyright © 2014. All Rights Reserved.