Package anvil.core

Examples of anvil.core.Any.decrease()



  public static final Any postdec(Any target, String field, Context context)
  {
    Any value = target.getAttribute(context, field);
    target.setAttribute(context, field, value.decrease());
    return value;
  }
 

  public static final Any postinc(Any target, String field, Context context)
View Full Code Here



  public static final Any postdec(Any target, Any index, Context context)
  {
    Any value = target.getReference(context, index);
    target.setReference(context, index, value.decrease());
    return value;
  }
 

  public static final Any postinc(Any target, Any index, Context context)
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.