blue.math
Class Predicates

java.lang.Object
  |
  +--blue.math.Predicates

public class Predicates
extends java.lang.Object


Method Summary
static boolean congruent(int c, int m, int x)
           
static boolean divides(int i, int n)
           
static boolean even(int i)
           
static boolean multiple(int m, int x)
           
static boolean odd(int i)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

odd

public static boolean odd(int i)

divides

public static boolean divides(int i,
                              int n)

even

public static boolean even(int i)

congruent

public static boolean congruent(int c,
                                int m,
                                int x)

multiple

public static boolean multiple(int m,
                               int x)