public class CutsInfo extends Object
| Constructor and Description |
|---|
CutsInfo() |
CutsInfo(Integer lastCutOffset) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addCutOffset(int cutOffset) |
void |
addUsage(int index,
int usage) |
Cut |
getCut(int index) |
int |
getCutOffset(int index) |
int |
getFirstCutOffset() |
int |
getLastCutOffset() |
Map<String,Object> |
getPropertiesMap() |
int |
getTotalLength() |
boolean |
hasCuts() |
int |
indexOfCutOffset(Integer cutOffset) |
boolean |
isBreak(int index) |
boolean |
isCutNotEmpty(int index)
Decides whether a cut is empty or not.
|
boolean |
isCutSpanned(int index)
Decides whether a cut is occupied by spanning cells or not.
|
boolean |
removeCutOffset(int cutOffset) |
int |
size() |
void |
use() |
public CutsInfo()
public CutsInfo(Integer lastCutOffset)
public int size()
public void use()
public int getCutOffset(int index)
public Cut getCut(int index)
public void addUsage(int index,
int usage)
public boolean addCutOffset(int cutOffset)
public boolean removeCutOffset(int cutOffset)
public int indexOfCutOffset(Integer cutOffset)
public boolean isCutNotEmpty(int index)
index - the cut indextrue if and only if the cut is not emptypublic boolean isCutSpanned(int index)
index - the cut indextrue if and only if the cut is not emptypublic boolean isBreak(int index)
public boolean hasCuts()
public int getFirstCutOffset()
public int getLastCutOffset()
public int getTotalLength()
Copyright © 2014. All rights reserved.