Class MemberStore
java.lang.Object
com.thoughtworks.xstream.core.util.MemberStore
-
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 MemberStoreCreates a new instance of a MemberStore.static MemberStoreCreates 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
-
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
-
keySet
-