Triple


Object Hierarchy:

Object hierarchy for Triple

Description:

public class Triple<A,B,C> : Object

An immutable triple of three values.

Triple is a Value Object: once created, its contents cannot change. Inspired by Kotlin's Triple.

Example:

    var triple = new Triple<string,string,string> ("r", "g", "b");
assert (triple.first () == "r");
assert (triple.second () == "g");
assert (triple.third () == "b");


Namespace: Vala.Collections
Package: Valacore

Content:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class GLib.Object