public static < T > DataKey < T > create ( String name , Class < T > dataClass ) { return create ( name , dataClass , true , null ) ; }
creates a data key with the given name and type . This data key allows for null values and sets no default value .