Interface TsonArrayBuilder
- All Superinterfaces:
Iterable<TsonElement>, TsonElementBase, TsonElementBuilder
-
Method Summary
Modifier and TypeMethodDescriptionadd(TsonElementBase element) add(TsonElementBase element, int index) addAll(Iterable<? extends TsonElementBase> element) addAll(TsonElement... element) addAll(TsonElementBase... element) addAnnotation(String name, TsonElementBase... elements) addAnnotation(TsonAnnotation annotation) addAnnotations(Collection<TsonAnnotation> annotations) addAnnotations(TsonAnnotation... annotations) addParam(TsonElementBase element) addParam(TsonElementBase element, int index) addParams(Iterable<? extends TsonElementBase> element) addParams(TsonElement[] element) addParams(TsonElementBase[] element) all()annotation(String name, TsonElementBase... elements) body()build()comments(TsonComments comments) /////////////////////////////////////////////ensureCapacity(int length) getAll()booleanmerge(TsonElementBase element) name()params()intremove(TsonElementBase element) removeAnnotationAt(int index) removeAt(int index) removeParam(TsonElementBase element) removeParamAt(int index) reset()setAnnotations(TsonAnnotation... annotations) setComments(TsonComments comments) setParametrized(boolean parametrized) Methods inherited from interface Iterable
forEach, iterator, spliteratorMethods inherited from interface TsonElementBase
toString, toString, toStringMethods inherited from interface TsonElementBuilder
anchor, annotations, comments, toArray, toObject, toUplet, type
-
Method Details
-
reset
TsonArrayBuilder reset() -
merge
-
addAll
-
addAll
-
addAll
-
add
-
remove
-
add
-
removeAt
-
build
TsonArray build()- Specified by:
buildin interfaceTsonElementBase- Specified by:
buildin interfaceTsonElementBuilder
-
all
List<TsonElement> all() -
getAll
List<TsonElement> getAll() -
removeAll
TsonArrayBuilder removeAll() -
comments
/////////////////////////////////////////////- Specified by:
commentsin interfaceTsonElementBuilder
-
setComments
- Specified by:
setCommentsin interfaceTsonElementBuilder
-
setAnnotations
- Specified by:
setAnnotationsin interfaceTsonElementBuilder
-
addAnnotations
- Specified by:
addAnnotationsin interfaceTsonElementBuilder
-
addAnnotations
- Specified by:
addAnnotationsin interfaceTsonElementBuilder
-
annotation
- Specified by:
annotationin interfaceTsonElementBuilder
-
addAnnotation
- Specified by:
addAnnotationin interfaceTsonElementBuilder
-
addAnnotation
- Specified by:
addAnnotationin interfaceTsonElementBuilder
-
removeAnnotationAt
- Specified by:
removeAnnotationAtin interfaceTsonElementBuilder
-
clearAnnotations
TsonArrayBuilder clearAnnotations()- Specified by:
clearAnnotationsin interfaceTsonElementBuilder
-
ensureCapacity
-
isParametrized
boolean isParametrized() -
setParametrized
-
params
List<TsonElement> params() -
paramsCount
int paramsCount() -
clearParams
TsonArrayBuilder clearParams() -
name
String name() -
name
-
addParam
-
removeParam
-
addParam
-
removeParamAt
-
addParams
-
addParams
-
addParams
-
body
List<TsonElement> body() -
clearBody
TsonArrayBuilder clearBody()
-