Exemplo n.º 1
0
 public String toString() {
   return "("
       + GenericMethods.giveNumber_getHumanformat(this.X)
       + ","
       + GenericMethods.giveNumber_getHumanformat(this.Y)
       + ")";
 }
Exemplo n.º 2
0
 public static void main(String[] args) {
   GenericMethods gm = new GenericMethods();
   gm.f("");
   gm.f(1);
   gm.f(1.0);
   gm.f(1.0F);
   gm.f('c');
   gm.f(gm);
 }
 public static void main(String[] args) {
   GenericMethods gm = new GenericMethods();
   gm.f("", 1, 1.0);
   gm.f(1.0F, 'c', gm);
 }