IThrowableConsumer

public interface IThrowableConsumer<T>

Functional interface that consumes a value.

Parameters:
  • <T> – The type of value to consume.

Methods

accept

void accept(T parInput)

Performs this operation on the given argument.

Parameters:
  • parInput – The input argument.
Throws:
  • JSONException – On decode/encode failure.
  • IOException – On read/write failure.