Spec-Zone .ru
спецификации, руководства, описания, API

JavaFX: Bringing Rich Experiences To All the Screens Of Your Life

Profile: desktop, common

Overview

A convenience class to represent name-value pairs.

Profile: common

Variable Summary

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
public-initnameString

Name of this Pair.

public-initvalueString

Value of this this Pair.

Inherited Variables

Function Summary

public equals(objectToTest: java.lang.Object) : Boolean

Test this Pair for equality with another Object.

Test this Pair for equality with another Object.

If the Object to be tested is not a Pair or is null, then this method returns false.

Two Pairs are considered equal if and only if both the names and values are equal.

Parameters
objectToTest
the <code>Object</code> to test for equality with this <code>Pair</code>
Returns
Boolean
<code>true</code> if the given <code>Object</code> is equal to this <code>Pair</code> else <code>false</code>
&nbsp;
public hashCode() : Integer

Generate a hash code for this Pair.

Generate a hash code for this Pair.

The hash code is calculated using both the name and the value of the Pair.

Returns
Integer
hash code for this <code>Pair</code>
&nbsp;
public toString() : java.lang.String

String representation of this Pair.

String representation of this Pair.

The default name/value delimiter '=' is always used.

Returns
String
<code>String</code> representation of this <code>Pair</code>
&nbsp;

Inherited Functions