org.cojen.classfile
Class LocationRangeImpl

java.lang.Object
  extended by org.cojen.classfile.LocationRangeImpl
All Implemented Interfaces:
LocationRange

public class LocationRangeImpl
extends Object
implements LocationRange

Author:
Brian S O'Neill

Constructor Summary
LocationRangeImpl(Location a, Location b)
           
LocationRangeImpl(LocationRange a, LocationRange b)
           
 
Method Summary
 boolean equals(Object obj)
           
 Location getEndLocation()
          Returns end of this location range, exclusive.
 Location getStartLocation()
          Returns the start of this location range, inclusive.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocationRangeImpl

public LocationRangeImpl(Location a,
                         Location b)

LocationRangeImpl

public LocationRangeImpl(LocationRange a,
                         LocationRange b)
Method Detail

getStartLocation

public Location getStartLocation()
Description copied from interface: LocationRange
Returns the start of this location range, inclusive.

Specified by:
getStartLocation in interface LocationRange

getEndLocation

public Location getEndLocation()
Description copied from interface: LocationRange
Returns end of this location range, exclusive.

Specified by:
getEndLocation in interface LocationRange

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004-2011 Brian S O'Neill. All Rights Reserved.