Cleaning up: Removing the full-blown graph traversal.
[jpf-core.git] / examples / Example.groovy
1 class Example { 
2    static void main(String[] args) { 
3       //Example of a int datatype 
4       int x = 5; 
5                 
6       //Example of a long datatype 
7       //long y = 100L; 
8                 
9       //Example of a floating point datatype 
10       //float a = 10.56f; 
11                 
12       //Example of a double datatype 
13       //double b = 10.5e40; 
14                 
15       //Example of a BigInteger datatype 
16       //BigInteger bi = 30g; 
17                 
18       //Example of a BigDecimal datatype 
19       //BigDecimal bd = 3.5g; 
20                 
21       println(x); 
22       //println(y); 
23       //println(a); 
24       //println(b); 
25       //println(bi); 
26       //println(bd); 
27    } 
28 }