- All Implemented Interfaces:
- Persister<org.joml.Quaternionfc>
public class QuaternionfPersister
extends Object
implements Persister<org.joml.Quaternionfc> 
- 
Constructor SummaryConstructors 
- 
Method Summary
org.joml.Quaternionfc
 
Creates an object instance from the given  DataKey. 
 void
 
Saves the object instance to the given  DataKey. 
 
 
 
 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
- 
Constructor Details
- 
QuaternionfPersisterpublic QuaternionfPersister() 
 
- 
Method Details
- 
createpublic org.joml.Quaternionfc create(DataKey root) Creates an object instance from the given  DataKey. Should not return null unless no data is present. 
- Specified by:
- createin interface- Persister<org.joml.Quaternionfc>
- Parameters:
- root- The root key to load from
- Returns:
- The created instance, or null if no data was present
 
- 
savepublic void save(org.joml.Quaternionfc instance,
 DataKey root) Saves the object instance to the given  DataKey. 
- Specified by:
- savein interface- Persister<org.joml.Quaternionfc>
- Parameters:
- instance- The object instance to save
- root- The key to save into