Package info.u_team.music_player.util
Klasse WrappedObject<T>
java.lang.Object
info.u_team.music_player.util.WrappedObject<T>
- Typparameter:
T-
This class holds an object. This class is immutable. To get the object use
get(). This method use the
default implementation of Object.hashCode() and Object.equals(Object). This ensures there can't be
WrappedObject which are equals. This can be used in the Collection Framework Collection for some
special use.-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
-
Konstruktordetails
-
WrappedObject
Creates a newWrappedObject- Parameter:
object- The object you want to wrap. Must match the generic type
-
-
Methodendetails
-
get
Retrieves the wrapped object- Gibt zurück:
- Wrapped object
-