Class FastValueAttribute<R extends FactoryBase<?,R>,F extends FactoryBase<?,R>,V,A extends ImmutableValueAttribute<V,?>>
- java.lang.Object
-
- io.github.factoryfx.factory.fastfactory.FastFactoryAttributeUtility<R,F,V,A>
-
- io.github.factoryfx.factory.fastfactory.FastValueAttribute<R,F,V,A>
-
- All Implemented Interfaces:
AttributeCopy<V>,AttributeMatch<V>,AttributeMerger<V>,AttributeValue<V>
public class FastValueAttribute<R extends FactoryBase<?,R>,F extends FactoryBase<?,R>,V,A extends ImmutableValueAttribute<V,?>> extends FastFactoryAttributeUtility<R,F,V,A>
-
-
Field Summary
-
Fields inherited from class io.github.factoryfx.factory.fastfactory.FastFactoryAttributeUtility
valueGetter, valueSetter
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinternal_copyTo(AttributeCopy<V> copyAttribute, int level, int maxLevel, java.util.List<FactoryBase<?,?>> oldData, FactoryBase<?,?> parent, FactoryBase<?,?> root)voidinternal_merge(V newValue)booleaninternal_mergeMatch(AttributeMatch<V> value)alternative to equals on value, type-safe , less verbose, without worrying about hidden contracts indented for merge some with some serial case e.g ObjectValueAttributevoidinternal_semanticCopyTo(AttributeCopy<V> copyAttribute)voidvisitChildFactory(java.util.function.Consumer<FactoryBase<?,R>> consumer)-
Methods inherited from class io.github.factoryfx.factory.fastfactory.FastFactoryAttributeUtility
accept, accept, accept, accept, bindFactory, get, getAttribute, internal_addBackReferences, internal_hasWritePermission, set, setAttribute, setAttributeName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.github.factoryfx.factory.attribute.AttributeMatch
internal_referenceEquals, internal_referenceListEquals
-
Methods inherited from interface io.github.factoryfx.factory.attribute.AttributeMerger
internal_mergeFactoryList
-
-
-
-
Method Detail
-
visitChildFactory
public void visitChildFactory(java.util.function.Consumer<FactoryBase<?,R>> consumer)
- Specified by:
visitChildFactoryin classFastFactoryAttributeUtility<R extends FactoryBase<?,R>,F extends FactoryBase<?,R>,V,A extends ImmutableValueAttribute<V,?>>
-
internal_copyTo
public void internal_copyTo(AttributeCopy<V> copyAttribute, int level, int maxLevel, java.util.List<FactoryBase<?,?>> oldData, FactoryBase<?,?> parent, FactoryBase<?,?> root)
-
internal_semanticCopyTo
public void internal_semanticCopyTo(AttributeCopy<V> copyAttribute)
-
internal_mergeMatch
public boolean internal_mergeMatch(AttributeMatch<V> value)
Description copied from interface:AttributeMatchalternative to equals on value, type-safe , less verbose, without worrying about hidden contracts indented for merge some with some serial case e.g ObjectValueAttribute- Parameters:
value- compare value- Returns:
- true if equals
-
internal_merge
public void internal_merge(V newValue)
-
-