public class

IntExpression

extends IntegerExpression
java.lang.Object
   ↳ sun.tools.tree.Node
     ↳ sun.tools.tree.Expression
       ↳ sun.tools.tree.IntegerExpression
         ↳ sun.tools.tree.IntExpression

Class Overview

WARNING: The contents of this source file are not part of any supported API. Code that depends on them does so at its own risk: they are subject to change or removal without notice.

Summary

[Expand]
Inherited Constants
From interface sun.tools.java.Constants
From interface sun.tools.java.RuntimeConstants
[Expand]
Inherited Fields
From interface sun.tools.java.Constants
From interface sun.tools.java.RuntimeConstants
Public Constructors
IntExpression(long where, int value)
Constructor
Public Methods
boolean equals(Object obj)
Equality, this is needed so that switch statements can put IntExpressions in a hashtable
int hashCode()
Hashcode, this is needed so that switch statements can put IntExpressions in a hashtable
void print(PrintStream out)
Print
[Expand]
Inherited Methods
From class sun.tools.tree.IntegerExpression
From class sun.tools.tree.Expression
From class sun.tools.tree.Node
From class java.lang.Object

Public Constructors

public IntExpression (long where, int value)

Constructor

Public Methods

public boolean equals (Object obj)

Equality, this is needed so that switch statements can put IntExpressions in a hashtable

Parameters
obj the reference object with which to compare.
Returns
  • true if this object is the same as the obj argument; false otherwise.

public int hashCode ()

Hashcode, this is needed so that switch statements can put IntExpressions in a hashtable

Returns
  • a hash code value for this object.

public void print (PrintStream out)

Print