src/org/kocakosm/pitaya/math/Fraction.java
public static Fraction valueOf(Integer val)
	{
		return new Fraction(BigInteger.valueOf(val), BigInteger.ONE);
	}
public static Fraction valueOf(Integer val)
	{
		return new Fraction(BigInteger.valueOf(val), BigInteger.ONE);
	}
Returns the {@code Fraction} representation of the given value.

@param val an {@link Integer} value.

@return the {@code Fraction} representation of the given value.

@throws NullPointerException if {@code val} is {@code null}.