MoonLightRecord

public final class MoonLightRecord extends Record

MoonlightRecords are essentially tuple types.

They are implemented similarly to Java EE Tuples .

Constructors

Link copied to clipboard
public void MoonLightRecord()

Functions

Link copied to clipboard
public boolean equals(Object o)
Link copied to clipboard
public Object get(int i)
Returns the i-th element of a tuple as an Object.
public T get<T>(int i, Class<T> varType)
Returns the (typed) i-th element of the tuple.
Link copied to clipboard
public double getDoubleOf(int i)
Converts the i-th element to a Double.
Link copied to clipboard
public Class<? extends Object> getTypeOf(int i)
Returns the class of the i-th element of a tuple.
Link copied to clipboard
Link copied to clipboard
public int hashCode()
Link copied to clipboard
public boolean hasType<T>(int i, Class<T> varType)
Checks whether the i-th element of the tuple has the passed type.
Link copied to clipboard
public String toString()