Class HtmlElementTables.SparseElementMultitable

  • Enclosing class:
    HtmlElementTables

    public static final class HtmlElementTables.SparseElementMultitable
    extends Object
    Maps element to elements to lists of elements.
    • Constructor Detail

      • SparseElementMultitable

        public SparseElementMultitable​(int[][][] arrs)
        Parameters:
        arrs - an array such that arrs[aElementIndex] is null or an array, a, sorted by first element such that the first element is bIndex and the elements after the zero-th are the element indices that (aElementIndex, bElementIndex) map to in order.
    • Method Detail

      • getElementIndexList

        public int[] getElementIndexList​(int aIndex,
                                         int bIndex)
        The element indices mapped to by (aIndex, bIndex).