pair class
Description
Provides functionality for holding related instances.
Notes
This class is a standard built-in class in the Rice language.
Instance that is created by declaration is still uninitialized.
fitter
Signature | Description |
pair() | Returns an instance with initial value. |
pair(class,class) | Returns an instance that is initialized by any instances. |
getter
Signature | Description |
ExistsFirst | Returns whether the first instance is set. |
ExistsSecond | Returns whether the second instance is set. |
First | Returns the first instance. |
Fitted | Gets a value that indicates whether it has been initialized. |
Second | Returns the second instance. |
TypeName | Returns the class name. |
setter
Signature | Description |
First(class) | Sets up the first instance. |
Second(class) | Sets up the second instance. |
method
Signature | Description |
Release() | Returns to the uninitialized state. |
Release(int) | Returns to the uninitialized state. |
Set(class,class) | Sets up an instance. |