org.omnaest.utils.structure.collection.set
Class IdentityArrayListBasedSet<E>
java.lang.Object
org.omnaest.utils.structure.collection.CollectionAbstract<E>
org.omnaest.utils.structure.collection.set.SetAbstract<E>
org.omnaest.utils.structure.collection.list.adapter.ListToSetAdapter<E>
org.omnaest.utils.structure.collection.set.IdentityArrayListBasedSet<E>
- Type Parameters:
E -
- All Implemented Interfaces:
- Serializable, Iterable<E>, Collection<E>, Set<E>
public class IdentityArrayListBasedSet<E>
- extends ListToSetAdapter<E>
Ordered Set implementation using the IdentityArrayList as backing structure. This results in the identity
comparison used for ListToSetAdapter.contains(Object) and other methods resolving objects by references.
- Author:
- Omnaest
- See Also:
- Serialized Form
IdentityArrayListBasedSet
public IdentityArrayListBasedSet()
IdentityArrayListBasedSet
public IdentityArrayListBasedSet(Collection<E> collection)
- Parameters:
collection -
toString
public String toString()
- Overrides:
toString in class ListToSetAdapter<E>
Copyright © 2013. All Rights Reserved.