Interface EntryDecoder<K,V,R>

Type Parameters:
K - the type of the key
V - the type of the value
R - the type of the source collection to decode
All Superinterfaces:
Decoder<R>

public interface EntryDecoder<K,V,R> extends Decoder<R>
  • Method Details

    • processor

      @NotNull @NotNull EntryProcessor<K,V,?,R> processor()
      Returns the EntryProcessor for decoding entries and collect them.
      Returns:
      the EntryProcessor
    • decode

      @NotNull default @NotNull dev.siroshun.jfun.result.Result<R,DecodeError> decode(@NotNull @NotNull In in)
      Description copied from interface: Decoder
      Decodes the data from the provided In.
      Specified by:
      decode in interface Decoder<K>
      Parameters:
      in - the In for reading the data to decode
      Returns:
      a result containing the decoded data, or a DecodeError if the operation failed