org.cojen.classfile
Class FixedLocation

java.lang.Object
  extended by org.cojen.classfile.FixedLocation
All Implemented Interfaces:
Comparable, Location

public class FixedLocation
extends Object
implements Location

Implementation of a Location with a fixed, constant address.

Author:
Brian S O'Neill

Constructor Summary
FixedLocation(int location)
           
 
Method Summary
 int compareTo(Object obj)
           
 int getLocation()
          Returns -1 if the location isn't yet fully resolved.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FixedLocation

public FixedLocation(int location)
Method Detail

getLocation

public int getLocation()
Description copied from interface: Location
Returns -1 if the location isn't yet fully resolved.

Specified by:
getLocation in interface Location

compareTo

public int compareTo(Object obj)
Specified by:
compareTo in interface Comparable


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