Package deltix.qsrv.hf.blocks
Class InstrumentIdentityMap<T>
- java.lang.Object
-
- deltix.qsrv.hf.blocks.InstrumentIdentityMap<T>
-
public class InstrumentIdentityMap<T> extends java.lang.Object
Similar to InstrumentToObjectMap but provides grouping by instrument type. Not Thread safe! Date: May 20, 2010
-
-
Constructor Summary
Constructors Constructor Description InstrumentIdentityMap()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
boolean
containsKey(deltix.qsrv.hf.pub.InstrumentIdentity identity)
static <E extends deltix.qsrv.hf.pub.InstrumentIdentity>
InstrumentIdentityMap<E>create(java.util.Collection<E> values)
T
get(deltix.qsrv.hf.pub.InstrumentIdentity identity)
T
get(deltix.qsrv.hf.pub.InstrumentType type, java.lang.CharSequence symbol)
java.util.Set<java.lang.String>
innerKeySet(deltix.qsrv.hf.pub.InstrumentType type)
java.util.Collection<T>
innerValues(deltix.qsrv.hf.pub.InstrumentType type)
boolean
isEmpty()
java.util.Set<deltix.qsrv.hf.pub.InstrumentType>
outerKeySet()
T
put(deltix.qsrv.hf.pub.InstrumentIdentity identity, T value)
T
put(deltix.qsrv.hf.pub.InstrumentType type, java.lang.CharSequence symbol, T value)
T
remove(deltix.qsrv.hf.pub.InstrumentIdentity identity)
java.util.Map<deltix.qsrv.hf.pub.ConstantInstrumentKey,T>
toInstrumentMap()
java.util.Set<deltix.qsrv.hf.pub.ConstantInstrumentKey>
toInstruments()
java.lang.String
toStringTable()
java.lang.String
toStringTable(deltix.util.lang.Transformer<java.lang.String,T> valueConvertor, int entityWidth, int valueWidth)
java.util.Collection<T>
values()
-
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
-
get
public T get(deltix.qsrv.hf.pub.InstrumentIdentity identity)
-
get
public T get(deltix.qsrv.hf.pub.InstrumentType type, java.lang.CharSequence symbol)
-
remove
public T remove(deltix.qsrv.hf.pub.InstrumentIdentity identity)
-
containsKey
public boolean containsKey(deltix.qsrv.hf.pub.InstrumentIdentity identity)
-
values
public java.util.Collection<T> values()
-
clear
public void clear()
-
innerValues
public java.util.Collection<T> innerValues(deltix.qsrv.hf.pub.InstrumentType type)
-
outerKeySet
public java.util.Set<deltix.qsrv.hf.pub.InstrumentType> outerKeySet()
-
innerKeySet
public java.util.Set<java.lang.String> innerKeySet(deltix.qsrv.hf.pub.InstrumentType type)
-
toInstrumentMap
public java.util.Map<deltix.qsrv.hf.pub.ConstantInstrumentKey,T> toInstrumentMap()
-
toInstruments
public java.util.Set<deltix.qsrv.hf.pub.ConstantInstrumentKey> toInstruments()
-
toStringTable
public java.lang.String toStringTable(deltix.util.lang.Transformer<java.lang.String,T> valueConvertor, int entityWidth, int valueWidth)
-
toStringTable
public java.lang.String toStringTable()
-
create
public static <E extends deltix.qsrv.hf.pub.InstrumentIdentity> InstrumentIdentityMap<E> create(java.util.Collection<E> values)
-
-