com.babaroga.test.packing
Class SquarePowOf2BoundsGenerator

java.lang.Object
  extended by com.babaroga.test.packing.BoundsGenerator
      extended by com.babaroga.test.packing.SquareBoundsGenerator
          extended by com.babaroga.test.packing.SquarePowOf2BoundsGenerator

public class SquarePowOf2BoundsGenerator
extends SquareBoundsGenerator

Generates the smallest bounds with equal width and height that are a power-of-2.


Constructor Summary
SquarePowOf2BoundsGenerator()
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class com.babaroga.test.packing.BoundsGenerator
getBounds, getNumBoundsTested, getPackedRectangles, pack
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SquarePowOf2BoundsGenerator

public SquarePowOf2BoundsGenerator()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class SquareBoundsGenerator