Class Language (2.46.0)

public class Language implements Serializable

Information about a language supported by Google Translation. Objects of this class contain the language's code and the language name. See Also: Discovering Supported Languages, Supported Languages

Inheritance

Object > Language

Implements

Serializable

Methods

equals(Object obj)

public final boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCode()

public String getCode()

Returns the code of the language.

Returns
Type Description
String

getName()

public String getName()

Returns the name of the language.

Returns
Type Description
String

hashCode()

public final int hashCode()
Returns
Type Description
int
Overrides

toString()

public String toString()
Returns
Type Description
String
Overrides