Interface GroovyClassValue.ComputeValue<T>

Type Parameters:
T - the value type
Enclosing interface:
GroovyClassValue<T>

public static interface GroovyClassValue.ComputeValue<T>
Computes the value stored for a class that has none yet.
  • Method Summary

    Modifier and Type
    Method
    Description
    Computes the value for type.
  • Method Details

    • computeValue

      T computeValue(Class<?> type)
      Computes the value for type.
      Parameters:
      type - the key class
      Returns:
      the value to associate with type