of
@Contract(value = "_, _ -> new", pure = true )
Creates a new resource key, or returns an existing one if one with the given parameters has already been created, with the given registry as its parent name, and the given location as the location of the resource.
Return
a resource key
Parameters
T
the resource key type
registry
the parent registry name
location
the location of the resource
@Contract(value = "_, _ -> new", pure = true )
Creates a new resource key, or returns an existing one if one with the given parameters has already been created, with the given parent as its parent, and the given location as the location of the resource.
Return
a resource key
Parameters
T
the resource key type
parent
the parent key
location
the location of the resource