public class BasicMarker extends Objectimplements Marker
Marker interface.
ANY_MARKER, ANY_NON_NULL_MARKER| Modifier and Type | Method and Description |
|---|---|
void |
add(Marker
Add a reference to another Marker.
|
boolean |
contains(Marker
Does this marker contain a reference to the 'other' marker? Marker A is defined to contain marker B, if A == B or if B is referenced by A, or if B is referenced by any one of A's references (recursively).
|
boolean |
contains(String
This method is mainly used with Expression Evaluators.
|
boolean |
equals(Object
Markers are considered equal if they have the same name.
|
String |
getName()
Get the name of this Marker.
|
boolean |
hasChildren()
|
int |
hashCode()
Compute the hash code based on the name of this marker.
|
boolean |
hasReferences()
Does this marker have any references?
|
Iterator |
iterator()
Returns an Iterator which can be used to iterate over the references of this marker.
|
boolean |
remove(Marker
Remove a marker reference.
|
String |
toString()
|
public StringgetName()
Marker
public void add(Markerreference)
Marker
public boolean hasReferences()
Marker
hasReferences in interface
Marker
public boolean hasChildren()
public Iterator<Marker > iterator()
Marker
public boolean remove(MarkerreferenceToRemove)
Marker
public boolean contains(Markerother)
Marker
public boolean contains(Stringname)
public boolean equals(Objectobj)
Marker
public int hashCode()
Marker
public StringtoString()