All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface pnuts.lang.Numeric

public interface Numeric
In Pnuts, arithmetic operations for objects implements this interface causes a call of the corresponding methods in this interface. See Pnuts Language Specification for details.


Method Index

 o add(Object)
 o compareTo(Object)
 o divide(Object)
 o inverse()
 o multiply(Object)
 o negate()
 o subtract(Object)

Methods

 o add
 public abstract Object add(Object o)
 o subtract
 public abstract Object subtract(Object o)
 o multiply
 public abstract Object multiply(Object o)
 o divide
 public abstract Object divide(Object o)
 o negate
 public abstract Object negate()
 o inverse
 public abstract Object inverse()
 o compareTo
 public abstract int compareTo(Object o)

All Packages  Class Hierarchy  This Package  Previous  Next  Index