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 boolean
add(deltix.qsrv.hf.pub.InstrumentIdentity id)
boolean
add(deltix.qsrv.hf.pub.InstrumentType type, java.lang.CharSequence symbol)
boolean
addAll(deltix.qsrv.hf.pub.InstrumentIdentity[] ids)
boolean
contains(deltix.qsrv.hf.pub.InstrumentIdentity id)
boolean
contains(deltix.qsrv.hf.pub.InstrumentType type, java.lang.CharSequence symbol)
boolean
contains(java.lang.Object o)
boolean
remove(deltix.qsrv.hf.pub.InstrumentIdentity id)
boolean
remove(deltix.qsrv.hf.pub.InstrumentType type, java.lang.CharSequence symbol)
boolean
remove(java.lang.Object o)
boolean
removeAll(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:
add
in interfacejava.util.Collection<deltix.qsrv.hf.pub.InstrumentIdentity>
- Specified by:
add
in interfacejava.util.Set<deltix.qsrv.hf.pub.InstrumentIdentity>
- Overrides:
add
in 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:
toArray
in interfacejava.util.Collection<deltix.qsrv.hf.pub.InstrumentIdentity>
- Specified by:
toArray
in interfacejava.util.Set<deltix.qsrv.hf.pub.InstrumentIdentity>
- Overrides:
toArray
in classjava.util.AbstractCollection<deltix.qsrv.hf.pub.InstrumentIdentity>
-
remove
public boolean remove(java.lang.Object o)
- Specified by:
remove
in interfacejava.util.Collection<deltix.qsrv.hf.pub.InstrumentIdentity>
- Specified by:
remove
in interfacejava.util.Set<deltix.qsrv.hf.pub.InstrumentIdentity>
- Overrides:
remove
in 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:
contains
in interfacejava.util.Collection<deltix.qsrv.hf.pub.InstrumentIdentity>
- Specified by:
contains
in interfacejava.util.Set<deltix.qsrv.hf.pub.InstrumentIdentity>
- Overrides:
contains
in classjava.util.HashSet<deltix.qsrv.hf.pub.InstrumentIdentity>
-
contains
public boolean contains(deltix.qsrv.hf.pub.InstrumentIdentity id)
-
-