polyglot.ext.pao.runtime
Class Primitive

java.lang.Object
  extended bypolyglot.ext.pao.runtime.Primitive
Direct Known Subclasses:
Boolean, Double, Long

public class Primitive
extends java.lang.Object

Boxed primitves.


Constructor Summary
Primitive()
           
 
Method Summary
static boolean equals(java.lang.Object o, java.lang.Object p)
          Method used to implement o == p when o or p could be a boxed primitive.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Primitive

public Primitive()
Method Detail

equals

public static boolean equals(java.lang.Object o,
                             java.lang.Object p)
Method used to implement o == p when o or p could be a boxed primitive. Boxed primitives are compared by their primitive value, not by identity.