org.otfeed.command
Class PriceRange

java.lang.Object
  extended by org.otfeed.command.PriceRange

public final class PriceRange
extends java.lang.Object

Composite, encapsulating a price range. Used as predicate when searching for options.

See Also:
OptionChainCommand, OptionChainSnapshotCommand, OptionChainWithSnapshotCommand

Field Summary
 double max
          Upper boundary of the price range.
 double min
          Lower boundary of the price range.
 
Constructor Summary
PriceRange(double min, double max)
          Constructs composite object.
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

min

public final double min
Lower boundary of the price range.


max

public final double max
Upper boundary of the price range.

Constructor Detail

PriceRange

public PriceRange(double min,
                  double max)
Constructs composite object.

Method Detail

toString

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


Copyright © 2007 Mike Kroutikov. All Rights Reserved.