Interface Splitter<E,​F>

  • Type Parameters:
    E - the type of object being split
    F - the type of objects created by the split

    @Role
    public interface Splitter<E,​F>
    Splits a composite object in multiple parts of the same type.
    Since:
    4.1RC1
    Version:
    $Id: d00ffca056a0ec243a8c7ef01e882c56264afb41 $
    • Method Detail

      • split

        List<F> split​(E composite)
        Splits the given composite object in multiple parts of the same type.
        Parameters:
        composite - the object to split
        Returns:
        the list of objects that make the given composite object