com.sun.j3d.utils.geometry
Class Stripifier.SortedList

java.lang.Object
  extended by com.sun.j3d.utils.geometry.Stripifier.SortedList
Enclosing class:
Stripifier

 class Stripifier.SortedList
extends java.lang.Object

sorts the Nodes by depth


Field Summary
(package private)  java.util.ArrayList list
           
 
Constructor Summary
Stripifier.SortedList()
          create a new SortedList
 
Method Summary
(package private)  Stripifier.Node pop()
          remove and return 1st element
(package private)  int sortedInsert(Stripifier.Node data, int start)
          insert into the list sorted by depth.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

list

java.util.ArrayList list
Constructor Detail

Stripifier.SortedList

Stripifier.SortedList()
create a new SortedList

Method Detail

sortedInsert

int sortedInsert(Stripifier.Node data,
                 int start)
insert into the list sorted by depth. start looking at start to save some time. Returns the index of the next item of the inserted element


pop

Stripifier.Node pop()
remove and return 1st element



Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.