Interface Splitter

  • All Known Implementing Classes:
    AbstractSplitter, DefaultSplitter

    public interface Splitter
    Interface for classes that split data.
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    • Method Detail

      • reset

        void reset()
        Resets the scheme.
      • split

        <T> com.github.fracpete.javautils.struct.Struct2<List<Binnable<T>>,​List<Binnable<T>>> split​(List<Binnable<T>> data)
        Splits the data into two.
        Type Parameters:
        T - the payload type
        Parameters:
        data - the data to split
        Returns:
        the split data