Package net.minecraftforge.common
Class ForgeConfigSpec.Range<V extends java.lang.Comparable<? super V>>
- java.lang.Object
-
- net.minecraftforge.common.ForgeConfigSpec.Range<V>
-
- All Implemented Interfaces:
java.util.function.Predicate<java.lang.Object>
- Enclosing class:
- ForgeConfigSpec
private static class ForgeConfigSpec.Range<V extends java.lang.Comparable<? super V>> extends java.lang.Object implements java.util.function.Predicate<java.lang.Object>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
correct(java.lang.Object value, java.lang.Object def)
java.lang.Class<? extends V>
getClazz()
V
getMax()
V
getMin()
private boolean
isNumber(java.lang.Object other)
boolean
test(java.lang.Object t)
java.lang.String
toString()
-
-
-
Method Detail
-
getClazz
public java.lang.Class<? extends V> getClazz()
-
getMin
public V getMin()
-
getMax
public V getMax()
-
isNumber
private boolean isNumber(java.lang.Object other)
-
test
public boolean test(java.lang.Object t)
-
correct
public java.lang.Object correct(java.lang.Object value, java.lang.Object def)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-