public class OuterList extends Object implements Type<List<ListElement<? extends Object>>>
Modifier and Type | Method and Description |
---|---|
List<ListElement<? extends Object>> |
get() |
String |
serialize()
Serialize.
|
StringBuilder |
serializeTo(StringBuilder sb)
Serialize to an existing
StringBuilder . |
static OuterList |
valueOf(List<ListElement<? extends Object>> value)
Creates an
OuterList instance representing the specified
List<Item> value. |
public static OuterList valueOf(List<ListElement<? extends Object>> value)
OuterList
instance representing the specified
List<Item>
value.value
- a List<Item>
value.OuterList
representing value
.public StringBuilder serializeTo(StringBuilder sb)
Type
StringBuilder
.serializeTo
in interface Type<List<ListElement<? extends Object>>>
sb
- where to serialize toStringBuilder
so calls can be chained.public String serialize()
Type
serialize
in interface Type<List<ListElement<? extends Object>>>
public List<ListElement<? extends Object>> get()
get
in interface Supplier<List<ListElement<? extends Object>>>
Copyright © 2021 The Apache Software Foundation. All rights reserved.