Class FastValueAttribute<R extends FactoryBase<?,​R>,​F extends FactoryBase<?,​R>,​V,​A extends ImmutableValueAttribute<V,​?>>

    • Constructor Detail

      • FastValueAttribute

        public FastValueAttribute​(java.util.function.Supplier<A> attributeCreator,
                                  java.util.function.Function<F,​V> valueGetter,
                                  java.util.function.BiConsumer<F,​V> valueSetter,
                                  java.lang.String attributeName)
    • Method Detail

      • internal_semanticCopyTo

        public void internal_semanticCopyTo​(AttributeCopy<V> copyAttribute)
      • internal_mergeMatch

        public boolean internal_mergeMatch​(AttributeMatch<V> value)
        Description copied from interface: AttributeMatch
        alternative 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)