Record Class Ek9Types
java.lang.Object
java.lang.Record
org.ek9lang.compiler.symbols.Ek9Types
- All Implemented Interfaces:
Serializable
public record Ek9Types(AnyTypeSymbol ek9Any, ISymbol ek9Void, ISymbol ek9Boolean, ISymbol ek9Integer, ISymbol ek9Float, ISymbol ek9String, ISymbol ek9Character, ISymbol ek9Date, ISymbol ek9DateTime, ISymbol ek9Time, ISymbol ek9Duration, ISymbol ek9Json, ISymbol ek9Millisecond, ISymbol ek9Path, ISymbol ek9Version, ISymbol ek9HttpRequest, ISymbol ek9HttpResponse, ISymbol ek9Exception, ISymbol ek9List, ISymbol ek9Iterator, ISymbol ek9Optional, ISymbol ek9Dictionary, ISymbol ek9DictionaryEntry, ISymbol ek9Result, ISymbol ek9Supplier, ISymbol ek9Consumer, ISymbol ek9Function, ISymbol ek9Routine, ISymbol ek9UnaryOperator, ISymbol ek9Predicate, ISymbol ek9Comparator, ISymbol ek9IO)
extends Record
implements Serializable
Used to cache built in types as they are so frequently used.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEk9Types(AnyTypeSymbol ek9Any, ISymbol ek9Void, ISymbol ek9Boolean, ISymbol ek9Integer, ISymbol ek9Float, ISymbol ek9String, ISymbol ek9Character, ISymbol ek9Date, ISymbol ek9DateTime, ISymbol ek9Time, ISymbol ek9Duration, ISymbol ek9Json, ISymbol ek9Millisecond, ISymbol ek9Path, ISymbol ek9Version, ISymbol ek9HttpRequest, ISymbol ek9HttpResponse, ISymbol ek9Exception, ISymbol ek9List, ISymbol ek9Iterator, ISymbol ek9Optional, ISymbol ek9Dictionary, ISymbol ek9DictionaryEntry, ISymbol ek9Result, ISymbol ek9Supplier, ISymbol ek9Consumer, ISymbol ek9Function, ISymbol ek9Routine, ISymbol ek9UnaryOperator, ISymbol ek9Predicate, ISymbol ek9Comparator, ISymbol ek9IO) Creates an instance of aEk9Typesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionek9Any()Returns the value of theek9Anyrecord component.Returns the value of theek9Booleanrecord component.Returns the value of theek9Characterrecord component.Returns the value of theek9Comparatorrecord component.Returns the value of theek9Consumerrecord component.ek9Date()Returns the value of theek9Daterecord component.Returns the value of theek9DateTimerecord component.Returns the value of theek9Dictionaryrecord component.Returns the value of theek9DictionaryEntryrecord component.Returns the value of theek9Durationrecord component.Returns the value of theek9Exceptionrecord component.ek9Float()Returns the value of theek9Floatrecord component.Returns the value of theek9Functionrecord component.Returns the value of theek9HttpRequestrecord component.Returns the value of theek9HttpResponserecord component.Returns the value of theek9Integerrecord component.ek9IO()Returns the value of theek9IOrecord component.Returns the value of theek9Iteratorrecord component.ek9Json()Returns the value of theek9Jsonrecord component.ek9List()Returns the value of theek9Listrecord component.Returns the value of theek9Millisecondrecord component.Returns the value of theek9Optionalrecord component.ek9Path()Returns the value of theek9Pathrecord component.Returns the value of theek9Predicaterecord component.Returns the value of theek9Resultrecord component.Returns the value of theek9Routinerecord component.Returns the value of theek9Stringrecord component.Returns the value of theek9Supplierrecord component.ek9Time()Returns the value of theek9Timerecord component.Returns the value of theek9UnaryOperatorrecord component.Returns the value of theek9Versionrecord component.ek9Void()Returns the value of theek9Voidrecord 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.
-
Constructor Details
-
Ek9Types
public Ek9Types(AnyTypeSymbol ek9Any, ISymbol ek9Void, ISymbol ek9Boolean, ISymbol ek9Integer, ISymbol ek9Float, ISymbol ek9String, ISymbol ek9Character, ISymbol ek9Date, ISymbol ek9DateTime, ISymbol ek9Time, ISymbol ek9Duration, ISymbol ek9Json, ISymbol ek9Millisecond, ISymbol ek9Path, ISymbol ek9Version, ISymbol ek9HttpRequest, ISymbol ek9HttpResponse, ISymbol ek9Exception, ISymbol ek9List, ISymbol ek9Iterator, ISymbol ek9Optional, ISymbol ek9Dictionary, ISymbol ek9DictionaryEntry, ISymbol ek9Result, ISymbol ek9Supplier, ISymbol ek9Consumer, ISymbol ek9Function, ISymbol ek9Routine, ISymbol ek9UnaryOperator, ISymbol ek9Predicate, ISymbol ek9Comparator, ISymbol ek9IO) Creates an instance of aEk9Typesrecord class.- Parameters:
ek9Any- the value for theek9Anyrecord componentek9Void- the value for theek9Voidrecord componentek9Boolean- the value for theek9Booleanrecord componentek9Integer- the value for theek9Integerrecord componentek9Float- the value for theek9Floatrecord componentek9String- the value for theek9Stringrecord componentek9Character- the value for theek9Characterrecord componentek9Date- the value for theek9Daterecord componentek9DateTime- the value for theek9DateTimerecord componentek9Time- the value for theek9Timerecord componentek9Duration- the value for theek9Durationrecord componentek9Json- the value for theek9Jsonrecord componentek9Millisecond- the value for theek9Millisecondrecord componentek9Path- the value for theek9Pathrecord componentek9Version- the value for theek9Versionrecord componentek9HttpRequest- the value for theek9HttpRequestrecord componentek9HttpResponse- the value for theek9HttpResponserecord componentek9Exception- the value for theek9Exceptionrecord componentek9List- the value for theek9Listrecord componentek9Iterator- the value for theek9Iteratorrecord componentek9Optional- the value for theek9Optionalrecord componentek9Dictionary- the value for theek9Dictionaryrecord componentek9DictionaryEntry- the value for theek9DictionaryEntryrecord componentek9Result- the value for theek9Resultrecord componentek9Supplier- the value for theek9Supplierrecord componentek9Consumer- the value for theek9Consumerrecord componentek9Function- the value for theek9Functionrecord componentek9Routine- the value for theek9Routinerecord componentek9UnaryOperator- the value for theek9UnaryOperatorrecord componentek9Predicate- the value for theek9Predicaterecord componentek9Comparator- the value for theek9Comparatorrecord componentek9IO- the value for theek9IOrecord component
-
-
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). -
ek9Any
Returns the value of theek9Anyrecord component.- Returns:
- the value of the
ek9Anyrecord component
-
ek9Void
Returns the value of theek9Voidrecord component.- Returns:
- the value of the
ek9Voidrecord component
-
ek9Boolean
Returns the value of theek9Booleanrecord component.- Returns:
- the value of the
ek9Booleanrecord component
-
ek9Integer
Returns the value of theek9Integerrecord component.- Returns:
- the value of the
ek9Integerrecord component
-
ek9Float
Returns the value of theek9Floatrecord component.- Returns:
- the value of the
ek9Floatrecord component
-
ek9String
Returns the value of theek9Stringrecord component.- Returns:
- the value of the
ek9Stringrecord component
-
ek9Character
Returns the value of theek9Characterrecord component.- Returns:
- the value of the
ek9Characterrecord component
-
ek9Date
Returns the value of theek9Daterecord component.- Returns:
- the value of the
ek9Daterecord component
-
ek9DateTime
Returns the value of theek9DateTimerecord component.- Returns:
- the value of the
ek9DateTimerecord component
-
ek9Time
Returns the value of theek9Timerecord component.- Returns:
- the value of the
ek9Timerecord component
-
ek9Duration
Returns the value of theek9Durationrecord component.- Returns:
- the value of the
ek9Durationrecord component
-
ek9Json
Returns the value of theek9Jsonrecord component.- Returns:
- the value of the
ek9Jsonrecord component
-
ek9Millisecond
Returns the value of theek9Millisecondrecord component.- Returns:
- the value of the
ek9Millisecondrecord component
-
ek9Path
Returns the value of theek9Pathrecord component.- Returns:
- the value of the
ek9Pathrecord component
-
ek9Version
Returns the value of theek9Versionrecord component.- Returns:
- the value of the
ek9Versionrecord component
-
ek9HttpRequest
Returns the value of theek9HttpRequestrecord component.- Returns:
- the value of the
ek9HttpRequestrecord component
-
ek9HttpResponse
Returns the value of theek9HttpResponserecord component.- Returns:
- the value of the
ek9HttpResponserecord component
-
ek9Exception
Returns the value of theek9Exceptionrecord component.- Returns:
- the value of the
ek9Exceptionrecord component
-
ek9List
Returns the value of theek9Listrecord component.- Returns:
- the value of the
ek9Listrecord component
-
ek9Iterator
Returns the value of theek9Iteratorrecord component.- Returns:
- the value of the
ek9Iteratorrecord component
-
ek9Optional
Returns the value of theek9Optionalrecord component.- Returns:
- the value of the
ek9Optionalrecord component
-
ek9Dictionary
Returns the value of theek9Dictionaryrecord component.- Returns:
- the value of the
ek9Dictionaryrecord component
-
ek9DictionaryEntry
Returns the value of theek9DictionaryEntryrecord component.- Returns:
- the value of the
ek9DictionaryEntryrecord component
-
ek9Result
Returns the value of theek9Resultrecord component.- Returns:
- the value of the
ek9Resultrecord component
-
ek9Supplier
Returns the value of theek9Supplierrecord component.- Returns:
- the value of the
ek9Supplierrecord component
-
ek9Consumer
Returns the value of theek9Consumerrecord component.- Returns:
- the value of the
ek9Consumerrecord component
-
ek9Function
Returns the value of theek9Functionrecord component.- Returns:
- the value of the
ek9Functionrecord component
-
ek9Routine
Returns the value of theek9Routinerecord component.- Returns:
- the value of the
ek9Routinerecord component
-
ek9UnaryOperator
Returns the value of theek9UnaryOperatorrecord component.- Returns:
- the value of the
ek9UnaryOperatorrecord component
-
ek9Predicate
Returns the value of theek9Predicaterecord component.- Returns:
- the value of the
ek9Predicaterecord component
-
ek9Comparator
Returns the value of theek9Comparatorrecord component.- Returns:
- the value of the
ek9Comparatorrecord component
-
ek9IO
Returns the value of theek9IOrecord component.- Returns:
- the value of the
ek9IOrecord component
-