Package net.binis.codegen.collection
Class CodeListImpl<T,R>
java.lang.Object
net.binis.codegen.collection.CodeListImpl<T,R>
- All Implemented Interfaces:
CodeList<T,,R> BaseModifier<CodeList<T,R>, R>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription_if(boolean condition, BiConsumer<CodeList<T, R>, R> consumer, BiConsumer<CodeList<T, R>, R> elseConsumer) addAll(int index, Collection<? extends T> collection) addAll(Collection<? extends T> collection) clear()done()remove(int index) removeAll(Collection<?> collection) replaceAll(UnaryOperator<T> operator) retainAll(Collection<?> collection) sort(Comparator<? super T> c) protected void
-
Field Details
-
parent
-
list
-
validator
-
-
Constructor Details
-
CodeListImpl
-
CodeListImpl
-
-
Method Details
-
add
-
add
-
addAll
-
addAll
-
remove
-
remove
-
removeAll
-
retainAll
-
replaceAll
- Specified by:
replaceAllin interfaceCodeList<T,R>
-
sort
-
clear
-
set
-
addFirst
-
removeFirst
- Specified by:
removeFirstin interfaceCodeList<T,R>
-
removeLast
- Specified by:
removeLastin interfaceCodeList<T,R>
-
done
- Specified by:
donein interfaceBaseModifier<T,R>
-
_if
- Specified by:
_ifin interfaceBaseModifier<T,R>
-
_if
- Specified by:
_ifin interfaceBaseModifier<T,R>
-
_if
public CodeList<T,R> _if(boolean condition, Consumer<CodeList<T, R>> consumer, Consumer<CodeList<T, R>> elseConsumer) - Specified by:
_ifin interfaceBaseModifier<T,R>
-
_if
public CodeList<T,R> _if(boolean condition, BiConsumer<CodeList<T, R>, R> consumer, BiConsumer<CodeList<T, R>, R> elseConsumer) - Specified by:
_ifin interfaceBaseModifier<T,R>
-
_self
- Specified by:
_selfin interfaceBaseModifier<T,R>
-
_map
- Specified by:
_mapin interfaceBaseModifier<T,R>
-
validate
-