Home Reference Source Test
public class | source

PrunedAccount

Static Method Summary

Static Public Methods
public static
public static

fromPlain(plain: object): *

public static

Constructor Summary

Public Constructor
public

constructor(address: Address, account: Account)

Member Summary

Public Members
public get
public get
public get

serializedSize: number: *

Method Summary

Public Methods
public

compare(o: PrunedAccount): number

public

hashCode(): string

public

serialize(buf: *): *

public

toPlain(): object

Static Public Methods

public static fromAny(o: PrunedAccount | object): PrunedAccount source

Params:

NameTypeAttributeDescription
o PrunedAccount | object

Return:

PrunedAccount

public static fromPlain(plain: object): * source

Params:

NameTypeAttributeDescription
plain object

Return:

*

public static unserialize(buf: SerialBuffer): PrunedAccount source

Params:

NameTypeAttributeDescription
buf SerialBuffer

Return:

PrunedAccount

Public Constructors

public constructor(address: Address, account: Account) source

Params:

NameTypeAttributeDescription
address Address
account Account

Public Members

public get account: Account: * source

Return:

Account

public get address: Address: * source

Return:

Address

public get serializedSize: number: * source

Return:

number

Public Methods

public compare(o: PrunedAccount): number source

Params:

NameTypeAttributeDescription
o PrunedAccount

Return:

number

negative if this is smaller than o, positive if this is larger than o, zero if equal.

public hashCode(): string source

Return:

string

public serialize(buf: *): * source

Params:

NameTypeAttributeDescription
buf *

Return:

*

public toPlain(): object source

Return:

object