de.caff.generics.function

## Interface ByteSetter<T>

- Type Parameters:
    `T` - generic type
  Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

      @FunctionalInterface
      public interface ByteSetter<T>

  Procedure with a generic and a byte argument.

  Especially useful for handling setting properties which have a byte value.

       class A
       {
         private byte value;

         public byte getValue()
         {
           return value;
         }

         public void setValue(byte value)
         {
           this.value = value;
         }
       }
       // [...]
       ByteSetter<A> valueSetter = A::setValue;

  The other way round, i.e. a `ByteGetter`, is provided by `ToByteFunction`.
  Since:
    July 14, 2022
  Author:
    Rammi

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `set(T item, byte value)` Handle an item and a byte value.

- - ### Method Detail

    - #### set

          void set(@NotNull
                   T item,
                   byte value)

      Handle an item and a byte value. In the expected use scenario this sets the value to the given item.
      Parameters:
        `item` - item
        `value` - value