|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hivemind.impl.LocationImpl
public final class LocationImpl
Implementation of the Location interface.
| Constructor Summary | |
|---|---|
LocationImpl(Resource resource)
|
|
LocationImpl(Resource resource,
int lineNumber)
|
|
LocationImpl(Resource resource,
int lineNumber,
int columnNumber)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object other)
|
int |
getColumnNumber()
The column number, or -1 if not known. |
int |
getLineNumber()
The line within the resource containing the location, or -1 if the line number is not known. |
Resource |
getResource()
The resource containing the location. |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LocationImpl(Resource resource)
public LocationImpl(Resource resource,
int lineNumber)
public LocationImpl(Resource resource,
int lineNumber,
int columnNumber)
| Method Detail |
|---|
public Resource getResource()
Location
getResource in interface Locationpublic int getLineNumber()
Location
getLineNumber in interface Locationpublic int getColumnNumber()
Location
getColumnNumber in interface Locationpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||