protected static class DirectedAcyclicGraph.Region extends Object implements Serializable
Constructor and Description |
---|
Region(int start,
int finish)
Construct a new region.
|
Modifier and Type | Method and Description |
---|---|
int |
getFinish()
Get the end of the region (inclusive).
|
int |
getSize()
Get the size of the region.
|
int |
getStart()
Get the start of the region.
|
boolean |
isIn(int index)
Check if index is in the region.
|
public Region(int start, int finish)
start
- the start of the regionfinish
- the end of the region (inclusive)public int getSize()
public boolean isIn(int index)
index
- the index to checkpublic int getStart()
public int getFinish()
Copyright © 2019. All rights reserved.