Class MemberDictionary
- java.lang.Object
-
- com.thoughtworks.xstream.core.util.MemberDictionary
-
public class MemberDictionary extends java.lang.Object
A dictionary for member information of types.- Since:
- 1.4.21
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map
types
-
Constructor Summary
Constructors Constructor Description MemberDictionary()
Constructs an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
add(java.lang.Class definedIn, java.lang.String member)
Add the member of the type into the dictionary.boolean
contains(java.lang.Class definedIn, java.lang.String member)
Checks the existence of the member of a type in the dictionary.
-
-
-
Method Detail
-
add
public boolean add(java.lang.Class definedIn, java.lang.String member)
Add the member of the type into the dictionary.- Parameters:
definedIn
- the type owning the member or nullmember
- the member name- Returns:
- true if the member has been added to the dictionary
- Since:
- 1.4.21
-
contains
public boolean contains(java.lang.Class definedIn, java.lang.String member)
Checks the existence of the member of a type in the dictionary.- Parameters:
definedIn
- the type owning the member or nullmember
- the member name- Returns:
- true if the member is in the dictionary
- Since:
- 1.4.21
-
-