Class Language (2.31.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
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCode()

public String getCode()

Returns the code of the language.

Returns
TypeDescription
String

getName()

public String getName()

Returns the name of the language.

Returns
TypeDescription
String

hashCode()

public final int hashCode()
Returns
TypeDescription
int
Overrides

toString()

public String toString()
Returns
TypeDescription
String
Overrides