org.apache.qpid.transport
Class Range

java.lang.Object
  extended by org.apache.qpid.transport.Range

public final class Range
extends Object

Range


Constructor Summary
Range(int lower, int upper)
           
 
Method Summary
 int getLower()
           
 int getUpper()
           
 boolean includes(int value)
           
 boolean includes(Range range)
           
 Range intersect(Range range)
           
 boolean intersects(Range range)
           
 Range span(Range range)
           
 List<Range> subtract(Range range)
           
 String toString()
           
 boolean touches(Range range)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Range

public Range(int lower,
             int upper)
Method Detail

getLower

public int getLower()

getUpper

public int getUpper()

includes

public boolean includes(int value)

includes

public boolean includes(Range range)

intersects

public boolean intersects(Range range)

touches

public boolean touches(Range range)

span

public Range span(Range range)

subtract

public List<Range> subtract(Range range)

intersect

public Range intersect(Range range)

toString

public String toString()
Overrides:
toString in class Object


Licensed to the Apache Software Foundation