Example #1
0
 public static void main(String[] args) {
   FloatContainer fcm = new FloatContainer();
   fcm.f = 0.666f;
   System.out.println("fcm.f = " + fcm.f);
   func(fcm);
   System.out.println("fcm.f = " + fcm.f);
 }
Example #2
0
 static void func(FloatContainer fc) {
   fc.f = 0.42f;
 }