com.github.andrewoma.dexx.collection.internal.base
Class AbstractSet<E>

java.lang.Object
  extended by com.github.andrewoma.dexx.collection.internal.base.AbstractTraversable<E>
      extended by com.github.andrewoma.dexx.collection.internal.base.AbstractIterable<E>
          extended by 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>


Constructor Summary
AbstractSet()
           
 
Method Summary
 Set<E> asSet()
          Returns an immutable view of this set as an instance of java.util.Set.
 boolean equals(Object o)
           
 int hashCode()
           
 
Methods inherited from class com.github.andrewoma.dexx.collection.internal.base.AbstractIterable
forEach
 
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 class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.github.andrewoma.dexx.collection.Set
add, contains, remove
 
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
 

Constructor Detail

AbstractSet

public AbstractSet()
Method Detail

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.