Class MemberStore
java.lang.Object
com.thoughtworks.xstream.core.util.MemberStore
A store for member information of types.
- Since:
- 1.4.21
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the value for a type's member in the store.keySet()
Get the set of types in the store.static MemberStore
Creates a new instance of a MemberStore.static MemberStore
Creates a new synchronized instance of a MemberStore.Put an element for a the member of the type into the store.
-
Field Details
-
types
-
synced
private final boolean synced
-
-
Constructor Details
-
MemberStore
private MemberStore(boolean synced)
-
-
Method Details
-
newInstance
Creates a new instance of a MemberStore.- Since:
- 1.4.21
-
newSynchronizedInstance
Creates a new synchronized instance of a MemberStore.- Since:
- 1.4.21
-
put
Put an element for a the member of the type into the store.- Parameters:
definedIn
- the type owning the member or nullmember
- the member namevalue
- the value to store- Returns:
- the old stored value for the member or null
- Since:
- 1.4.21
-
get
Get the value for a type's member in the store.- Parameters:
definedIn
- the type owning the member or nullmember
- the member name- Returns:
- the stored value for the member or null
- Since:
- 1.4.21
-
keySet
Get the set of types in the store.- Returns:
- the set of type names
- Since:
- 1.4.21
-