public static class TdApi.TestSquareInt extends TdApi.Function<TdApi.TestInt>
Returns TestInt
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
x
Number to square.
|
| Constructor and Description |
|---|
TestSquareInt()
Default constructor for a function, which returns the squared received number; for testing only.
|
TestSquareInt(int x)
Creates a function, which returns the squared received number; for testing only.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int x
public static final int CONSTRUCTOR
public TestSquareInt()
Returns TestInt
public TestSquareInt(int x)
Returns TestInt
x - Number to square.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object