# Class: com.pnfsoftware.jeb.core.units.code.Pointer

Description of a pointer or pointer to pointer. That includes memory address as well as optional memory size.

## Constructor: Pointer
- parameter: `address`, type: `long`
- parameter: `size`, type: `int`
- parameter: `type`, type: `int`

Description: 
parameter: address: pointed address
parameter: size: optional size in bytes
parameter: type: optional

## Constructor: Pointer
- parameter: `address`, type: `long`


## Protected Field: address
Type: `long`
Description: Mandatory address

## Protected Field: size
Type: `int`
Description: Optional size, possibly 0 if unknown. Negative means address is an end address.

## Protected Field: type
Type: `int`
Description: Possible type\(s\) for the bytes at the given address

## Static Field: CODE
Type: `int`

Constant value: `1`
Description: Address references an area of code; it is recommended to use [CodePointer](CodePointer) instead for routines/methods.

## Static Field: DATA
Type: `int`

Constant value: `2`
Description: Address references an area of data.

## Static Field: PTRCODE
Type: `int`

Constant value: `5`
Description: Address references a pointer \(ie, this is a double\-indirection\) to an area of code; \`size\` is N/A.

## Static Field: PTRDATA
Type: `int`

Constant value: `6`
Description: address references a pointer \(ie, this is a double\-indirection\) to an area of data; \`size\` is N/A.

## Static Field: UNKNOWN
Type: `int`

Constant value: `0`
Description: Address references an area whose type is unknown.

## Method: equals
- parameter: `obj`, type: `java.lang.Object`
- return type: `boolean`


## Method: getAddress
- return type: `long`

Description: Get the address.
return: 

## Method: getSize
- return type: `int`

Description: Get the size in bytes. May be 0.
return: 

## Method: getType
- return type: `int`

Description: Get the pointer type.
return: 

## Method: hashCode
- return type: `int`


## Method: setSize
- parameter: `size`, type: `int`

Description: Set the size in bytes.

## Method: toString
- return type: `java.lang.String`


