org.mentaqueue.util
Class NumberUtils

java.lang.Object
  extended by org.mentaqueue.util.NumberUtils

public class NumberUtils
extends Object


Constructor Summary
NumberUtils()
           
 
Method Summary
static void ensurePowerOfTwo(int capacity)
           
static boolean isPowerOfTwo(int n)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumberUtils

public NumberUtils()
Method Detail

isPowerOfTwo

public static final boolean isPowerOfTwo(int n)

ensurePowerOfTwo

public static final void ensurePowerOfTwo(int capacity)


Copyright © 2012. All Rights Reserved.