proxy class : proxy(class) fitter

Description

Return a proxy type instance that is initialized by the any instance.

Syntax

new proxy(someClass someInstance)

Arguments

ClassNameDescription
someClasssomeInstanceAny instance of non-proxy type.

Return value

ClassDescription
proxyA proxy type instance that is initialized.

Sample code

proxy proxyInstance = new proxy(150);

Notes

The proxy type cannot initialize by the proxy type.

Links for reference

None

Copyright © Rice All rights reserved.