Bug 89250 [Viewers] - API Review - LazySortedCollection review comments
There are two unused private methods in LazySortedCollection. setNextUnsorted(...) getEdgeTo(...) Attached is a patch with other javadoc review comments also.
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/deferred/LazySortedCollection.java
additionalNodes = treeSize[unsorted];
	                }
	                treeSize[result] += additionalNodes;
                }
            }
            
            replaceNode(subTree, result);
            destroyNode(subTree);
            return result;
        }
                
        
        
        Edge nextSmallest = new Edge(subTree, DIR_LEFT);
        while (!nextSmallest.isNull()) {
            nextSmallest.advance(DIR_RIGHT);
        }
        
        Edge nextLargest = new Edge(subTree, DIR_RIGHT);
        while (!nextLargest.isNull()) {
            nextLargest.advance(DIR_LEFT);
        }
        
        
        int replacementNode = -1;
        
        
        
        int leftSize = getSubtreeSize(left);
        int rightSize = getSubtreeSize(right);