Package org.ldaptive.asn1
Class DERPath.Node
java.lang.Object
org.ldaptive.asn1.DERPath.Node
- Enclosing class:
DERPath
DER path node encapsulates the path name and its location among other children that share a common parent.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
Index of this node.private static final int
hash code seed.private final String
Name of this node. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns the child index.getName()
Returns the name.int
hashCode()
toString()
void
toString
(StringBuilder builder) Appends the string representation of this instance to the given string builder.
-
Field Details
-
HASH_CODE_SEED
private static final int HASH_CODE_SEEDhash code seed.- See Also:
-
name
Name of this node. -
childIndex
private final int childIndexIndex of this node.
-
-
Constructor Details
-
Method Details
-
getName
Returns the name.- Returns:
- name
-
getChildIndex
public int getChildIndex()Returns the child index.- Returns:
- child index
-
equals
-
hashCode
public int hashCode() -
toString
-
toString
Appends the string representation of this instance to the given string builder.- Parameters:
builder
- Builder to hold string representation of this instance.
-