-  
       
- All Superinterfaces:
 -  
         
Comparable<IntegerValue>,Mirror,PrimitiveValue,Value 
public interface IntegerValue extends PrimitiveValue, Comparable<IntegerValue>
提供对目标VM中的原始值int访问。- 从以下版本开始:
 - 1.3
 
 
-  
        
       
-  
             
方法摘要
所有方法 实例方法 抽象方法 变量和类型 方法 描述 booleanequals(Object obj)将指定的Object与此IntegerValue进行比较以获得相等性。inthashCode()返回此IntegerValue的哈希码值。intvalue()以int形式返回此IntegerValue。-  
               
声明方法的接口 java.lang.Comparable
compareTo 
-  
               
声明方法的接口 com.sun.jdi.Mirror
toString, virtualMachine 
-  
               
声明方法的接口 com.sun.jdi.PrimitiveValue
booleanValue, byteValue, charValue, doubleValue, floatValue, intValue, longValue, shortValue 
 -  
               
 
 -  
             
 
-  
        
       
-  
             
方法详细信息
-  
value
int value()
以int形式返回此IntegerValue。- 结果
 -  
              
int由此对象镜像。 
 
-  
equals
boolean equals(Object obj)
将指定的Object与此IntegerValue进行比较以获得相等性。- 重写:
 -  
              
equals在类Object - 参数
 -  
              
obj- 要与之比较的引用对象。 - 结果
 - 如果Object是IntegerValue,并且将“==”应用于两个镜像基元将为true,则为true;否则为false。 否则是假的。
 - 另请参见:
 -  
              
Object.hashCode(),HashMap 
 
-  
hashCode
int hashCode()
返回此IntegerValue的哈希码值。- 重写:
 -  
              
hashCode在类Object - 结果
 - 整数哈希码
 - 另请参见:
 -  
              
Object.equals(java.lang.Object),System.identityHashCode(java.lang.Object) 
 
 -  
 
 -