Record Class IconManagerImpl.IconLibrary
java.lang.Object
java.lang.Record
com.inductiveautomation.perspective.gateway.assets.icons.IconManagerImpl.IconLibrary
- Enclosing class:
- IconManagerImpl
-
Constructor Summary
ConstructorsConstructorDescriptionIconLibrary
(List<String> iconNames, String rawLibrary, String b64EncodedHash) Creates an instance of aIconLibrary
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theb64EncodedHash
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of theiconNames
record component.Returns the value of therawLibrary
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
IconLibrary
Creates an instance of aIconLibrary
record class.- Parameters:
iconNames
- the value for theiconNames
record componentrawLibrary
- the value for therawLibrary
record componentb64EncodedHash
- the value for theb64EncodedHash
record component
-
-
Method Details
-
iconNames
Returns the value of theiconNames
record component.- Returns:
- the value of the
iconNames
record component
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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)
. -
rawLibrary
Returns the value of therawLibrary
record component.- Returns:
- the value of the
rawLibrary
record component
-
b64EncodedHash
Returns the value of theb64EncodedHash
record component.- Returns:
- the value of the
b64EncodedHash
record component
-