jetbrains.buildServer.dataStructures
Class DecoratingCollection<T,Q>

java.lang.Object
  extended by jetbrains.buildServer.dataStructures.DecoratingCollectionBase<T,Q>
      extended by jetbrains.buildServer.dataStructures.DecoratingCollection<T,Q>
All Implemented Interfaces:
java.lang.Iterable<T>, java.util.Collection<T>
Direct Known Subclasses:
DecoratingSet

public class DecoratingCollection<T,Q>
extends DecoratingCollectionBase<T,Q>

Author:
Eugene Petrenko (eugene.petrenko@gmail.com) Date: 13.09.11 20:30

Field Summary
 
Fields inherited from class jetbrains.buildServer.dataStructures.DecoratingCollectionBase
myCollection
 
Constructor Summary
DecoratingCollection(java.lang.Class<T> collectionClass, java.util.Collection<Q> collection, BiMapper<Q,T> mapper)
           
 
Method Summary
 boolean contains(java.lang.Object o)
           
 
Methods inherited from class jetbrains.buildServer.dataStructures.DecoratingCollectionBase
add, addAll, clear, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Collection
equals, hashCode
 

Constructor Detail

DecoratingCollection

public DecoratingCollection(@NotNull
                            java.lang.Class<T> collectionClass,
                            @NotNull
                            java.util.Collection<Q> collection,
                            @NotNull
                            BiMapper<Q,T> mapper)
Method Detail

contains

public boolean contains(java.lang.Object o)
Specified by:
contains in interface java.util.Collection<T>
Specified by:
contains in class DecoratingCollectionBase<T,Q>