| Modifier and Type | Method and Description |
|---|---|
| public Marker | Returns: The current Marker object, thus allowing multiple adds to be concatenated.The parent markers to add. markers)Adds a Marker as a parent to this Marker. |
| public boolean | |
| public String | |
| public Marker[] | Returns: The parent Markers ornull if this Marker has no parents.Returns a list of parents of this Marker. |
| public int | Returns: the computed hash codeReturns a hash code value based on the name of this marker. |
| public boolean | Returns: true if the Marker has parent MarkersIndicates whether this Marker has references to any other Markers. |
| public boolean | Returns: true if this Marker or one of its ancestors is the specified Marker, false otherwise.The Marker to check. m)Checks whether this Marker is an instance of the specified Marker. |
| public boolean | Returns: true if this Marker or one of its ancestors matches the specified name, false otherwise.The name of the Marker. name)Checks whether this Marker is an instance of the specified Marker. |
| public boolean | |
| public Marker | Returns: The current Marker object.The new set of parent Markers or markers)null to clear the parents.Replaces the set of parent Markers with the provided Markers. |
| addParents | back to summary |
|---|---|
| public Marker addParents(Marker... markers) Adds a Marker as a parent to this Marker.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Returns true if the given marker has the same name as this marker. | |
| getName | back to summary |
|---|---|
| public String getName() Returns the name of this Marker.
| |
| getParents | back to summary |
|---|---|
| public Marker[] getParents() Returns a list of parents of this Marker.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Returns a hash code value based on the name of this marker. Markers are equal if they have the same name.
| |
| hasParents | back to summary |
|---|---|
| public boolean hasParents() Indicates whether this Marker has references to any other Markers.
| |
| isInstanceOf | back to summary |
|---|---|
| public boolean isInstanceOf(Marker m) Checks whether this Marker is an instance of the specified Marker.
| |
| isInstanceOf | back to summary |
|---|---|
| public boolean isInstanceOf(String name) Checks whether this Marker is an instance of the specified Marker.
| |
| remove | back to summary |
|---|---|
| public boolean remove(Marker marker) Removes the specified Marker as a parent of this Marker.
| |
| setParents | back to summary |
|---|---|
| public Marker setParents(Marker... markers) Replaces the set of parent Markers with the provided Markers. | |