org.rightcollections.impl
Class RightCollectionImpl<E>

java.lang.Object
  extended by org.rightcollections.impl.AbstractRightCollection<E>
      extended by org.rightcollections.impl.RightCollectionImpl<E>
Type Parameters:
E - type of element.
All Implemented Interfaces:
java.lang.Iterable<E>, java.util.Collection<E>, Closurable<E>, Filterable<E>, MaxCalculator<E>, RightCollection<E>

public class RightCollectionImpl<E>
extends AbstractRightCollection<E>

Implementation of Right Collection.

Author:
Ruslan Pilin

Constructor Summary
RightCollectionImpl(java.util.Collection<E> collection)
           
 
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
 

Constructor Detail

RightCollectionImpl

public RightCollectionImpl(java.util.Collection<E> collection)
Parameters:
collection - internal collection.
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.
See Also:
AbstractRightCollection.getCollection()


Copyright © 2009 Ruslan Pilin. All Rights Reserved.