Class NoNulls<X>

  • Type Parameters:
    X - Type of item
    All Implemented Interfaces:
    Iterable<X>

    public final class NoNulls<X>
    extends Object
    implements Iterable<X>
    A decorator for Iterable that doesn't allow any NULL.

    There is no thread-safety guarantee.

    Since:
    0.27
    • Constructor Detail

      • NoNulls

        public NoNulls​(Iterable<? extends X> items)
        Ctor.
        Parameters:
        items - The items