| gnu.kawa.xml.Nodes gnu.kawa.xml.SortedNodes
SortedNodes | public class SortedNodes extends Nodes (Code) | | Manages a sequence of node references in document order without duplicates.
All elements are POSITION_PAIR_FOLLOWS elements, which makes operations
simple and efficient. The most recently added element is just before
the gap. Optimized for the data being in order, or at least having good
locality (a node being "near" the previously-entered node).
|
find | int find(int start, int count, AbstractSequence seq, int ipos)(Code) | | Find index where to put position (seq, ipos).
Require
index>=start && index |
Methods inherited from gnu.kawa.xml.Nodes | public Consumer append(CharSequence csq, int start, int end)(Code)(Java Doc) public void beginEntity(Object base)(Code)(Java Doc) public void endAttribute()(Code)(Java Doc) public void endDocument()(Code)(Java Doc) public void endElement()(Code)(Java Doc) public void endEntity()(Code)(Java Doc) public int find(Object seq)(Code)(Java Doc) void finishFragment()(Code)(Java Doc) public Object get(int index)(Code)(Java Doc) public int getLength()(Code)(Java Doc) public int getPos(int index)(Code)(Java Doc) public Object getPosNext(int ipos)(Code)(Java Doc) public AbstractSequence getSeq(int index)(Code)(Java Doc) void handleNonNode()(Code)(Java Doc) void maybeStartTextNode()(Code)(Java Doc) public static KNode root(NodeTree seq, int ipos)(Code)(Java Doc) public int size()(Code)(Java Doc) public void startAttribute(Object attrType)(Code)(Java Doc) public void startDocument()(Code)(Java Doc) public void startElement(Object type)(Code)(Java Doc) void startFragment()(Code)(Java Doc) public void write(int v)(Code)(Java Doc) public void write(char[] buf, int off, int len)(Code)(Java Doc) public void write(CharSequence str, int start, int length)(Code)(Java Doc) public void write(String str)(Code)(Java Doc) public void writeBoolean(boolean v)(Code)(Java Doc) public void writeCDATA(char[] chars, int offset, int length)(Code)(Java Doc) public void writeComment(char[] chars, int offset, int length)(Code)(Java Doc) public void writeDouble(double v)(Code)(Java Doc) public void writeFloat(float v)(Code)(Java Doc) public void writeInt(int v)(Code)(Java Doc) public void writeLong(long v)(Code)(Java Doc) public void writeObject(Object v)(Code)(Java Doc) public void writePosition(AbstractSequence seq, int ipos)(Code)(Java Doc) public void writeProcessingInstruction(String target, char[] content, int offset, int length)(Code)(Java Doc)
|
|
|