|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.fu_berlin.ties.extract.TargetClass
A class (type) of entities to recognize. Instances of this class are immutable and thus thread-safe.
Constructor Summary | |
protected |
TargetClass(String className)
Non-public constructor -- should only be used by subclasses and related classes. |
Method Summary | |
boolean |
equals(Object obj)
Indicates whether some other object is "equal to" this one, fulfulling the Object.equals(java.lang.Object) contract. |
String |
getName()
Returns the name of this class. |
int |
hashCode()
Returns a hash code value for this object, fulfulling the Object.hashCode() contract. |
String |
toString()
Returns a string representation of this object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
protected TargetClass(String className) throws IllegalArgumentException
TargetStructure
to access
target classes.
className
- the name of this class (outer whitespace will be
trimmed)
IllegalArgumentException
- if className
is null or
empty (after trimming)Method Detail |
public boolean equals(Object obj)
Object.equals(java.lang.Object)
contract.
obj
- the reference object with which to compare
true
iff the specified object is a
TargetClass
equal to this instancepublic String getName()
public int hashCode()
Object.hashCode()
contract.
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |