APIdia Launch Partner
Top Fields Constructors Methods
com.sun.jndi.toolkit.dir

pack-priv final Class HierarchicalName

Located in compilation unit of com.sun.jndi.toolkit.dir.HierMemDirCtx.

extends CompoundName
Class Inheritance

Field Summary

Modifier and TypeField and Description
private int
private static final long
Inherited from javax.naming.CompoundName:
mySyntax

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv
pack-priv

Method Summary

Modifier and TypeMethod and Description
public Object
clone()

Overrides javax.naming.CompoundName.clone.

Implements javax.naming.Name.clone.

Creates a copy of this compound name.

public Name
getPrefix(int posn)

Overrides javax.naming.CompoundName.getPrefix.

Implements javax.naming.Name.getPrefix.

Creates a compound name whose components consist of a prefix of the components in this compound name.

public Name
getSuffix(int posn)

Overrides javax.naming.CompoundName.getSuffix.

Implements javax.naming.Name.getSuffix.

Creates a compound name whose components consist of a suffix of the components in this compound name.

public int
hashCode()

Overrides javax.naming.CompoundName.hashCode.

Computes the hash code of this compound name.

Inherited from javax.naming.CompoundName:
addaddaddAlladdAllcompareToendsWithequalsgetgetAllisEmptyremovesizestartsWithtoString

Field Detail

hashValueback to summary
private int hashValue
serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.naming.CompoundName.serialVersionUID, javax.naming.Name.serialVersionUID.

Constructor Detail

HierarchicalNameback to summary
pack-priv HierarchicalName()
HierarchicalNameback to summary
pack-priv HierarchicalName(Enumeration<String> comps, Properties syntax)
HierarchicalNameback to summary
pack-priv HierarchicalName(String n, Properties syntax) throws InvalidNameException

Method Detail

cloneback to summary
public Object clone()

Overrides javax.naming.CompoundName.clone.

Implements javax.naming.Name.clone.

Doc from javax.naming.CompoundName.clone.

Creates a copy of this compound name. Changes to the components of this compound name won't affect the new copy and vice versa. The clone and this compound name share the same syntax.

getPrefixback to summary
public Name getPrefix(int posn)

Overrides javax.naming.CompoundName.getPrefix.

Implements javax.naming.Name.getPrefix.

Doc from javax.naming.CompoundName.getPrefix.

Creates a compound name whose components consist of a prefix of the components in this compound name. The result and this compound name share the same syntax. Subsequent changes to this compound name do not affect the name that is returned and vice versa.

getSuffixback to summary
public Name getSuffix(int posn)

Overrides javax.naming.CompoundName.getSuffix.

Implements javax.naming.Name.getSuffix.

Doc from javax.naming.CompoundName.getSuffix.

Creates a compound name whose components consist of a suffix of the components in this compound name. The result and this compound name share the same syntax. Subsequent changes to this compound name do not affect the name that is returned.

hashCodeback to summary
public int hashCode()

Overrides javax.naming.CompoundName.hashCode.

Doc from javax.naming.CompoundName.hashCode.

Computes the hash code of this compound name. The hash code is the sum of the hash codes of the "canonicalized" forms of individual components of this compound name. Each component is "canonicalized" according to the compound name's syntax before its hash code is computed. For a case-insensitive name, for example, the uppercased form of a name has the same hash code as its lowercased equivalent.