Class MamdaOptionExpirationDateSet

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.util.Map, java.util.NavigableMap, java.util.SortedMap

    public class MamdaOptionExpirationDateSet
    extends java.util.TreeMap
    A class that represents a set of expiration dates, each of which contains a set of strike prices (MamdaOptionStrikeSet), each of which contains a set of option contracts (MamdaOptionContractSet), each of which contains exchange-specific contracts. To access a set of strike prices for a given expiration date, use the get method (inherited from TreeMap).
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.util.AbstractMap

        java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,​V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,​V extends java.lang.Object>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      MamdaOptionExpirationDateSet getExpirations​(int numExpirations)  
      MamdaOptionExpirationDateSet getExpirationsBefore​(java.util.Date date)  
      java.lang.String toString()  
      • Methods inherited from class java.util.TreeMap

        ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, values
      • Methods inherited from class java.util.AbstractMap

        equals, hashCode, isEmpty
      • Methods inherited from class java.lang.Object

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

        compute, computeIfAbsent, computeIfPresent, equals, getOrDefault, hashCode, isEmpty, merge, putIfAbsent, remove
    • Constructor Detail

      • MamdaOptionExpirationDateSet

        public MamdaOptionExpirationDateSet()
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.util.AbstractMap