Entry CLASS

A key-value pair struct used by a few other foundation classes.

Parent Class

All Members


TypeNameSignature
constructorEntrypublic Entry(var, var)
fieldkeypublic var key
fieldvaluepublic var value

Constructors


public Entry(var key, var value)

Create a new Entry with given key and value.

Parameters

  • key The key for this entry.
  • value The value associated with this entry.

Fields


public var key

The key of the entry. When used in Systen.Collection.Map, if it's an Object, hashCode() will be called to get its hash; if primitive, it will be converted to an integer as the hash.


public var value

The value associated with this key.