Package com.mongodb

Interface Block<T>

  • Type Parameters:
    T - the value type

    public interface Block<T>
    An interface for applying some logic against the given parameter.
    Since:
    3.0
    • Method Detail

      • apply

        void apply​(T t)
        Apply some logic to the value.
        Parameters:
        t - the value to apply to