Package deltix.qsrv.hf.blocks
Class InstrumentSet
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<E>
-
- java.util.HashSet<deltix.qsrv.hf.pub.InstrumentIdentity>
-
- deltix.qsrv.hf.blocks.InstrumentSet
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.lang.Iterable<deltix.qsrv.hf.pub.InstrumentIdentity>,java.util.Collection<deltix.qsrv.hf.pub.InstrumentIdentity>,java.util.Set<deltix.qsrv.hf.pub.InstrumentIdentity>
public class InstrumentSet extends java.util.HashSet<deltix.qsrv.hf.pub.InstrumentIdentity>- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InstrumentSet()InstrumentSet(int initialCapacity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(deltix.qsrv.hf.pub.InstrumentIdentity id)booleanadd(deltix.qsrv.hf.pub.InstrumentType type, java.lang.CharSequence symbol)booleanaddAll(deltix.qsrv.hf.pub.InstrumentIdentity[] ids)booleancontains(deltix.qsrv.hf.pub.InstrumentIdentity id)booleancontains(deltix.qsrv.hf.pub.InstrumentType type, java.lang.CharSequence symbol)booleancontains(java.lang.Object o)booleanremove(deltix.qsrv.hf.pub.InstrumentIdentity id)booleanremove(deltix.qsrv.hf.pub.InstrumentType type, java.lang.CharSequence symbol)booleanremove(java.lang.Object o)booleanremoveAll(deltix.qsrv.hf.pub.InstrumentIdentity[] ids)deltix.qsrv.hf.pub.InstrumentIdentity[]toArray()-
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toArray, toString
-
-
-
-
Method Detail
-
contains
public boolean contains(deltix.qsrv.hf.pub.InstrumentType type, java.lang.CharSequence symbol)
-
remove
public boolean remove(deltix.qsrv.hf.pub.InstrumentType type, java.lang.CharSequence symbol)
-
add
public boolean add(deltix.qsrv.hf.pub.InstrumentType type, java.lang.CharSequence symbol)
-
add
public boolean add(deltix.qsrv.hf.pub.InstrumentIdentity id)
- Specified by:
addin interfacejava.util.Collection<deltix.qsrv.hf.pub.InstrumentIdentity>- Specified by:
addin interfacejava.util.Set<deltix.qsrv.hf.pub.InstrumentIdentity>- Overrides:
addin classjava.util.HashSet<deltix.qsrv.hf.pub.InstrumentIdentity>
-
addAll
public boolean addAll(deltix.qsrv.hf.pub.InstrumentIdentity[] ids)
-
removeAll
public boolean removeAll(deltix.qsrv.hf.pub.InstrumentIdentity[] ids)
-
toArray
public deltix.qsrv.hf.pub.InstrumentIdentity[] toArray()
- Specified by:
toArrayin interfacejava.util.Collection<deltix.qsrv.hf.pub.InstrumentIdentity>- Specified by:
toArrayin interfacejava.util.Set<deltix.qsrv.hf.pub.InstrumentIdentity>- Overrides:
toArrayin classjava.util.AbstractCollection<deltix.qsrv.hf.pub.InstrumentIdentity>
-
remove
public boolean remove(java.lang.Object o)
- Specified by:
removein interfacejava.util.Collection<deltix.qsrv.hf.pub.InstrumentIdentity>- Specified by:
removein interfacejava.util.Set<deltix.qsrv.hf.pub.InstrumentIdentity>- Overrides:
removein classjava.util.HashSet<deltix.qsrv.hf.pub.InstrumentIdentity>
-
remove
public boolean remove(deltix.qsrv.hf.pub.InstrumentIdentity id)
-
contains
public boolean contains(java.lang.Object o)
- Specified by:
containsin interfacejava.util.Collection<deltix.qsrv.hf.pub.InstrumentIdentity>- Specified by:
containsin interfacejava.util.Set<deltix.qsrv.hf.pub.InstrumentIdentity>- Overrides:
containsin classjava.util.HashSet<deltix.qsrv.hf.pub.InstrumentIdentity>
-
contains
public boolean contains(deltix.qsrv.hf.pub.InstrumentIdentity id)
-
-