Class ValueTypeListProxyLazyBuilt<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.ValueTypeListProxyLazyBuilt<T,V>
- Type Parameters:
T- The value type type.V- The value type.
- All Implemented Interfaces:
Iterable<V>,IValueTypeListProxy<T,V>
public class ValueTypeListProxyLazyBuilt<T extends IValueType<V>,V extends IValue>
extends ValueTypeListProxyBase<T,V>
A list that is built lazily from a start value and an operator.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeListProxyBase
equals, getName, getValueType, hashCode, iterator, toCompactStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
ValueTypeListProxyLazyBuilt
-
-
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.
-
isInfinite
public boolean isInfinite()- Specified by:
isInfinitein interfaceIValueTypeListProxy<T extends IValueType<V>,V extends IValue> - Overrides:
isInfinitein classValueTypeListProxyBase<T extends IValueType<V>,V extends IValue> - Returns:
- If this is an infinite list.
-