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 intIndex of this node.private static final inthash code seed.private final StringName of this node. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintReturns the child index.getName()Returns the name.inthashCode()toString()voidtoString(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.
-