Class Define<T extends FeatureInput>

Type Parameters:
T - the feature input-type
All Implemented Interfaces:
Provider<FeatureList<T>>

public class Define<T extends FeatureInput> extends ReferencingFeatureListProvider<T>
Specifies a list of features directly without assigning any custom-naming.
Author:
Owen Feehan
  • Constructor Details

    • Define

      public Define(Feature<T> feature)
      Create from a single Feature.
      Parameters:
      feature - the feature.
    • Define

      public Define(List<Feature<T>> list)
      Creates a new Define instance.
      Parameters:
      list - The list that specifies features.
    • Define

      public Define()
  • Method Details

    • get

      public FeatureList<T> get()
      Description copied from interface: Provider
      Gets or creates an object of type T.
      Returns:
      the object returned by the provider.
    • getList

      public List<Feature<T>> getList()
      The list that specifies features.
    • setList

      public void setList(List<Feature<T>> list)
      The list that specifies features.