refactoring program
This commit is contained in:
@@ -21,28 +21,5 @@ public class Main {
|
||||
{ false, false, false, false } };
|
||||
|
||||
public static void main(String[] args) {
|
||||
//
|
||||
// IFacade facade = new Facade();
|
||||
// World world = facade.createWorld(4.0, 4.0, passableMap);
|
||||
//
|
||||
// Worm worm = facade.createWorm(world, new double[] { 1, 1.5 }, Math.PI / 2, 0.5, "Test", null);
|
||||
// System.out.println(world.isPassable(worm.getLocationArray(), worm.getRadius()));
|
||||
|
||||
|
||||
Expression test = new Expression() {
|
||||
@Override
|
||||
public Object execute() {
|
||||
return null;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
private static Object l = false;
|
||||
private static Object r = true;
|
||||
|
||||
public static void test(BinaryOperator test) {
|
||||
System.out.println(test.apply(l,r));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user