|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.naming.directory.BasicAttributes
public class BasicAttributes
| Constructor Summary | |
|---|---|
BasicAttributes()
|
|
BasicAttributes(boolean ignoreCase)
|
|
BasicAttributes(String attrID,
Object val)
|
|
BasicAttributes(String attrID,
Object val,
boolean ignoreCase)
|
|
| Method Summary | |
|---|---|
Object |
clone()
clone creates a shallow clone of this. |
boolean |
equals(Object obj)
Returns true if and only if the given Object is an instance of Attributes, the given attributes both do or don't ignore case for IDs and the collection of attributes is the same. |
Attribute |
get(String attrID)
|
NamingEnumeration |
getAll()
|
NamingEnumeration |
getIDs()
|
int |
hashCode()
hashCode returns a hash code for this object. |
boolean |
isCaseIgnored()
|
Attribute |
put(Attribute attr)
|
Attribute |
put(String attrID,
Object val)
|
Attribute |
remove(String attrID)
|
int |
size()
|
String |
toString()
toString creates a printable string that represents this object for debugging purposes. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BasicAttributes()
public BasicAttributes(boolean ignoreCase)
public BasicAttributes(String attrID,
Object val)
public BasicAttributes(String attrID,
Object val,
boolean ignoreCase)
| Method Detail |
|---|
public Object clone()
Object
clone in interface Attributesclone in class Objectpublic boolean equals(Object obj)
equals in class Objectobj - the other object.
public Attribute get(String attrID)
get in interface Attributespublic NamingEnumeration getAll()
getAll in interface Attributespublic NamingEnumeration getIDs()
getIDs in interface Attributespublic int hashCode()
ObjectThe default implementation returns System.identityHashCode(this).
hashCode in class Objectpublic boolean isCaseIgnored()
isCaseIgnored in interface Attributespublic Attribute put(Attribute attr)
put in interface Attributes
public Attribute put(String attrID,
Object val)
put in interface Attributespublic Attribute remove(String attrID)
remove in interface Attributespublic int size()
size in interface Attributespublic String toString()
ObjectThe default implementation returns getClass().getName() + '@' + Integer.toHexString(hashCode()).
toString in class Object
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||