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 boolean
acceptAll
deltix.qsrv.hf.pub.InstrumentType
instrumentType
java.lang.StringBuilder
pattern
static char
WILDCARD
-
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.InstrumentType
getInstrumentType()
java.lang.CharSequence
getSymbol()
static boolean
hasPattern(deltix.qsrv.hf.pub.InstrumentIdentity id)
boolean
match(deltix.qsrv.hf.pub.InstrumentIdentity id)
boolean
match(deltix.qsrv.hf.pub.InstrumentType type, java.lang.CharSequence symbol)
boolean
match(java.lang.CharSequence symbol)
static boolean
matches(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:
getSymbol
in interfacedeltix.qsrv.hf.pub.InstrumentIdentity
-
getInstrumentType
public deltix.qsrv.hf.pub.InstrumentType getInstrumentType()
- Specified by:
getInstrumentType
in interfacedeltix.qsrv.hf.pub.InstrumentIdentity
-
-