# Class: com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir.SPDC

"Stack Pointer Delta Candidate". Immutable. 

 Candidate for a stack pointer delta \(eg, SP\-out, SP\-highest\). Placeholder for a triplet \(offset, guarantee, origin\).

## Constructor: SPDC
- parameter: `value`, type: `int`
- parameter: `guarantee`, type: `int`
- parameter: `origin`, type: `int`


## Static Field: GUARANTEE_HIGH
Type: `int`

Constant value: `30`

## Static Field: GUARANTEE_LOW
Type: `int`

Constant value: `10`

## Static Field: GUARANTEE_MEDIUM
Type: `int`

Constant value: `20`

## Static Field: GUARANTEE_UNKNOWN
Type: `int`

Constant value: `0`

## Static Field: ORIGIN_ANALYSIS
Type: `int`

Constant value: `20`

## Static Field: ORIGIN_NATIVE
Type: `int`

Constant value: `30`

## Static Field: ORIGIN_SIMULATION
Type: `int`

Constant value: `10`

## Static Field: ORIGIN_UNKNOWN
Type: `int`

Constant value: `0`

## Static Field: ORIGIN_USER
Type: `int`

Constant value: `40`

## Static Field: Unknown
Type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir.SPDC`
Description: An unknown SP\-delta candidate: offset is 0, guarantee and origin levels are 0.

## Method: clone
- return type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir.SPDC`


## Method: compareTo
- parameter: `o`, type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir.SPDC`
- return type: `int`


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


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


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


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


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


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


## Static Method: getBest
- parameter: `a`, type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir.SPDC`
- parameter: `b`, type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir.SPDC`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir.SPDC`

Description: note: if both candidates are "equally\-best", the first one \(a\) is returned.

