bpiwowar.argparser.checkers
Class DoubleLimit

java.lang.Object
  extended by bpiwowar.argparser.checkers.Limit
      extended by bpiwowar.argparser.checkers.DoubleLimit
All Implemented Interfaces:
ValueChecker, Comparable<Object>

public class DoubleLimit
extends Limit

Author:
bpiwowar

Nested Class Summary
 
Nested classes/interfaces inherited from class bpiwowar.argparser.checkers.Limit
Limit.Type
 
Constructor Summary
DoubleLimit(double d)
          Constructs from a double
DoubleLimit(Limit.Type type, double value)
           
 
Method Summary
 int compareTo(Object object)
           
 String getDescription()
          Get the description of the value checker
 String toString()
           
 
Methods inherited from class bpiwowar.argparser.checkers.Limit
check, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DoubleLimit

public DoubleLimit(Limit.Type type,
                   double value)

DoubleLimit

public DoubleLimit(double d)
Constructs from a double

Parameters:
d -
Method Detail

compareTo

public int compareTo(Object object)

toString

public String toString()
Overrides:
toString in class Object

getDescription

public String getDescription()
Description copied from interface: ValueChecker
Get the description of the value checker

Specified by:
getDescription in interface ValueChecker
Overrides:
getDescription in class Limit


Copyright © 2013. All Rights Reserved.