view test/runtime/6929067/T.java @ 16241:c6ebc1997a55

added listener for nodes being added to a graph; consolidated all node event listeners into new NodeEventListener interface and made registering such listeners work in a try-with-resources statement so that de-registration is automatic
author Doug Simon <doug.simon@oracle.com>
date Thu, 26 Jun 2014 13:42:29 +0200
parents 3b3d12e645e7
children
line wrap: on
line source

public class T
{
  public static boolean foo(boolean bar)
  {
    return bar;
  }

  public static void printIt()
  {
    System.out.println("Hello");
  }
}