com.ftlabs.fisa
Interface CallSchedule

All Superinterfaces:
java.util.Collection<Redemption>, java.lang.Iterable<Redemption>, java.util.Set<Redemption>, java.util.SortedSet<Redemption>
All Known Implementing Classes:
DiscreteCallSchedule

public interface CallSchedule
extends java.util.SortedSet<Redemption>

An interface that defines methods required for a CallSchedule.


Method Summary
 Redemption getNextCall()
          Get the next call.
 Redemption getNextParCall()
          Get the next par call.
 Redemption getNextPremiumCall()
          Get the next premium call.
 
Methods inherited from interface java.util.SortedSet
comparator, first, headSet, last, subSet, tailSet
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Method Detail

getNextCall

Redemption getNextCall()
Get the next call. This could be either a premium call or a par call.

Returns:
the next call.

getNextPremiumCall

Redemption getNextPremiumCall()
Get the next premium call.

Returns:
the next premium call.

getNextParCall

Redemption getNextParCall()
Get the next par call.

Returns:
the next par call.