Class PowerClass

java.lang.Object
  extended by PowerClass

public class PowerClass
extends java.lang.Object


Method Summary
static int pow3(int pow)
          Calculates 3 to the power of the given integer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

pow3

public static int pow3(int pow)
Calculates 3 to the power of the given integer.

Parameters:
pow - Power of 3 to be calculated.
Returns:
3 to the power of pow.