Package net.binis.codegen.collection
Class EmbeddedCodeCollectionImpl<M,T,R>
java.lang.Object
net.binis.codegen.collection.EmbeddedCodeCollectionImpl<M,T,R>
- All Implemented Interfaces:
EmbeddedCodeCollection<M,,T, R> Modifier<R>
- Direct Known Subclasses:
EmbeddedCodeListImpl,EmbeddedCodeSetImpl
public abstract class EmbeddedCodeCollectionImpl<M,T,R>
extends Object
implements EmbeddedCodeCollection<M,T,R>, Modifier<R>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedEmbeddedCodeCollectionImpl(R parent, Collection<T> collection, Class<T> cls) protectedEmbeddedCodeCollectionImpl(R parent, Collection<T> collection, Class<T> cls, Consumer<T> validator) -
Method Summary
Modifier and TypeMethodDescription_add()_add$(UnaryOperator<M> init) _clear()_ifContains(Predicate<T> predicate, Consumer<EmbeddedCodeCollection<M, T, R>> doWhat) _ifContains(T value, Consumer<EmbeddedCodeCollection<M, T, R>> doWhat) _ifNotContains(Predicate<T> predicate, Consumer<EmbeddedCodeCollection<M, T, R>> doWhat) _ifNotContains(T value, Consumer<EmbeddedCodeCollection<M, T, R>> doWhat) _ifNotEmpty(Consumer<EmbeddedCodeCollection<M, T, R>> doWhat) _stream()done()voidprotected void
-
Field Details
-
collection
-
validator
-
parent
-
cls
-
-
Constructor Details
-
EmbeddedCodeCollectionImpl
-
EmbeddedCodeCollectionImpl
-
-
Method Details
-
_add
- Specified by:
_addin interfaceEmbeddedCodeCollection<M,T, R>
-
_add$
- Specified by:
_add$in interfaceEmbeddedCodeCollection<M,T, R>
-
_remove
- Specified by:
_removein interfaceEmbeddedCodeCollection<M,T, R>
-
_clear
- Specified by:
_clearin interfaceEmbeddedCodeCollection<M,T, R>
-
_each
- Specified by:
_eachin interfaceEmbeddedCodeCollection<M,T, R>
-
_ifEmpty
- Specified by:
_ifEmptyin interfaceEmbeddedCodeCollection<M,T, R>
-
_ifNotEmpty
- Specified by:
_ifNotEmptyin interfaceEmbeddedCodeCollection<M,T, R>
-
_ifContains
public EmbeddedCodeCollection<M,T, _ifContainsR> (T value, Consumer<EmbeddedCodeCollection<M, T, R>> doWhat) - Specified by:
_ifContainsin interfaceEmbeddedCodeCollection<M,T, R>
-
_ifContains
public EmbeddedCodeCollection<M,T, _ifContainsR> (Predicate<T> predicate, Consumer<EmbeddedCodeCollection<M, T, R>> doWhat) - Specified by:
_ifContainsin interfaceEmbeddedCodeCollection<M,T, R>
-
_ifNotContains
public EmbeddedCodeCollection<M,T, _ifNotContainsR> (T value, Consumer<EmbeddedCodeCollection<M, T, R>> doWhat) - Specified by:
_ifNotContainsin interfaceEmbeddedCodeCollection<M,T, R>
-
_ifNotContains
public EmbeddedCodeCollection<M,T, _ifNotContainsR> (Predicate<T> predicate, Consumer<EmbeddedCodeCollection<M, T, R>> doWhat) - Specified by:
_ifNotContainsin interfaceEmbeddedCodeCollection<M,T, R>
-
_add
- Specified by:
_addin interfaceEmbeddedCodeCollection<M,T, R>
-
_find
- Specified by:
_findin interfaceEmbeddedCodeCollection<M,T, R>
-
_findAll
- Specified by:
_findAllin interfaceEmbeddedCodeCollection<M,T, R>
-
done
- Specified by:
donein interfaceEmbeddedCodeCollection<M,T, R>
-
_stream
- Specified by:
_streamin interfaceEmbeddedCodeCollection<M,T, R>
-
getObject
-
setObject
-
validate
-