org.omnaest.utils.structure.collection.set.adapter
Class SetToSetAdapter<FROM,TO>

java.lang.Object
  extended by org.omnaest.utils.structure.collection.CollectionAbstract<TO>
      extended by org.omnaest.utils.structure.collection.adapter.CollectionToCollectionAdapterBase<FROM,TO>
          extended by org.omnaest.utils.structure.collection.adapter.CollectionToCollectionAdapter<FROM,TO>
              extended by org.omnaest.utils.structure.collection.set.adapter.SetToSetAdapter<FROM,TO>
Type Parameters:
FROM -
TO -
All Implemented Interfaces:
Serializable, Iterable<TO>, Collection<TO>, Set<TO>

public class SetToSetAdapter<FROM,TO>
extends CollectionToCollectionAdapter<FROM,TO>
implements Set<TO>

Adapter from one Set with a specific type to another Set with another specific type using a ElementBidirectionalConverter

Author:
Omnaest
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.omnaest.utils.structure.collection.adapter.CollectionToCollectionAdapterBase
elementBidirectionalConverter
 
Constructor Summary
SetToSetAdapter(Collection<FROM> collection, ElementBidirectionalConverter<FROM,TO> elementBidirectionalConverter)
           
 
Method Summary
 
Methods inherited from class org.omnaest.utils.structure.collection.adapter.CollectionToCollectionAdapter
getCollection
 
Methods inherited from class org.omnaest.utils.structure.collection.adapter.CollectionToCollectionAdapterBase
add, contains, iterator, remove, size, toString
 
Methods inherited from class org.omnaest.utils.structure.collection.CollectionAbstract
addAll, clear, containsAll, equals, hashCode, isEmpty, removeAll, retainAll, toArray, toArray
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, 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
 

Constructor Detail

SetToSetAdapter

public SetToSetAdapter(Collection<FROM> collection,
                       ElementBidirectionalConverter<FROM,TO> elementBidirectionalConverter)
Parameters:
collection -
elementBidirectionalConverter -
See Also:
SetToSetAdapter


Copyright © 2013. All Rights Reserved.