Package net.sf.kpex.prolog

Examples of net.sf.kpex.prolog.JavaObject.toObject()


  public int exec(Prog p)
  {
    // get the handle to the wrapped Label
    JavaObject wrapper = (JavaObject) getArg(0);
    // get the Label
    Label L = (Label) wrapper.toObject();
    L.setText(getArg(1).toUnquoted());
    return 1;
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.