Class ListBuilder<T>
java.lang.Object
org.aksw.shellgebra.exec.ListBuilder<T>
-
Method Summary
Modifier and TypeMethodDescriptionaddAll(Collection<T> items) addAllNonNull(T... items) T[]static <T> ListBuilder<T> Convenience method to use ListBuilder.forObject(MyType.class); Alterantive to ListBuilder.of(String[]::new).static <T> ListBuilder<T> of(IntFunction<T[]> fn) static ListBuilder<String> ofString()static ListBuilder<String> ofString(int initialCapacity)
-
Method Details
-
add
-
addAll
-
addAll
-
addAllNonNull
-
buildList
-
buildArray
-
ofString
-
ofString
-
of
Convenience method to use ListBuilder.forObject(MyType.class); Alterantive to ListBuilder.of(String[]::new). -
of
-