public class ArraySliceOperation
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ArraySliceOperation.Operation |
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Integer |
from |
private ArraySliceOperation.Operation |
operation |
private java.lang.Integer |
to |
| Modifier | Constructor and Description |
|---|---|
private |
ArraySliceOperation(java.lang.Integer from,
java.lang.Integer to,
ArraySliceOperation.Operation operation) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
from() |
ArraySliceOperation.Operation |
operation() |
static ArraySliceOperation |
parse(java.lang.String operation) |
java.lang.Integer |
to() |
java.lang.String |
toString() |
private static java.lang.Integer |
tryRead(java.lang.String[] tokens,
int idx) |
private final java.lang.Integer from
private final java.lang.Integer to
private final ArraySliceOperation.Operation operation
private ArraySliceOperation(java.lang.Integer from,
java.lang.Integer to,
ArraySliceOperation.Operation operation)
public java.lang.Integer from()
public java.lang.Integer to()
public ArraySliceOperation.Operation operation()
public java.lang.String toString()
toString in class java.lang.Objectpublic static ArraySliceOperation parse(java.lang.String operation)
private static java.lang.Integer tryRead(java.lang.String[] tokens,
int idx)