java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccessAbstractBreaker.BlockSequencepublic class BlockKnuthSequence extends KnuthSequence
| Constructor | Description |
|---|---|
BlockKnuthSequence() |
Creates a new and empty list.
|
BlockKnuthSequence(java.util.List list) |
Creates a new list from an existing list.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
appendSequence(KnuthSequence sequence) |
Append sequence to this sequence if it can be appended.
|
boolean |
appendSequence(KnuthSequence sequence,
boolean keepTogether,
BreakElement breakElement) |
Append sequence to this sequence if it can be appended.
|
boolean |
canAppendSequence(KnuthSequence sequence) |
Can sequence be appended to this sequence?
|
KnuthSequence |
endSequence() |
Finalizes a Knuth sequence.
|
boolean |
isInlineSequence() |
Is this an inline or a block sequence?
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeappendSequenceOrClose, appendSequenceOrClose, getElement, getFirstBoxIndex, getLast, removeLast, startSequence, toString, wrapPositionspublic BlockKnuthSequence()
public BlockKnuthSequence(java.util.List list)
list - The list from which to create the new list.public boolean isInlineSequence()
isInlineSequence in class KnuthSequencepublic boolean canAppendSequence(KnuthSequence sequence)
canAppendSequence in class KnuthSequencesequence - The sequence that may be appended.public boolean appendSequence(KnuthSequence sequence)
appendSequence in class KnuthSequencesequence - The sequence that is to be appended.public boolean appendSequence(KnuthSequence sequence, boolean keepTogether, BreakElement breakElement)
appendSequence in class KnuthSequencesequence - The sequence that is to be appended.keepTogether - Whether the two sequences must be kept together.breakElement - The BreakElement that may be inserted between the two sequences.public KnuthSequence endSequence()
endSequence in class KnuthSequenceCopyright 1999-2016 The Apache Software Foundation. All Rights Reserved.