com.kccoder.fracture.example
Class PrimeExample

java.lang.Object
  extended by com.kccoder.fracture.example.PrimeExample

public class PrimeExample
extends java.lang.Object


Constructor Summary
PrimeExample()
           
 
Method Summary
static boolean isPrime(int n)
           
static void main(java.lang.String[] args)
           
static void run1()
           
static void run2()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrimeExample

public PrimeExample()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

run1

public static void run1()

run2

public static void run2()

isPrime

public static boolean isPrime(int n)