org.rightcollections.impl
Class RightSetImpl<E>

java.lang.Object
  extended by org.rightcollections.impl.AbstractRightCollection<E>
      extended by org.rightcollections.impl.RightSetImpl<E>
All Implemented Interfaces:
java.lang.Iterable<E>, java.util.Collection<E>, java.util.Set<E>, Closurable<E>, Filterable<E>, MaxCalculator<E>, RightCollection<E>, RightSet<E>

public class RightSetImpl<E>
extends AbstractRightCollection<E>
implements RightSet<E>

Author:
Ruslan Pilin

Constructor Summary
RightSetImpl()
           
RightSetImpl(java.util.Set<E> set)
           
 
Method Summary
 java.util.Collection<E> getCollection()
          Method for implementing by subclasses have to return collection to delegate all collection methods to.
 
Methods inherited from class org.rightcollections.impl.AbstractRightCollection
add, addAll, clear, contains, containsAll, equals, execute, filter, hashCode, isEmpty, iterator, max, max, remove, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from interface org.rightcollections.Closurable
execute
 
Methods inherited from interface org.rightcollections.Filterable
filter
 
Methods inherited from interface org.rightcollections.MaxCalculator
max, max
 

Constructor Detail

RightSetImpl

public RightSetImpl(java.util.Set<E> set)

RightSetImpl

public RightSetImpl()
Method Detail

getCollection

public java.util.Collection<E> getCollection()
Description copied from class: AbstractRightCollection
Method for implementing by subclasses have to return collection to delegate all collection methods to.

Specified by:
getCollection in class AbstractRightCollection<E>
Returns:
internal collection.


Copyright © 2009 Ruslan Pilin. All Rights Reserved.