All Downloads are FREE. Search and download functionalities are using the official Maven repository.

acolyte.Row Maven / Gradle / Ivy

There is a newer version: 1.2.9
Show newest version
package acolyte;

import java.util.List;

/**
 * Row marker interface
 */
public interface Row {
    /**
     * Returns information for cell(s) of row.
     * Each cell is decribed with a value (left) and an optional value (right).
     */
    public List cells();

    // --- Shared ---

    /**
     * Nothing of Row.
     */
    public static final class Nothing implements Row {
        /**
         * Returns null/no cell.
         */
        public List cells() { return null; }
    } // end of class Nothing
} // end of interface Row