NamingEntrypublic class NamingEntry extends Object Represents a binding in a NamingContext. |
Fields Summary |
---|
public static final int | ENTRY | public static final int | LINK_REF | public static final int | REFERENCE | public static final int | CONTEXT | public int | typeThe type instance variable is used to avoid unsing RTTI when doing
lookups. | public String | name | public Object | value |
Constructors Summary |
---|
public NamingEntry(String name, Object value, int type)
// ----------------------------------------------------------- Constructors
this.name = name;
this.value = value;
this.type = type;
|
Methods Summary |
---|
public boolean | equals(java.lang.Object obj)
if ((obj != null) && (obj instanceof NamingEntry)) {
return name.equals(((NamingEntry) obj).name);
} else {
return false;
}
| public int | hashCode()
return name.hashCode();
|
|