Interface UResource.Array

All Known Implementing Classes:
ICUResourceBundleReader.Array, ICUResourceBundleReader.Array16, ICUResourceBundleReader.Array32
Enclosing class:
UResource

public static interface UResource.Array
Interface for iterating over a resource bundle array resource. Does not use Java Iterator to reduce object creations.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    boolean
    getValue(int i, UResource.Value value)
     
  • Method Details

    • getSize

      int getSize()
      Returns:
      The number of items in the array resource.
    • getValue

      boolean getValue(int i, UResource.Value value)
      Parameters:
      i - Array item index.
      value - Output-only, receives the value of the i'th item.
      Returns:
      true if i is non-negative and less than getSize().