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

SignatureDescription
pair()

Returns an instance with initial value.

pair(class,class)

Returns an instance that is initialized by any instances.

getter

SignatureDescription
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

SignatureDescription
First(class)

Sets up the first instance.

Second(class)

Sets up the second instance.

method

SignatureDescription
Release()

Returns to the uninitialized state.

Release(int)

Returns to the uninitialized state.

Set(class,class)

Sets up an instance.

Copyright © Rice All rights reserved.