Package deltix.qsrv.hf.tickdb.pub
Class PatternInstrumentKey
- java.lang.Object
-
- deltix.qsrv.hf.tickdb.pub.PatternInstrumentKey
-
- All Implemented Interfaces:
deltix.qsrv.hf.pub.InstrumentIdentity
public class PatternInstrumentKey extends java.lang.Object implements deltix.qsrv.hf.pub.InstrumentIdentity
-
-
Field Summary
Fields Modifier and Type Field Description booleanacceptAlldeltix.qsrv.hf.pub.InstrumentTypeinstrumentTypejava.lang.StringBuilderpatternstatic charWILDCARD
-
Constructor Summary
Constructors Constructor Description PatternInstrumentKey(deltix.qsrv.hf.pub.InstrumentType instrumentType, java.lang.CharSequence pattern)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description deltix.qsrv.hf.pub.InstrumentTypegetInstrumentType()java.lang.CharSequencegetSymbol()static booleanhasPattern(deltix.qsrv.hf.pub.InstrumentIdentity id)booleanmatch(deltix.qsrv.hf.pub.InstrumentIdentity id)booleanmatch(deltix.qsrv.hf.pub.InstrumentType type, java.lang.CharSequence symbol)booleanmatch(java.lang.CharSequence symbol)static booleanmatches(java.lang.CharSequence text, java.lang.CharSequence pattern)
-
-
-
Field Detail
-
WILDCARD
public static final char WILDCARD
- See Also:
- Constant Field Values
-
instrumentType
public final deltix.qsrv.hf.pub.InstrumentType instrumentType
-
pattern
public final java.lang.StringBuilder pattern
-
acceptAll
public boolean acceptAll
-
-
Method Detail
-
match
public boolean match(deltix.qsrv.hf.pub.InstrumentType type, java.lang.CharSequence symbol)
-
hasPattern
public static boolean hasPattern(deltix.qsrv.hf.pub.InstrumentIdentity id)
-
match
public boolean match(deltix.qsrv.hf.pub.InstrumentIdentity id)
-
match
public boolean match(java.lang.CharSequence symbol)
-
matches
public static boolean matches(java.lang.CharSequence text, java.lang.CharSequence pattern)
-
getSymbol
public java.lang.CharSequence getSymbol()
- Specified by:
getSymbolin interfacedeltix.qsrv.hf.pub.InstrumentIdentity
-
getInstrumentType
public deltix.qsrv.hf.pub.InstrumentType getInstrumentType()
- Specified by:
getInstrumentTypein interfacedeltix.qsrv.hf.pub.InstrumentIdentity
-
-