Class StaticTypeCheckingSupport.ObjectArrayStaticTypesHelper

java.lang.Object
org.codehaus.groovy.transform.stc.StaticTypeCheckingSupport.ObjectArrayStaticTypesHelper
Enclosing class:
StaticTypeCheckingSupport

public static class StaticTypeCheckingSupport.ObjectArrayStaticTypesHelper extends Object
DGM-like helpers for object arrays.
  • Constructor Details

    • ObjectArrayStaticTypesHelper

      public ObjectArrayStaticTypesHelper()
  • Method Details

    • getAt

      public static <T> T getAt(T[] array, int index)
      Returns the element at the supplied index.
    • putAt

      public static <T, U extends T> void putAt(T[] array, int index, U value)
      Stores the element at the supplied index.