Interface Parameter.Key.Builder
- All Superinterfaces:
- ResettableBuilder<Parameter.Key<?>,- Parameter.Key.Builder> 
- Enclosing interface:
- Parameter.Key<T>
public static interface Parameter.Key.Builder
extends ResettableBuilder<Parameter.Key<?>,Parameter.Key.Builder> 
A "builder" that allows for keys to be built.
- 
Method SummaryModifier and TypeMethodDescription<T> Parameter.Key<T>Creates a key with the provided key and value class it represents.<T> Parameter.Key<T>Creates a key with the provided key and value class it represents.Methods inherited from interface org.spongepowered.api.util.ResettableBuilderreset
- 
Method Details- 
build<T> Parameter.Key<T> build(@NonNull String key, @NonNull io.leangen.geantyref.TypeToken<T> typeToken) Creates a key with the provided key and value class it represents.- Type Parameters:
- T- The type of the value represented by the key
- Parameters:
- key- The key
- typeToken- The- TypeTokenthat represents the type of value it stores
- Returns:
- The built Parameter.Key
 
- 
buildCreates a key with the provided key and value class it represents.- Type Parameters:
- T- The type of the value represented by the key
- Parameters:
- key- The key
- type- The- Classthat represents the non-parameterized type of value it stores
- Returns:
- The built Parameter.Key
 
 
-