Record Class ModelProfile.Simple
java.lang.Object
java.lang.Record
kr.toxicity.model.api.profile.ModelProfile.Simple
- Record Components:
info- infoskin- skin
- All Implemented Interfaces:
ModelProfile
- Enclosing interface:
ModelProfile
public static record ModelProfile.Simple(@NotNull ModelProfileInfo info, @NotNull ModelProfileSkin skin)
extends Record
implements ModelProfile
Simple profile
-
Nested Class Summary
Nested classes/interfaces inherited from interface ModelProfile
ModelProfile.Simple, ModelProfile.Uncompleted -
Field Summary
Fields inherited from interface ModelProfile
UNKNOWN -
Constructor Summary
ConstructorsConstructorDescriptionSimple(@NotNull ModelProfileInfo info, @NotNull ModelProfileSkin skin) Creates an instance of aSimplerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@NotNull ModelProfileInfoinfo()Returns the value of theinforecord component.@NotNull ModelProfileSkinskin()Returns the value of theskinrecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from interface ModelProfile
asUncompleted, player
-
Constructor Details
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
info
Returns the value of theinforecord component.- Specified by:
infoin interfaceModelProfile- Returns:
- the value of the
inforecord component
-
skin
Returns the value of theskinrecord component.- Specified by:
skinin interfaceModelProfile- Returns:
- the value of the
skinrecord component
-