Java tutorial
//package com.java2s; public class Main { /** * Notifies an object for synchronization purposes. */ public static void notify(Object obj) { synchronized (obj) { obj.notify(); } } }