com.activequant.domainmodel
Class RollingSchedule

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.TreeMap<Long,String>
          extended by com.activequant.domainmodel.RollingSchedule
All Implemented Interfaces:
Serializable, Cloneable, Map<Long,String>, NavigableMap<Long,String>, SortedMap<Long,String>

public class RollingSchedule
extends TreeMap<Long,String>

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
RollingSchedule(Long[] rollDates, String[] validInstrumentIds)
           
 
Method Summary
 String getValidInstrument(Long date8)
          returns the valid instrument Id for a specific date.
 
Methods inherited from class java.util.TreeMap
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, size, subMap, subMap, tailMap, tailMap, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, isEmpty, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode, isEmpty
 

Constructor Detail

RollingSchedule

public RollingSchedule(Long[] rollDates,
                       String[] validInstrumentIds)
Method Detail

getValidInstrument

public String getValidInstrument(Long date8)
                          throws NoEntryForDate
returns the valid instrument Id for a specific date.

Parameters:
date8 -
Returns:
Throws:
NoEntryForDate


Copyright © 2012 ActiveQuant GmbH. All Rights Reserved.