Record Class AyaColorScheme
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
-
AyaColorScheme
-
-
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). -
definedColors
Returns the value of thedefinedColorsrecord component.- Specified by:
definedColorsin interfaceColorScheme- Returns:
- the value of the
definedColorsrecord component
-