Libraries.Web.Page.LanguageCode Documentation

This class represents the language HTML language codes.

Inherits from: Libraries.Language.Object

Summary

Variable Summary Table

VariablesDescription
text french
text chewa
text kashmiri
text malagasy
text hebrew
text ibibio
text zulu
text romanian
text javanese
text bihari
text slovak
text cherokee
text indonesian
text sami
text frisian
text bengali
text pashto
text kanuri
text serboCroatian
text english
text swahili
text tibetan
text hawaiian
text syriac
text portuguese
text greenlandic
text latin
text danish
text assamese
text sinhalese
text aragonese
text laothian
text turkmen
text fulfulde
text kazakh
text basque
text amharic
text moldavian
text bhutani
text abkhazian
text burmese
text spanish
text fiji
text lingala
text kurdish
text oriya
text norwegian
text afrikaans
text inupiak
text japanese
text malay
text german
text interlingua
text lithuanian
text nepali
text korean
text twi
text divehi
text albanian
text limburgish
text sichuanYi
text wallon
text kannada
text telugu
text venda
text mongolian
text tagalog
text italian
text farsi
text papiamentu
text irish
text haitian
text sundanese
text tonga
text occitan
text dutch
text inuktitut
text latvian
text ido
text chinese
text esperanto
text croatian
text macedonian
text aymara
text icelandic
text hindi
text marathi
text yi
text hungarian
text hausa
text setswana
text oromo
text breton
text faeroese
text yiddish
text shona
text tamazight
text swedish
text thai
text sindhi
text kirundi
text serbian
text rhaetoRomance
text uzbek
text tigrinya
text tamil
text cambodian
text arabic
text czech
text galician
text kinyarwanda
text uighur
text armenian
text gaelic
text gujarati
text ukrainian
text tatar
text urdu
text kirghiz
text quechua
text afar
text maori
text sangro
text edo
text malayalam
text finnish
text russian
text igbo
text siswati
text tajik
text polish
text volapuk
text sesotho
text punjabi
text guarani
text wolof
text bashkir
text interlingue
text azerbaijani
text samoan
text greek
text slovenian
text xhosa
text welsh
text sanskrit
text yoruba
text bislama
text estonian
text byelorussian
text vietnamese
text georgian
text somali
text bulgarian
text konkani
text nauru
text flemish
text turkish
text corsican
text catalan
text maltese
text tsonga

Actions Summary Table

ActionsDescription
Compare(Libraries.Language.Object object)This action compares two object hash codes and returns an integer.
Equals(Libraries.Language.Object object)This action determines if two objects are equal based on their hash code values.
GetHashCode()This action gets the hash code for an object.

Actions Documentation

Compare(Libraries.Language.Object object)

This action compares two object hash codes and returns an integer. The result is larger if this hash code is larger than the object passed as a parameter, smaller, or equal. In this case, -1 means smaller, 0 means equal, and 1 means larger. This action was changed in Quorum 7 to return an integer, instead of a CompareResult object, because the previous implementation was causing efficiency issues.

Example Code

Object o
        Object t
        integer result = o:Compare(t) //1 (larger), 0 (equal), or -1 (smaller)

Parameters

Return

integer: The Compare result, Smaller, Equal, or Larger.

Equals(Libraries.Language.Object object)

This action determines if two objects are equal based on their hash code values.

Example Code

use Libraries.Language.Object
        use Libraries.Language.Types.Text
        Object o
        Text t
        boolean result = o:Equals(t)

Parameters

Return

boolean: True if the hash codes are equal and false if they are not equal.

GetHashCode()

This action gets the hash code for an object.

Example Code

Object o
        integer hash = o:GetHashCode()

Return

integer: The integer hash code of the object.