Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.trapezium.chisel.cleaners
Class InterpolatorMinimizer.KeyInfo  view InterpolatorMinimizer.KeyInfo download InterpolatorMinimizer.KeyInfo.java

java.lang.Object
  extended bycom.trapezium.chisel.cleaners.InterpolatorMinimizer.KeyInfo
Enclosing class:
InterpolatorMinimizer

class InterpolatorMinimizer.KeyInfo
extends java.lang.Object


Field Summary
(package private)  int count
          The number of entries
(package private)  java.util.BitSet keyEntryKillBits
          indicates what key or keyValue entries being removed
(package private)  com.trapezium.vrml.node.Node n
          The interpolator being optimized
(package private)  int type
          Key or KeyValue indication
(package private)  java.util.BitSet valueEntryKillBits
          if not null, used to resolve conflicting keyValue removal indications from different PROTO instances.
 
Constructor Summary
(package private) InterpolatorMinimizer.KeyInfo(com.trapezium.vrml.node.Node n, int type, java.util.BitSet keyEntryKillBits, java.util.BitSet valueEntryKillBits, int count)
          Internal class constructor.
 
Method Summary
(package private)  int getFactor()
           
(package private)  void optimize(com.trapezium.chisel.TokenPrinter tp, int startTokenOffset, int endTokenOffset)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

n

com.trapezium.vrml.node.Node n
The interpolator being optimized


type

int type
Key or KeyValue indication


keyEntryKillBits

java.util.BitSet keyEntryKillBits
indicates what key or keyValue entries being removed


valueEntryKillBits

java.util.BitSet valueEntryKillBits
if not null, used to resolve conflicting keyValue removal indications from different PROTO instances. All PROTO instances must agree to the removal before it takes place. This BitSet gets "or"ed with keyKillBits during the optimize.


count

int count
The number of entries

Constructor Detail

InterpolatorMinimizer.KeyInfo

InterpolatorMinimizer.KeyInfo(com.trapezium.vrml.node.Node n,
                              int type,
                              java.util.BitSet keyEntryKillBits,
                              java.util.BitSet valueEntryKillBits,
                              int count)
Internal class constructor.

Method Detail

optimize

void optimize(com.trapezium.chisel.TokenPrinter tp,
              int startTokenOffset,
              int endTokenOffset)

getFactor

int getFactor()