bpiwowar.argparser.checkers
Class LongLimit

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

public class LongLimit
extends Limit

Author:
bpiwowar

Nested Class Summary
 
Nested classes/interfaces inherited from class bpiwowar.argparser.checkers.Limit
Limit.Type
 
Constructor Summary
LongLimit(Limit.Type type, long value)
           
LongLimit(long d)
          Constructs from a double
 
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

LongLimit

public LongLimit(Limit.Type type,
                 long value)

LongLimit

public LongLimit(long 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.