Class PatternInstrumentKey

  • All Implemented Interfaces:
    deltix.qsrv.hf.pub.InstrumentIdentity

    public class PatternInstrumentKey
    extends java.lang.Object
    implements deltix.qsrv.hf.pub.InstrumentIdentity
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • instrumentType

        public final deltix.qsrv.hf.pub.InstrumentType instrumentType
      • pattern

        public final java.lang.StringBuilder pattern
      • acceptAll

        public boolean acceptAll
    • Constructor Detail

      • PatternInstrumentKey

        public PatternInstrumentKey​(deltix.qsrv.hf.pub.InstrumentType instrumentType,
                                    java.lang.CharSequence pattern)
    • 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 interface deltix.qsrv.hf.pub.InstrumentIdentity
      • getInstrumentType

        public deltix.qsrv.hf.pub.InstrumentType getInstrumentType()
        Specified by:
        getInstrumentType in interface deltix.qsrv.hf.pub.InstrumentIdentity