net.sf.josceleton.commons.util
Class MathUtil

java.lang.Object
  extended by net.sf.josceleton.commons.util.MathUtil

public final class MathUtil
extends Object

Since:
0.4

Nested Class Summary
static class MathUtil.StartEnd
           
 
Method Summary
static int checkForMinOrMax(int limit, int value, boolean forMin)
           
static int computeCubicEaseOut(float percent, int startValue, int endValue)
           
static int relativateTo(MathUtil.StartEnd real, int realValue, MathUtil.StartEnd expected)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

checkForMinOrMax

public static int checkForMinOrMax(int limit,
                                   int value,
                                   boolean forMin)
Since:
0.4

computeCubicEaseOut

public static int computeCubicEaseOut(float percent,
                                      int startValue,
                                      int endValue)
Since:
0.4

relativateTo

public static int relativateTo(MathUtil.StartEnd real,
                               int realValue,
                               MathUtil.StartEnd expected)
Since:
0.4


Copyright © 2011 Josceleton. All Rights Reserved.