org.fosstrak.llrp.commander.util
Class Range

java.lang.Object
  extended by org.fosstrak.llrp.commander.util.Range

public class Range
extends java.lang.Object

This class represents a numeric range.

Author:
Ulrich Etter, ETHZ

Constructor Summary
Range(int lowerBound, int upperBound)
          Creates a new range.
 
Method Summary
 int getLowerBound()
           
 int getUpperBound()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Range

public Range(int lowerBound,
             int upperBound)
Creates a new range.

Parameters:
lowerBound - the lower bound of the range; use Integer.MIN_VALUE if this range shall not have a lower bound
upperBound - the upper bound of the range; use Integer.MAX_VALUE if this range shall not have an upper bound
Method Detail

getLowerBound

public int getLowerBound()
Returns:
the lower bound of this range

getUpperBound

public int getUpperBound()
Returns:
the upper bound of this range


Copyright © 2009. All Rights Reserved.