Package jfix.functor

Examples of jfix.functor.Procedure


    }
  }

  private void traverseAndSave(Object candidate) {
    if (candidate != null) {
      traverseAndExecute(candidate, new Procedure() {
        public void execute(Object object) {
          traverseAndSave(object);
        }
      });
      if (candidate instanceof Persistent) {
View Full Code Here


  private void traverseAndDelete(Object candidate) {
    if (candidate != null) {
      // Don't cascade delete on values.
      if (!(candidate instanceof Persistent.Value)) {
        traverseAndExecute(candidate, new Procedure() {
          public void execute(Object object) {
            traverseAndDelete(object);
          }
        });
      }
View Full Code Here

TOP

Related Classes of jfix.functor.Procedure

Copyright © 2018 www.massapicom. 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.