Class 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
    • 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.HashSet

        clear, clone, isEmpty, iterator, size, spliterator
      • Methods inherited from class java.util.AbstractSet

        equals, hashCode, removeAll
      • Methods inherited from class java.util.AbstractCollection

        addAll, containsAll, retainAll, toArray, toString
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        parallelStream, removeIf, stream, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
      • Methods inherited from interface java.util.Set

        addAll, containsAll, equals, hashCode, removeAll, retainAll, toArray
    • Constructor Detail

      • InstrumentSet

        public InstrumentSet​(int initialCapacity)
      • InstrumentSet

        public InstrumentSet()
    • 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 interface java.util.Collection<deltix.qsrv.hf.pub.InstrumentIdentity>
        Specified by:
        add in interface java.util.Set<deltix.qsrv.hf.pub.InstrumentIdentity>
        Overrides:
        add in class java.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 interface java.util.Collection<deltix.qsrv.hf.pub.InstrumentIdentity>
        Specified by:
        toArray in interface java.util.Set<deltix.qsrv.hf.pub.InstrumentIdentity>
        Overrides:
        toArray in class java.util.AbstractCollection<deltix.qsrv.hf.pub.InstrumentIdentity>
      • remove

        public boolean remove​(java.lang.Object o)
        Specified by:
        remove in interface java.util.Collection<deltix.qsrv.hf.pub.InstrumentIdentity>
        Specified by:
        remove in interface java.util.Set<deltix.qsrv.hf.pub.InstrumentIdentity>
        Overrides:
        remove in class java.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 interface java.util.Collection<deltix.qsrv.hf.pub.InstrumentIdentity>
        Specified by:
        contains in interface java.util.Set<deltix.qsrv.hf.pub.InstrumentIdentity>
        Overrides:
        contains in class java.util.HashSet<deltix.qsrv.hf.pub.InstrumentIdentity>
      • contains

        public boolean contains​(deltix.qsrv.hf.pub.InstrumentIdentity id)