- java.lang.Object
-
- swim.structure.Item
-
- swim.structure.Value
-
- swim.structure.Record
-
- All Implemented Interfaces:
Comparable<Item>
,Iterable<Item>
,Collection<Item>
,List<Item>
,Debug
,Display
,Builder<Item,Record>
,PairBuilder<Value,Value,Record>
- Direct Known Subclasses:
AbstractRecordOutlet
,RecordStreamlet
public abstract class Record extends Value implements List<Item>, Builder<Item,Record>, PairBuilder<Value,Value,Record>
-
-
Constructor Summary
Constructors Constructor Description Record()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
add(boolean item)
boolean
add(double item)
boolean
add(float item)
boolean
add(int item)
void
add(int index, boolean item)
void
add(int index, double item)
void
add(int index, float item)
void
add(int index, int item)
void
add(int index, long item)
void
add(int index, String item)
abstract void
add(int index, Item item)
boolean
add(long item)
boolean
add(String item)
abstract boolean
add(Item item)
Adds a single input value to this builder, returningtrue
if the state of the builder changed.boolean
add(Value key, Value value)
Adds an input pair to this builder, returningtrue
if the state of the builder changed.boolean
addAll(int index, Collection<? extends Item> items)
boolean
addAll(Collection<? extends Item> items)
Adds multiple input values to this builder, returningtrue
if the state of the builder changed.void
alias()
Record
appended(Object... items)
Record
appended(Item item)
Record
asMutable()
Record
attr(String key)
Record
attr(String key, boolean value)
Record
attr(String key, double value)
Record
attr(String key, float value)
Record
attr(String key, int value)
Record
attr(String key, long value)
Record
attr(String key, String value)
Record
attr(String key, Value value)
Record
attr(Text key)
Record
attr(Text key, boolean value)
Record
attr(Text key, double value)
Record
attr(Text key, float value)
Record
attr(Text key, int value)
Record
attr(Text key, long value)
Record
attr(Text key, String value)
Record
attr(Text key, Value value)
Record
bind()
Returns the output result of this builder.Value
body()
Record
branch()
abstract void
clear()
Record
commit()
int
compareTo(Item other)
int
compareTo(Record that)
Record
concat(Item that)
boolean
contains(Object item)
Returnstrue
if thisRecord
has a member equal toItem.fromObject(item)
; otherwise returnsfalse
if thisRecord
has no member equal toItem.fromObject(item)
.boolean
contains(Item item)
Returnstrue
if thisRecord
has a member equal toitem
; otherwise returnsfalse
if thisRecord
has no member equal toitem
.boolean
containsAll(Collection<?> items)
Returnstrue
if thisRecord
has a member equal to every item initems
; returnsfalse
if any item initems
is not contained in thisRecord
.boolean
containsKey(String key)
Returnstrue
if thisRecord
has aField
member with a key that is equal to the givenkey
; otherwise returnsfalse
if thisRecord
has noField
member with a key equal to the givenkey
.boolean
containsKey(Value key)
Returnstrue
if thisRecord
has aField
member with a key that is equal to the givenkey
; otherwise returnsfalse
if thisRecord
has noField
member with a key equal to the givenkey
.boolean
containsValue(Value value)
Returnstrue
if thisRecord
has aField
member with a value that is equal to the givenvalue
; otherwise returnsfalse
if thisRecord
has noField
member with a value equal to the givenvalue
.static Record
create()
static Record
create(int initialSize)
<T> Output<T>
debug(Output<T> output)
Writes a developer readable, debug-formatted string representation of this object tooutput
.static Record
empty()
Set<Map.Entry<Value,Value>>
entrySet()
boolean
equals(Object other)
Record
evaluate(Interpreter interpreter)
int
fieldCount()
Returns the number ofField
members contained in thisRecord
.Iterator<Field>
fieldIterator()
Set<Field>
fieldSet()
Value
flattened()
Returns the sole member of thisRecord
, if thisRecord
has exactly one member, and its member is aValue
; returnsExtant
if thisRecord
is empty; otherwise returnsthis
if thisRecord
has more than one member.abstract Item
get(int index)
Returns the member of thisRecord
at the givenindex
, if theindex
is greater than or equal to zero, and less than thelength
of thisRecord
.Value
get(String key)
Value
get(Value key)
Value
getAttr(String key)
Value
getAttr(Text key)
Field
getField(String key)
Returns the lastField
member of thisRecord
whose key is equal to the givenkey
; returnsnull
if thisRecord
has noField
member with akey
equal to the givenkey
.Field
getField(Value key)
Returns the lastField
member of thisRecord
whose key is equal to the givenkey
; returnsnull
if thisRecord
has noField
member with akey
equal to the givenkey
.abstract Item
getItem(int index)
Value
getSlot(String key)
Value
getSlot(Value key)
int
hashCode()
Item
head()
Value
header(String tag)
Record
headers(String tag)
int
indexOf(Object item)
boolean
isAliased()
boolean
isArray()
boolean
isConstant()
boolean
isDefinite()
Returnstrue
if thisValue
is not one of: an emptyRecord
,False
,Extant
, orAbsent
.abstract boolean
isEmpty()
Returnstrue
if thisRecord
has no members.boolean
isMutable()
boolean
isObject()
Record
item(boolean item)
Record
item(double item)
Record
item(float item)
Record
item(int item)
Record
item(long item)
Record
item(String item)
Record
item(Item item)
Iterator<Item>
iterator()
Iterator<Value>
keyIterator()
Set<Value>
keySet()
int
lastIndexOf(Object item)
int
length()
Returns the number of members contained in thisRecord
; equivalent tosize()
.ListIterator<Item>
listIterator()
ListIterator<Item>
listIterator(int index)
static Record
of()
static Record
of(Object object)
static Record
of(Object... objects)
Record
prepended(Object... items)
Record
prepended(Item item)
Value
put(String key, boolean newValue)
Value
put(String key, double newValue)
Value
put(String key, float newValue)
Value
put(String key, int newValue)
Value
put(String key, long newValue)
Value
put(String key, String newValue)
Value
put(String key, Value newValue)
Value
put(Value key, boolean newValue)
Value
put(Value key, double newValue)
Value
put(Value key, float newValue)
Value
put(Value key, int newValue)
Value
put(Value key, long newValue)
Value
put(Value key, String newValue)
Value
put(Value key, Value newValue)
void
putAll(Map<? extends Value,? extends Value> fields)
Value
putAttr(String key, boolean newValue)
Value
putAttr(String key, double newValue)
Value
putAttr(String key, float newValue)
Value
putAttr(String key, int newValue)
Value
putAttr(String key, long newValue)
Value
putAttr(String key, String newValue)
Value
putAttr(String key, Value newValue)
Value
putAttr(Text key, boolean newValue)
Value
putAttr(Text key, double newValue)
Value
putAttr(Text key, float newValue)
Value
putAttr(Text key, int newValue)
Value
putAttr(Text key, long newValue)
Value
putAttr(Text key, String newValue)
Value
putAttr(Text key, Value newValue)
Value
putSlot(String key, boolean newValue)
Value
putSlot(String key, double newValue)
Value
putSlot(String key, float newValue)
Value
putSlot(String key, int newValue)
Value
putSlot(String key, long newValue)
Value
putSlot(String key, String newValue)
Value
putSlot(String key, Value newValue)
Value
putSlot(Value key, boolean newValue)
Value
putSlot(Value key, double newValue)
Value
putSlot(Value key, float newValue)
Value
putSlot(Value key, int newValue)
Value
putSlot(Value key, long newValue)
Value
putSlot(Value key, String newValue)
Value
putSlot(Value key, Value newValue)
abstract Item
remove(int index)
boolean
remove(Object object)
boolean
removeAll(Collection<?> items)
Record
removed(String key)
Record
removed(Value key)
boolean
removeKey(String key)
boolean
removeKey(Value key)
boolean
retainAll(Collection<?> items)
Item
set(int index, Item item)
Replaces the member of thisRecord
at the givenindex
with a newitem
, returning the previousItem
at the givenindex
, if theindex
is greater than or equal to zero, and less than thelength
of thisRecord
.Item
setItem(int index, boolean value)
Item
setItem(int index, double value)
Item
setItem(int index, float value)
Item
setItem(int index, int value)
Item
setItem(int index, long value)
Item
setItem(int index, String value)
abstract Item
setItem(int index, Item item)
Replaces the member of thisRecord
at the givenindex
with a newitem
, returning the previousItem
at the givenindex
, if theindex
is greater than or equal to zero, and less than thelength
of thisRecord
.abstract int
size()
Returns the number of members contained in thisRecord
.Record
slot(String key)
Record
slot(String key, boolean value)
Record
slot(String key, double value)
Record
slot(String key, float value)
Record
slot(String key, int value)
Record
slot(String key, long value)
Record
slot(String key, String value)
Record
slot(String key, Value value)
Record
slot(Value key)
Record
slot(Value key, boolean value)
Record
slot(Value key, double value)
Record
slot(Value key, float value)
Record
slot(Value key, int value)
Record
slot(Value key, long value)
Record
slot(Value key, String value)
Record
slot(Value key, Value value)
String
stringValue()
Converts thisValue
into aString
value, if possible.String
stringValue(String orElse)
Converts thisValue
into aString
value, if possible; otherwise returnsorElse
if thisValue
can't be converted into astring
value.Record
subList(int fromIndex, int toIndex)
Record
substitute(Interpreter interpreter)
String
tag()
Returns thekey
string of the first member of thisRecord
, if the first member is anAttr
; otherwise returnsnull
if the first member is not anAttr
.Record
tail()
Returns a view of all but the first member of thisRecord
, if thisRecord
is non-empty; otherwise returns an emptyRecord
, if thisRecord
is itself empty.Value
target()
Returns theflattened
members of thisRecord
after all attributes have been removed.Item[]
toArray()
<T> T[]
toArray(T[] array)
int
typeOrder()
Returns the heterogeneous sort order of thisItem
.Record
unflattened()
Returnsthis
Record
.Record
updated(String key, Value value)
Record
updated(Value key, Value value)
Record
updatedAttr(String key, Value value)
Record
updatedAttr(Text key, Value value)
Record
updatedSlot(String key, Value value)
Record
updatedSlot(Value key, Value value)
int
valueCount()
Returns the number ofValue
members contained in thisRecord
.Iterator<Value>
valueIterator()
Collection<Value>
values()
-
Methods inherited from class swim.structure.Value
absent, and, and, bitwiseAnd, bitwiseAnd, bitwiseNot, bitwiseOr, bitwiseOr, bitwiseXor, bitwiseXor, booleanValue, booleanValue, builder, byteValue, byteValue, charValue, charValue, conditional, conditional, divide, divide, doubleValue, doubleValue, eq, eq, extant, floatValue, floatValue, fromObject, ge, ge, gt, gt, integerValue, integerValue, intValue, intValue, inverse, isDefined, isDistinct, key, keyEquals, lambda, le, le, longValue, longValue, lt, lt, minus, minus, modulo, modulo, ne, ne, negative, not, numberValue, numberValue, or, or, plus, plus, positive, shortValue, shortValue, times, times, toValue
-
Methods inherited from class swim.structure.Item
appended, appended, appended, appended, appended, appended, cast, cast, coerce, coerce, display, evaluate, filter, filter, globalScope, invoke, max, min, precedence, prepended, prepended, prepended, prepended, prepended, prepended, substitute, toString, updated, updated, updated, updated, updated, updated, updated, updated, updated, updated, updated, updated, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedSlot, updatedSlot, updatedSlot, updatedSlot, updatedSlot, updatedSlot, updatedSlot, updatedSlot, updatedSlot, updatedSlot, updatedSlot, updatedSlot
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
replaceAll, sort, spliterator
-
-
-
-
Method Detail
-
isDefinite
public boolean isDefinite()
Description copied from class:Value
Returnstrue
if thisValue
is not one of: an emptyRecord
,False
,Extant
, orAbsent
.- Overrides:
isDefinite
in classValue
-
isEmpty
public abstract boolean isEmpty()
Returnstrue
if thisRecord
has no members.
-
isArray
public boolean isArray()
-
isObject
public boolean isObject()
-
size
public abstract int size()
Returns the number of members contained in thisRecord
.
-
length
public final int length()
Returns the number of members contained in thisRecord
; equivalent tosize()
.
-
fieldCount
public int fieldCount()
Returns the number ofField
members contained in thisRecord
.
-
valueCount
public int valueCount()
Returns the number ofValue
members contained in thisRecord
.
-
isConstant
public boolean isConstant()
Description copied from class:Item
- Specified by:
isConstant
in classItem
-
tag
public String tag()
Returns thekey
string of the first member of thisRecord
, if the first member is anAttr
; otherwise returnsnull
if the first member is not anAttr
.Used to concisely get the name of the discriminating attribute of a structure. The
tag
can be used to discern the nominal type of a polymorphic structure, similar to an XML element tag.
-
target
public Value target()
Returns theflattened
members of thisRecord
after all attributes have been removed.Used to concisely get the scalar value of an attributed structure. An attributed structure is a
Record
with one or more attributes that modify one or more other members.
-
flattened
public Value flattened()
Returns the sole member of thisRecord
, if thisRecord
has exactly one member, and its member is aValue
; returnsExtant
if thisRecord
is empty; otherwise returnsthis
if thisRecord
has more than one member.Used to convert a unary
Record
into its memberValue
. Facilitates writing code that treats a unaryRecord
equivalently to a bareValue
.
-
unflattened
public Record unflattened()
Returnsthis
Record
.- Overrides:
unflattened
in classValue
-
header
public Value header(String tag)
Returns the value of the first member of thisRecord
, if the first member is anAttr
whosekey
string is equal totag
; otherwise returnsAbsent
if the first member of thisRecord
is not anAttr
, or if the first member of thisRecord
is anAttr
whosekey
does not equal thetag
.Used to conditionally get the value of the head
Attr
of a structure, if and only if the key string of the headAttr
is equal to thetag
. Can be used to check if a structure might conform to a nominal type namedtag
, while simultaneously getting the value of thetag
attribute.
-
headers
public Record headers(String tag)
Returns theunflattened
header
of thisRecord
. Theheaders
of thetag
attribute of a structure are like the attributes of an XML element tag; through unlike an XML element,tag
attribute headers are not limited to string keys and values.
-
tail
public Record tail()
Returns a view of all but the first member of thisRecord
, if thisRecord
is non-empty; otherwise returns an emptyRecord
, if thisRecord
is itself empty.
-
body
public Value body()
-
contains
public boolean contains(Object item)
Returnstrue
if thisRecord
has a member equal toItem.fromObject(item)
; otherwise returnsfalse
if thisRecord
has no member equal toItem.fromObject(item)
.
-
contains
public boolean contains(Item item)
Returnstrue
if thisRecord
has a member equal toitem
; otherwise returnsfalse
if thisRecord
has no member equal toitem
.
-
containsAll
public boolean containsAll(Collection<?> items)
Returnstrue
if thisRecord
has a member equal to every item initems
; returnsfalse
if any item initems
is not contained in thisRecord
.- Specified by:
containsAll
in interfaceCollection<Item>
- Specified by:
containsAll
in interfaceList<Item>
-
containsKey
public boolean containsKey(Value key)
Returnstrue
if thisRecord
has aField
member with a key that is equal to the givenkey
; otherwise returnsfalse
if thisRecord
has noField
member with a key equal to the givenkey
.- Overrides:
containsKey
in classValue
-
containsKey
public boolean containsKey(String key)
Returnstrue
if thisRecord
has aField
member with a key that is equal to the givenkey
; otherwise returnsfalse
if thisRecord
has noField
member with a key equal to the givenkey
. Equivalent tocontainsKey(Value)
, but avoids boxing thekey
string into aText
value.- Overrides:
containsKey
in classValue
-
containsValue
public boolean containsValue(Value value)
Returnstrue
if thisRecord
has aField
member with a value that is equal to the givenvalue
; otherwise returnsfalse
if thisRecord
has noField
member with a value equal to the givenvalue
.- Overrides:
containsValue
in classValue
-
lastIndexOf
public int lastIndexOf(Object item)
- Specified by:
lastIndexOf
in interfaceList<Item>
-
get
public Value get(String key)
Returns the value of the lastField
member of thisRecord
whose key is equal to the givenkey
; returnsAbsent
if thisRecord
has noField
member with a key equal to the givenkey
. Equivalent toget(Value)
, but avoids boxing thekey
string into aText
value.
-
getAttr
public Value getAttr(String key)
Returns the value of the lastAttr
member of thisRecord
whose key is equal to the givenkey
; returnsAbsent
if thisRecord
has noAttr
member with a key equal to the givenkey
. Equivalent togetAttr(Text)
, but avoids boxing thekey
string into aText
value.
-
getSlot
public Value getSlot(String key)
Returns the value of the lastSlot
member of thisRecord
whose key is equal to the givenkey
; returnsAbsent
if thisRecord
has noSlot
member with a key equal to the givenkey
. Equivalent togetSlot(Value)
, but avoids boxing thekey
string into aText
value.
-
getField
public Field getField(Value key)
Returns the lastField
member of thisRecord
whose key is equal to the givenkey
; returnsnull
if thisRecord
has noField
member with akey
equal to the givenkey
.
-
getField
public Field getField(String key)
Returns the lastField
member of thisRecord
whose key is equal to the givenkey
; returnsnull
if thisRecord
has noField
member with akey
equal to the givenkey
. Equivalent togetField(Value)
, but avoids boxing thekey
string into aText
value.
-
get
public abstract Item get(int index)
Returns the member of thisRecord
at the givenindex
, if theindex
is greater than or equal to zero, and less than thelength
of thisRecord
.- Specified by:
get
in interfaceList<Item>
- Throws:
IndexOutOfBoundsException
- if theindex
is out of bounds.
-
getItem
public abstract Item getItem(int index)
-
set
public Item set(int index, Item item)
Replaces the member of thisRecord
at the givenindex
with a newitem
, returning the previousItem
at the givenindex
, if theindex
is greater than or equal to zero, and less than thelength
of thisRecord
. Equivalent tosetItem(int, Item)
.- Specified by:
set
in interfaceList<Item>
- Throws:
UnsupportedOperationException
- if this is an immutableRecord
.IndexOutOfBoundsException
- if theindex
is out of bounds.
-
setItem
public abstract Item setItem(int index, Item item)
Replaces the member of thisRecord
at the givenindex
with a newitem
, returning the previousItem
at the givenindex
, if theindex
is greater than or equal to zero, and less than thelength
of thisRecord
.- Throws:
UnsupportedOperationException
- if this is an immutableRecord
.IndexOutOfBoundsException
- if theindex
is out of bounds.
-
setItem
public Item setItem(int index, String value)
Replaces the member of thisRecord
at the givenindex
with aText
value
, returning the previousItem
at the givenindex
, if theindex
is greater than or equal to zero, and less than thelength
of thisRecord
.- Throws:
UnsupportedOperationException
- if this is an immutableRecord
.IndexOutOfBoundsException
- if theindex
is out of bounds.
-
setItem
public Item setItem(int index, int value)
Replaces the member of thisRecord
at the givenindex
with aNum
value
, returning the previousItem
at the givenindex
, if theindex
is greater than or equal to zero, and less than thelength
of thisRecord
.- Throws:
UnsupportedOperationException
- if this is an immutableRecord
.IndexOutOfBoundsException
- if theindex
is out of bounds.
-
setItem
public Item setItem(int index, long value)
Replaces the member of thisRecord
at the givenindex
with aNum
value
, returning the previousItem
at the givenindex
, if theindex
is greater than or equal to zero, and less than thelength
of thisRecord
.- Throws:
UnsupportedOperationException
- if this is an immutableRecord
.IndexOutOfBoundsException
- if theindex
is out of bounds.
-
setItem
public Item setItem(int index, float value)
Replaces the member of thisRecord
at the givenindex
with aNum
value
, returning the previousItem
at the givenindex
, if theindex
is greater than or equal to zero, and less than thelength
of thisRecord
.- Throws:
UnsupportedOperationException
- if this is an immutableRecord
.IndexOutOfBoundsException
- if theindex
is out of bounds.
-
setItem
public Item setItem(int index, double value)
Replaces the member of thisRecord
at the givenindex
with aNum
value
, returning the previousItem
at the givenindex
, if theindex
is greater than or equal to zero, and less than thelength
of thisRecord
.- Throws:
UnsupportedOperationException
- if this is an immutableRecord
.IndexOutOfBoundsException
- if theindex
is out of bounds.
-
setItem
public Item setItem(int index, boolean value)
Replaces the member of thisRecord
at the givenindex
with aBool
value
, returning the previousItem
at the givenindex
, if theindex
is greater than or equal to zero, and less than thelength
of thisRecord
.- Throws:
UnsupportedOperationException
- if this is an immutableRecord
.IndexOutOfBoundsException
- if theindex
is out of bounds.
-
add
public abstract boolean add(Item item)
Description copied from interface:Builder
Adds a single input value to this builder, returningtrue
if the state of the builder changed.
-
add
public boolean add(String item)
-
add
public boolean add(int item)
-
add
public boolean add(long item)
-
add
public boolean add(float item)
-
add
public boolean add(double item)
-
add
public boolean add(boolean item)
-
add
public void add(int index, String item)
-
add
public void add(int index, int item)
-
add
public void add(int index, long item)
-
add
public void add(int index, float item)
-
add
public void add(int index, double item)
-
add
public void add(int index, boolean item)
-
add
public boolean add(Value key, Value value)
Description copied from interface:PairBuilder
Adds an input pair to this builder, returningtrue
if the state of the builder changed.- Specified by:
add
in interfacePairBuilder<Value,Value,Record>
-
addAll
public boolean addAll(Collection<? extends Item> items)
Description copied from interface:Builder
Adds multiple input values to this builder, returningtrue
if the state of the builder changed.
-
addAll
public boolean addAll(int index, Collection<? extends Item> items)
-
item
public Record item(int item)
-
item
public Record item(long item)
-
item
public Record item(float item)
-
item
public Record item(double item)
-
item
public Record item(boolean item)
-
remove
public boolean remove(Object object)
-
removeKey
public boolean removeKey(Value key)
-
removeKey
public boolean removeKey(String key)
-
removeAll
public boolean removeAll(Collection<?> items)
-
retainAll
public boolean retainAll(Collection<?> items)
-
clear
public abstract void clear()
-
updatedAttr
public Record updatedAttr(Text key, Value value)
- Overrides:
updatedAttr
in classItem
-
updatedAttr
public Record updatedAttr(String key, Value value)
- Overrides:
updatedAttr
in classItem
-
updatedSlot
public Record updatedSlot(Value key, Value value)
- Overrides:
updatedSlot
in classItem
-
updatedSlot
public Record updatedSlot(String key, Value value)
- Overrides:
updatedSlot
in classItem
-
evaluate
public Record evaluate(Interpreter interpreter)
-
substitute
public Record substitute(Interpreter interpreter)
- Overrides:
substitute
in classItem
-
stringValue
public String stringValue()
Description copied from class:Value
Converts thisValue
into aString
value, if possible.- Overrides:
stringValue
in classValue
-
stringValue
public String stringValue(String orElse)
Description copied from class:Value
Converts thisValue
into aString
value, if possible; otherwise returnsorElse
if thisValue
can't be converted into astring
value.- Overrides:
stringValue
in classValue
-
asMutable
public Record asMutable()
-
bind
public Record bind()
Description copied from interface:Builder
Returns the output result of this builder.
-
toArray
public Item[] toArray()
-
toArray
public <T> T[] toArray(T[] array)
-
subList
public Record subList(int fromIndex, int toIndex)
-
values
public Collection<Value> values()
-
listIterator
public ListIterator<Item> listIterator()
- Specified by:
listIterator
in interfaceList<Item>
-
listIterator
public ListIterator<Item> listIterator(int index)
- Specified by:
listIterator
in interfaceList<Item>
-
typeOrder
public int typeOrder()
Description copied from class:Item
Returns the heterogeneous sort order of thisItem
. Used to impose a total order on the set of all items. When comparing two items of different types, the items order according to theirtypeOrder
.
-
compareTo
public int compareTo(Item other)
- Specified by:
compareTo
in interfaceComparable<Item>
- Specified by:
compareTo
in classItem
-
compareTo
public int compareTo(Record that)
-
equals
public boolean equals(Object other)
-
hashCode
public int hashCode()
-
debug
public <T> Output<T> debug(Output<T> output)
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
.
-
empty
public static Record empty()
-
create
public static Record create()
-
create
public static Record create(int initialSize)
-
of
public static Record of()
-
-