E
- the type of Entry used in the indexpublic class TreeIndexPathComponent<E extends Entry> extends Object
Modifier and Type | Field and Description |
---|---|
private E |
entry
The entry of this component.
|
private Integer |
index
The index of this component in its parent.
|
Constructor and Description |
---|
TreeIndexPathComponent(E entry,
Integer index)
Creates a new IndexPathComponent.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Returns
true if this == o has the value
true or o is not null and o is of the same class as this
instance and if the entry of this component equals the entry of the o
argument, false otherwise. |
E |
getEntry()
Returns the entry of the component.
|
Integer |
getIndex()
Returns the index of the component in its parent.
|
int |
hashCode()
Returns a hash code for this component.
|
String |
toString()
Returns a string representation of this component.
|
private Integer index
public E getEntry()
public Integer getIndex()
public boolean equals(Object o)
true
if this == o
has the value
true
or o is not null and o is of the same class as this
instance and if the entry of this component equals the entry of the o
argument, false
otherwise.public int hashCode()