Package org.ek9lang.compiler.symbols
Record Class Ek9Types
java.lang.Object
java.lang.Record
org.ek9lang.compiler.symbols.Ek9Types
- All Implemented Interfaces:
Serializable
public record Ek9Types(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 ek9UnaryOperator, ISymbol ek9Predicate, ISymbol ek9Comparator)
extends Record
implements Serializable
Used to cache built in types as they are so frequently used.
- See Also:
-
Constructor Summary
ConstructorDescriptionEk9Types
(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 ek9UnaryOperator, ISymbol ek9Predicate, ISymbol ek9Comparator) Creates an instance of aEk9Types
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theek9Boolean
record component.Returns the value of theek9Character
record component.Returns the value of theek9Comparator
record component.Returns the value of theek9Consumer
record component.ek9Date()
Returns the value of theek9Date
record component.Returns the value of theek9DateTime
record component.Returns the value of theek9Dictionary
record component.Returns the value of theek9DictionaryEntry
record component.Returns the value of theek9Duration
record component.Returns the value of theek9Exception
record component.ek9Float()
Returns the value of theek9Float
record component.Returns the value of theek9Function
record component.Returns the value of theek9HttpRequest
record component.Returns the value of theek9HttpResponse
record component.Returns the value of theek9Integer
record component.Returns the value of theek9Iterator
record component.ek9Json()
Returns the value of theek9Json
record component.ek9List()
Returns the value of theek9List
record component.Returns the value of theek9Millisecond
record component.Returns the value of theek9Optional
record component.ek9Path()
Returns the value of theek9Path
record component.Returns the value of theek9Predicate
record component.Returns the value of theek9Result
record component.Returns the value of theek9String
record component.Returns the value of theek9Supplier
record component.ek9Time()
Returns the value of theek9Time
record component.Returns the value of theek9UnaryOperator
record component.Returns the value of theek9Version
record component.ek9Void()
Returns the value of theek9Void
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.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
Ek9Types
public Ek9Types(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 ek9UnaryOperator, ISymbol ek9Predicate, ISymbol ek9Comparator) Creates an instance of aEk9Types
record class.- Parameters:
ek9Void
- the value for theek9Void
record componentek9Boolean
- the value for theek9Boolean
record componentek9Integer
- the value for theek9Integer
record componentek9Float
- the value for theek9Float
record componentek9String
- the value for theek9String
record componentek9Character
- the value for theek9Character
record componentek9Date
- the value for theek9Date
record componentek9DateTime
- the value for theek9DateTime
record componentek9Time
- the value for theek9Time
record componentek9Duration
- the value for theek9Duration
record componentek9Json
- the value for theek9Json
record componentek9Millisecond
- the value for theek9Millisecond
record componentek9Path
- the value for theek9Path
record componentek9Version
- the value for theek9Version
record componentek9HttpRequest
- the value for theek9HttpRequest
record componentek9HttpResponse
- the value for theek9HttpResponse
record componentek9Exception
- the value for theek9Exception
record componentek9List
- the value for theek9List
record componentek9Iterator
- the value for theek9Iterator
record componentek9Optional
- the value for theek9Optional
record componentek9Dictionary
- the value for theek9Dictionary
record componentek9DictionaryEntry
- the value for theek9DictionaryEntry
record componentek9Result
- the value for theek9Result
record componentek9Supplier
- the value for theek9Supplier
record componentek9Consumer
- the value for theek9Consumer
record componentek9Function
- the value for theek9Function
record componentek9UnaryOperator
- the value for theek9UnaryOperator
record componentek9Predicate
- the value for theek9Predicate
record componentek9Comparator
- the value for theek9Comparator
record component
-
-
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)
. -
ek9Void
Returns the value of theek9Void
record component.- Returns:
- the value of the
ek9Void
record component
-
ek9Boolean
Returns the value of theek9Boolean
record component.- Returns:
- the value of the
ek9Boolean
record component
-
ek9Integer
Returns the value of theek9Integer
record component.- Returns:
- the value of the
ek9Integer
record component
-
ek9Float
Returns the value of theek9Float
record component.- Returns:
- the value of the
ek9Float
record component
-
ek9String
Returns the value of theek9String
record component.- Returns:
- the value of the
ek9String
record component
-
ek9Character
Returns the value of theek9Character
record component.- Returns:
- the value of the
ek9Character
record component
-
ek9Date
Returns the value of theek9Date
record component.- Returns:
- the value of the
ek9Date
record component
-
ek9DateTime
Returns the value of theek9DateTime
record component.- Returns:
- the value of the
ek9DateTime
record component
-
ek9Time
Returns the value of theek9Time
record component.- Returns:
- the value of the
ek9Time
record component
-
ek9Duration
Returns the value of theek9Duration
record component.- Returns:
- the value of the
ek9Duration
record component
-
ek9Json
Returns the value of theek9Json
record component.- Returns:
- the value of the
ek9Json
record component
-
ek9Millisecond
Returns the value of theek9Millisecond
record component.- Returns:
- the value of the
ek9Millisecond
record component
-
ek9Path
Returns the value of theek9Path
record component.- Returns:
- the value of the
ek9Path
record component
-
ek9Version
Returns the value of theek9Version
record component.- Returns:
- the value of the
ek9Version
record component
-
ek9HttpRequest
Returns the value of theek9HttpRequest
record component.- Returns:
- the value of the
ek9HttpRequest
record component
-
ek9HttpResponse
Returns the value of theek9HttpResponse
record component.- Returns:
- the value of the
ek9HttpResponse
record component
-
ek9Exception
Returns the value of theek9Exception
record component.- Returns:
- the value of the
ek9Exception
record component
-
ek9List
Returns the value of theek9List
record component.- Returns:
- the value of the
ek9List
record component
-
ek9Iterator
Returns the value of theek9Iterator
record component.- Returns:
- the value of the
ek9Iterator
record component
-
ek9Optional
Returns the value of theek9Optional
record component.- Returns:
- the value of the
ek9Optional
record component
-
ek9Dictionary
Returns the value of theek9Dictionary
record component.- Returns:
- the value of the
ek9Dictionary
record component
-
ek9DictionaryEntry
Returns the value of theek9DictionaryEntry
record component.- Returns:
- the value of the
ek9DictionaryEntry
record component
-
ek9Result
Returns the value of theek9Result
record component.- Returns:
- the value of the
ek9Result
record component
-
ek9Supplier
Returns the value of theek9Supplier
record component.- Returns:
- the value of the
ek9Supplier
record component
-
ek9Consumer
Returns the value of theek9Consumer
record component.- Returns:
- the value of the
ek9Consumer
record component
-
ek9Function
Returns the value of theek9Function
record component.- Returns:
- the value of the
ek9Function
record component
-
ek9UnaryOperator
Returns the value of theek9UnaryOperator
record component.- Returns:
- the value of the
ek9UnaryOperator
record component
-
ek9Predicate
Returns the value of theek9Predicate
record component.- Returns:
- the value of the
ek9Predicate
record component
-
ek9Comparator
Returns the value of theek9Comparator
record component.- Returns:
- the value of the
ek9Comparator
record component
-