public final class BoundRegistry
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
<T> java.util.List<Bound<T>> |
getBounds(java.lang.Class<T> elementType) |
static BoundRegistry |
getInstance() |
<T> java.util.Optional<Bound<T>> |
getRandomBound(java.lang.Class<T> elementType) |
<T> void |
register(Bound<T> bound,
java.lang.Class<T> elementType) |
public static BoundRegistry getInstance()
public <T> void register(Bound<T> bound, java.lang.Class<T> elementType)
public <T> java.util.List<Bound<T>> getBounds(java.lang.Class<T> elementType)
public <T> java.util.Optional<Bound<T>> getRandomBound(java.lang.Class<T> elementType)