Uses of Class
org.magicwerk.brownies.collections.primitive.CharBigList.CharBlockNode
Packages that use CharBigList.CharBlockNode
Package
Description
This packages contains implementations of GapList and BigList for primitive data types.
-
Uses of CharBigList.CharBlockNode in org.magicwerk.brownies.collections.primitive
Fields in org.magicwerk.brownies.collections.primitive declared as CharBigList.CharBlockNodeModifier and TypeFieldDescriptionprivate CharBigList.CharBlockNodeCharBigList.currNodeCurrent node(package private) CharBigList.CharBlockNodeCharBigList.CharBlockNode.leftThe left child node or the predecessor ifleftIsPrevious.(package private) CharBigList.CharBlockNodeCharBigList.CharBlockNode.parentPointer to parent node (null for root)(package private) CharBigList.CharBlockNodeCharBigList.CharBlockNode.rightThe right child node or the successor ifrightIsNext.private CharBigList.CharBlockNodeCharBigList.rootNodeThe root node in the treeMethods in org.magicwerk.brownies.collections.primitive that return CharBigList.CharBlockNodeModifier and TypeMethodDescriptionprivate CharBigList.CharBlockNodeCharBigList.CharBlockNode.balance()Balances according to the AVL algorithm.private CharBigList.CharBlockNodeCharBigList.copy(CharBigList.CharBlockNode node) Create a copy of the specified node.private CharBigList.CharBlockNodeCharBigList.doRemove(CharBigList.CharBlockNode node) private CharBigList.CharBlockNodeCharBigList.CharBlockNode.doRemoveSelf()private CharBigList.CharBlockNodeCharBigList.CharBlockNode.getLeftSubTree()Gets the left node, returning null if its a faedelung.private CharBigList.CharBlockNodeCharBigList.CharBlockNode.getRightSubTree()Gets the right node, returning null if its a faedelung.private CharBigList.CharBlockNodeCharBigList.CharBlockNode.insert(int index, CharBigList.CharBlock obj) Inserts new node holding specified block at the position index.private CharBigList.CharBlockNodeCharBigList.CharBlockNode.insertOnLeft(int relIndex, CharBigList.CharBlock obj) Inserts new node holding specified block on the node's left side.private CharBigList.CharBlockNodeCharBigList.CharBlockNode.insertOnRight(int relIndex, CharBigList.CharBlock obj) Inserts new node holding specified block on the node's right side.private CharBigList.CharBlockNodeCharBigList.CharBlockNode.max()Gets the rightmost child of this node.private CharBigList.CharBlockNodeCharBigList.CharBlockNode.min()Gets the leftmost child of this node.private CharBigList.CharBlockNodeCharBigList.CharBlockNode.next()Gets the next node in the list after this one.private CharBigList.CharBlockNodeCharBigList.CharBlockNode.previous()Gets the node in the list before this one.private CharBigList.CharBlockNodeCharBigList.CharBlockNode.removeMax()private CharBigList.CharBlockNodeCharBigList.CharBlockNode.removeMin(int size) private CharBigList.CharBlockNodeCharBigList.CharBlockNode.removeSelf()Removes this node from the tree.private CharBigList.CharBlockNodeCharBigList.CharBlockNode.rotateLeft()Rotate tree to the left using this node as center.private CharBigList.CharBlockNodeCharBigList.CharBlockNode.rotateRight()Rotate tree to the right using this node as center.Methods in org.magicwerk.brownies.collections.primitive with parameters of type CharBigList.CharBlockNodeModifier and TypeMethodDescriptionprivate voidCharBigList.checkHeight(CharBigList.CharBlockNode node) private voidCharBigList.checkNode(CharBigList.CharBlockNode node) private CharBigList.CharBlockNodeCharBigList.copy(CharBigList.CharBlockNode node) Create a copy of the specified node.private booleanCharBigList.doGetCharBlockLeft(int modify, CharBigList.CharBlockNode nextNode, boolean wasLeft) private booleanCharBigList.doGetCharBlockRight(int modify, CharBigList.CharBlockNode nextNode, boolean wasLeft) private CharBigList.CharBlockNodeCharBigList.doRemove(CharBigList.CharBlockNode node) private voidCharBigList.doRemoveAll2(int index, int len, int startPos, CharBigList.CharBlockNode startNode, CharBigList.CharBlockNode endNode) private intCharBigList.CharBlockNode.getHeight(CharBigList.CharBlockNode node) Returns the height of the node or -1 if the node is null.private intCharBigList.CharBlockNode.getOffset(CharBigList.CharBlockNode node) Gets the relative position.private voidCharBigList.merge(CharBigList.CharBlockNode node) Merge the specified node with the left or right neighbor if possible.private voidCharBigList.modify(CharBigList.CharBlockNode node, int modify) Modify relativePosition of all nodes starting from the specified node.private voidCharBigList.modifyLeftNode(CharBigList.CharBlockNode node, int modify) private voidCharBigList.modifyRightNode(CharBigList.CharBlockNode node, int modify) private voidCharBigList.CharBlockNode.setLeft(CharBigList.CharBlockNode node, CharBigList.CharBlockNode previous) Sets the left field to the node, or the previous node if that is nullprivate intCharBigList.CharBlockNode.setOffset(CharBigList.CharBlockNode node, int newOffest) Sets the relative position.private voidCharBigList.CharBlockNode.setRight(CharBigList.CharBlockNode node, CharBigList.CharBlockNode next) Sets the right field to the node, or the next node if that is nullConstructors in org.magicwerk.brownies.collections.primitive with parameters of type CharBigList.CharBlockNodeModifierConstructorDescriptionprivateCharBlockNode(CharBigList.CharBlockNode parent, int relPos, CharBigList.CharBlock block, CharBigList.CharBlockNode rightFollower, CharBigList.CharBlockNode leftFollower) Constructs a new node.