Class TimeValues.SimpleExprValue
- java.lang.Object
-
- net.minecraftforge.common.animation.TimeValues.SimpleExprValue
-
- All Implemented Interfaces:
ITimeValue
- Enclosing class:
- TimeValues
public static final class TimeValues.SimpleExprValue extends java.lang.Object implements ITimeValue
-
-
Field Summary
Fields Modifier and Type Field Description private com.google.common.collect.ImmutableList<ITimeValue>
args
private java.lang.String
operators
private static java.util.regex.Pattern
opsPattern
-
Constructor Summary
Constructors Constructor Description SimpleExprValue(java.lang.String operators, com.google.common.collect.ImmutableList<ITimeValue> args)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
apply(float input)
boolean
equals(java.lang.Object obj)
int
hashCode()
-
-
-
Field Detail
-
opsPattern
private static final java.util.regex.Pattern opsPattern
-
operators
private final java.lang.String operators
-
args
private final com.google.common.collect.ImmutableList<ITimeValue> args
-
-
Constructor Detail
-
SimpleExprValue
public SimpleExprValue(java.lang.String operators, com.google.common.collect.ImmutableList<ITimeValue> args)
-
-
Method Detail
-
apply
public float apply(float input)
- Specified by:
apply
in interfaceITimeValue
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-