Interface CategoryCodeList.Builder

All Known Implementing Classes:
CategoryCodeList.BuilderInt
Enclosing interface:
CategoryCodeList

public static interface CategoryCodeList.Builder
Mutable builder for CategoryCodeList.
  • Method Details

    • add

      Appends one category code.
      Parameters:
      x - category code to append
      Returns:
      this builder
    • addAll

      CategoryCodeList.Builder addAll(int[] x)
      Appends all supplied category codes.
      Parameters:
      x - category codes to append
      Returns:
      this builder
    • size

      int size()
      Returns the number of appended codes.
      Returns:
      builder size
    • get

      int get(int i)
      Returns the appended code at the supplied index.
      Parameters:
      i - zero-based index
      Returns:
      category code
    • build

      Builds the immutable category code list.
      Returns:
      immutable category code list