Class Row<C0,C1,C2,C3,C4>

java.lang.Object
com.ibm.icu.impl.Row<C0,C1,C2,C3,C4>
All Implemented Interfaces:
Freezable<Row<C0,C1,C2,C3,C4>>, Cloneable, Comparable
Direct Known Subclasses:
Row.R2, Row.R3, Row.R4, Row.R5

public class Row<C0,C1,C2,C3,C4> extends Object implements Comparable, Cloneable, Freezable<Row<C0,C1,C2,C3,C4>>
  • Field Details

    • items

      protected Object[] items
    • frozen

      protected volatile boolean frozen
  • Constructor Details

    • Row

      public Row()
  • Method Details

    • of

      public static <C0, C1> Row.R2<C0,C1> of(C0 p0, C1 p1)
      Convenience Methods
    • of

      public static <C0, C1, C2> Row.R3<C0,C1,C2> of(C0 p0, C1 p1, C2 p2)
    • of

      public static <C0, C1, C2, C3> Row.R4<C0,C1,C2,C3> of(C0 p0, C1 p1, C2 p2, C3 p3)
    • of

      public static <C0, C1, C2, C3, C4> Row.R5<C0,C1,C2,C3,C4> of(C0 p0, C1 p1, C2 p2, C3 p3, C4 p4)
    • set0

      public Row<C0,C1,C2,C3,C4> set0(C0 item)
    • get0

      public C0 get0()
    • set1

      public Row<C0,C1,C2,C3,C4> set1(C1 item)
    • get1

      public C1 get1()
    • set2

      public Row<C0,C1,C2,C3,C4> set2(C2 item)
    • get2

      public C2 get2()
    • set3

      public Row<C0,C1,C2,C3,C4> set3(C3 item)
    • get3

      public C3 get3()
    • set4

      public Row<C0,C1,C2,C3,C4> set4(C4 item)
    • get4

      public C4 get4()
    • set

      protected Row<C0,C1,C2,C3,C4> set(int i, Object item)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • compareTo

      public int compareTo(Object other)
      Specified by:
      compareTo in interface Comparable<C0>
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isFrozen

      public boolean isFrozen()
      Description copied from interface: Freezable
      Determines whether the object has been frozen or not.
      Specified by:
      isFrozen in interface Freezable<C0>
    • freeze

      public Row<C0,C1,C2,C3,C4> freeze()
      Description copied from interface: Freezable
      Freezes the object.
      Specified by:
      freeze in interface Freezable<C0>
      Returns:
      the object itself.
    • clone

      public Object clone()
      Overrides:
      clone in class Object
    • cloneAsThawed

      public Row<C0,C1,C2,C3,C4> cloneAsThawed()
      Description copied from interface: Freezable
      Provides for the clone operation. Any clone is initially unfrozen.
      Specified by:
      cloneAsThawed in interface Freezable<C0>