package com.facebook.presto;



public interface Block
{
    int getCount();

    boolean isSorted();
    boolean isSingleValue();
    boolean isPositionsContiguous();

    Iterable<Long> getPositions();

    Range getRange();
}

@@ -79,56 +79,306 @@
     
-boolean isSorted();%0A    boolean isSingleValue();
+/**%0A     * Whether the values in this block are sorted%0A     */%0A    boolean isSorted();%0A%0A    /**%0A     * Whether the block contains a single value (with one or more positions for that value)%0A     */%0A    boolean isSingleValue();%0A%0A    /**%0A     * Whether the block contains gaps in its positions%0A     */
 %0A   

Add clarifying docs for Block interface