public final class BreakPositionsList extends Object
Constructor and Description |
---|
BreakPositionsList() |
BreakPositionsList(int increment,
boolean enableQuickLookup) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(long key,
org.pentaho.reporting.engine.classic.core.util.InstanceID owner) |
void |
clear() |
int |
findKeyPosition(long coordinate,
boolean greater)
Tries to locate the key that matches the given key-parameter as closely as possible.
|
long[] |
getKeys()
Copys the list contents into a new array.
|
long[] |
getKeys(long[] retval) |
long |
getNext(long key) |
org.pentaho.reporting.engine.classic.core.util.InstanceID |
getOwner(long key) |
long |
getPrevious(long key)
Returns the entry that is either equal or less than this key.
|
void |
offset(long offset) |
boolean |
remove(long key) |
void |
removeAll(long[] cutArray,
long cutSize)
Expects a sorted (ascending) list of cut-entries that should be removed.
|
int |
size() |
public BreakPositionsList()
public BreakPositionsList(int increment, boolean enableQuickLookup)
public void clear()
public int size()
public org.pentaho.reporting.engine.classic.core.util.InstanceID getOwner(long key)
public boolean add(long key, org.pentaho.reporting.engine.classic.core.util.InstanceID owner)
public boolean remove(long key)
public long getNext(long key)
public long getPrevious(long key)
key
- public long[] getKeys()
public long[] getKeys(long[] retval)
public int findKeyPosition(long coordinate, boolean greater)
coordinate
- greater
- public void removeAll(long[] cutArray, long cutSize)
cutArray
- public void offset(long offset)
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.