Interface Mappings

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getNewId​(int id)
      Returns the mapped id from the given id, or -1 if invalid/out of bounds.
      void setNewId​(int id, int newId)
      Manually maps a specific id.
    • Method Detail

      • getNewId

        int getNewId​(int id)
        Returns the mapped id from the given id, or -1 if invalid/out of bounds.
        Parameters:
        id - unmapped id
        Returns:
        mapped id, or -1 if invalid/out of bounds
      • setNewId

        void setNewId​(int id,
                      int newId)
        Manually maps a specific id.
        Parameters:
        id - unmapped id
        newId - mapped id
        Throws:
        java.lang.IndexOutOfBoundsException - if the unmapped id is invalid