Interface UResource.Table

    • Method Detail

      • getSize

        int getSize()
        Returns:
        The number of items in the table resource.
      • getKeyAndValue

        boolean getKeyAndValue​(int i,
                               UResource.Key key,
                               UResource.Value value)
        Parameters:
        i - Table item index.
        key - Output-only, receives the key of the i'th item.
        value - Output-only, receives the value of the i'th item.
        Returns:
        true if i is non-negative and less than getSize().
      • findValue

        boolean findValue​(java.lang.CharSequence key,
                          UResource.Value value)
        Parameters:
        key - Key string to find in the table.
        value - Output-only, receives the value of the item with that key.
        Returns:
        true if the table contains the key.