IntConstant

An IntConstant is a constant pool entry that contains an int

Specification

Since

0.1.0

Parameters

value

the int value of the entry

See also

Constructors

Link copied to clipboard
constructor(value: Int)

creates a new IntConstant

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val value: Int

The int value of the entry

Functions

Link copied to clipboard

Dump the entry into a byte array

open override fun dump(stream: DataOutputStream)

Dump the int constant to the given stream

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Check if the int constant is equal to the given other object

Link copied to clipboard
open override fun hashCode(): Int

Get the hash code of the int constant

Link copied to clipboard
open override fun toString(): String

Get a string representation of the int constant