java.lang.Object
java.lang.Record
org.aya.pretty.style.AyaColorScheme
- All Implemented Interfaces:
ColorScheme
public record AyaColorScheme(@NotNull kala.collection.mutable.MutableMap<String,Integer> definedColors)
extends Record
implements ColorScheme
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NotNull AyaColorSchemeThe colors are from Emacs.static final @NotNull AyaColorSchemeThe colors are from IntelliJ IDEA light theme. -
Constructor Summary
ConstructorsConstructorDescriptionAyaColorScheme(@NotNull kala.collection.mutable.MutableMap<String, Integer> definedColors) Creates an instance of aAyaColorSchemerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedefinedColorsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
EMACS
The colors are from Emacs. -
INTELLIJ
The colors are from IntelliJ IDEA light theme.
-
-
Constructor Details
-
Method Details
-
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). -
definedColors
Returns the value of thedefinedColorsrecord component.- Specified by:
definedColorsin interfaceColorScheme- Returns:
- the value of the
definedColorsrecord component
-