src/main/java/com/inari/firefly/component/attr/AttributeKey.java
/** Utility to create an AttributeKey with DynArray value type, specified name and componentType.
     * @param name the name of the AttributeKey
     * @param componentType the componentType of the AttributeKey
     * @param arrayValueType the type of value that itself has a type E.g. AttributeKey<DynArray<T>>: typedValueType is the type of T
     * @return an AttributeKey with Integer value type, specified name and componentType
     */
Utility to create an AttributeKey with DynArray value type, specified name and componentType.
@param name the name of the AttributeKey
@param componentType the componentType of the AttributeKey
@param arrayValueType the type of value that itself has a type E.g. AttributeKey>: typedValueType is the type of T
@return an AttributeKey with Integer value type, specified name and componentType
Utility to create an AttributeKey with DynArray value type specified name and componentType . @param name the name of the AttributeKey @param componentType the componentType of the AttributeKey @param arrayValueType the type of value that itself has a type E . g . AttributeKey > : typedValueType is the type of T @return an AttributeKey with Integer value type specified name and componentType
@SuppressWarnings( { "unchecked" } ) 
    public static final <S> AttributeKey<DynArray<S>> createDynArray( String name, Class<? extends Component> componentType, Class<S> arrayValueType ) {
        AttributeKey<?> result = new AttributeKey<>( name, DynArray.class, componentType, arrayValueType );
        return (AttributeKey<DynArray<S>>) result;
    }
@ SuppressWarnings ( { "unchecked" } ) public static final < S > AttributeKey < DynArray < S > > createDynArray ( String name , Class < ? extends Component > componentType , Class < S > arrayValueType ) { AttributeKey < ? > result = new AttributeKey < > ( name , DynArray . class , componentType , arrayValueType ) ; return ( AttributeKey < DynArray < S > > ) result ; }
Utility to create an AttributeKey with DynArray value type, specified name and componentType.
Utility to create an AttributeKey with DynArray value type specified name and componentType .