Class SingleSharableData<T>
java.lang.Object
org.mvplugins.multiverse.inventories.profile.data.SingleSharableData<T>
- All Implemented Interfaces:
ProfileData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<S> SRetrieves the profile's value of theSharablepassed in.getData()booleanisEmpty()Checks whether this profile contains any data.<S> voidSets the profile's value for theSharablepassed in.voidupdate(ProfileData snapshot) Updates this profile with the data from another profile data.voidupdate(ProfileData snapshot, Shares shares) Updates this profile with the data from another profile data for a specific set ofSharables.
-
Constructor Details
-
Method Details
-
getData
- Specified by:
getDatain interfaceProfileData
-
update
Description copied from interface:ProfileDataUpdates this profile with the data from another profile data.- Specified by:
updatein interfaceProfileData- Parameters:
snapshot- The snapshot data to update from.
-
isEmpty
public boolean isEmpty()Description copied from interface:ProfileDataChecks whether this profile contains any data.- Specified by:
isEmptyin interfaceProfileData- Returns:
- True if the profile is empty.