public class DataRange extends Object
| Constructor and Description | 
|---|
| DataRange(long[] beginDims,
         long[] endDims) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | contains(long[] index)Returns true if the given index is in the data range. | 
| boolean | equals(Object other) | 
| long[] | getBeginDims() | 
| long[] | getEndDims() | 
| boolean | overlaps(DataRange dataRange)Returns true if this data range overlaps with the given data range. | 
| String | toString() | 
public long[] getBeginDims()
public long[] getEndDims()
public boolean overlaps(DataRange dataRange)
dataRange - for which the overlap is checkedpublic boolean contains(long[] index)
index - of an element for which it is checked if it is in the rangeCopyright © 2020 The Apache Software Foundation. All rights reserved.