public interface

CharValue

implements PrimitiveValue Comparable<T>
com.sun.jdi.CharValue
Known Indirect Subclasses

Class Overview

Provides access to a primitive char value in the target VM.

Summary

Public Methods
abstract boolean equals(Object obj)
Compares the specified Object with this CharValue for equality.
abstract int hashCode()
Returns the hash code value for this CharValue.
abstract char value()
Returns this CharValue as a char.
[Expand]
Inherited Methods
From interface com.sun.jdi.Mirror
From interface com.sun.jdi.PrimitiveValue
From interface com.sun.jdi.Value
From interface java.lang.Comparable

Public Methods

public abstract boolean equals (Object obj)

Compares the specified Object with this CharValue for equality.

Parameters
obj the reference object with which to compare.
Returns
  • true if the Object is a CharValue and if applying "==" to the two mirrored primitives would evaluate to true; false otherwise.

public abstract int hashCode ()

Returns the hash code value for this CharValue.

Returns
  • the integer hash code

public abstract char value ()

Returns this CharValue as a char.

Returns
  • the char mirrored by this object.