Class ValueTypeListProxyMaterialized<T extends IValueType<V>,V extends IValue>
java.lang.Object
org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeListProxyBase<T,V>
org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeListProxyMaterialized<T,V>
- Type Parameters:
T- The value type type.V- The value type.
- All Implemented Interfaces:
Iterable<V>,IValueTypeListProxy<T,V>
public class ValueTypeListProxyMaterialized<T extends IValueType<V>,V extends IValue>
extends ValueTypeListProxyBase<T,V>
A list proxy for a list that is fully materialized already.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeListProxyBase
equals, getName, getValueType, hashCode, isInfinite, iterator, toCompactStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
ValueTypeListProxyMaterialized
-
-
Method Details
-
getLength
- Returns:
- The list length
- Throws:
EvaluationException- If something went wrong wile getting an element.
-
get
Description copied from interface:IValueTypeListProxyGet the element at the given index.- Parameters:
index- The index.- Returns:
- The element at the given index.
- Throws:
EvaluationException- If something went wrong wile getting an element.
-
toString
-