public class Slice extends java.util.ArrayList<OperableValue> implements OperableValue<Slice>, ImplicitCasts
| Constructor and Description |
|---|
Slice() |
Slice(OperableValue value) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
OperableValue element) |
boolean |
add(OperableValue operableValue) |
static void |
assertIs(java.lang.Object... objs) |
Slice |
divide(Slice other) |
Truth |
equals(Slice other) |
Slice |
get(Slice indices) |
java.lang.String |
getType() |
OperableValue[] |
implicitCastBy(OperableValue target,
ImplicitBinaryOperator operator) |
Slice |
minus(Slice other) |
Slice |
negative() |
Slice |
plus(Slice other) |
Slice |
pow(Slice other) |
Slice |
root(Slice other) |
Slice |
times(Slice other) |
java.util.List<OperableValue> |
toNativeObject() |
java.lang.String |
toString() |
addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizefinalize, getClass, notify, notifyAll, wait, wait, waitassertIs, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual, mod, rangeTo, unsupportedpublic static final Slice EMPTY
public Slice()
public Slice(OperableValue value)
public static void assertIs(java.lang.Object... objs)
public OperableValue[] implicitCastBy(OperableValue target, ImplicitBinaryOperator operator)
implicitCastBy in interface ImplicitCastspublic java.util.List<OperableValue> toNativeObject()
toNativeObject in interface Valuepublic java.lang.String toString()
toString in class java.util.AbstractCollection<OperableValue>public Slice plus(Slice other)
plus in interface OperableValue<Slice>public Slice minus(Slice other)
minus in interface OperableValue<Slice>public Slice times(Slice other)
times in interface OperableValue<Slice>public Slice divide(Slice other)
divide in interface OperableValue<Slice>public Slice pow(Slice other)
pow in interface OperableValue<Slice>public Slice root(Slice other)
root in interface OperableValue<Slice>public Slice negative()
negative in interface OperableValue<Slice>public boolean add(OperableValue operableValue)
add in interface java.util.Collection<OperableValue>add in interface java.util.List<OperableValue>add in class java.util.ArrayList<OperableValue>public void add(int index,
OperableValue element)
add in interface java.util.List<OperableValue>add in class java.util.ArrayList<OperableValue>public Truth equals(Slice other)
equals in interface OperableValue<Slice>