repeatedKey

public final static FloggerMetadataKey<T> repeatedKey<T extends Any>(String label)

Creates a new repeated FloggerMetadataKey with the given label.

In JVM, if the given type T describes a Java primitive, this method would use a type of the corresponding object wrapper. Thus, making type T safe to be used with Java generics, that is the case for metadata keys.

Parameters

T

type of values that can be associated with this key