jiface.erlang.types

atom

(atom arg)

Constructor for an Erlang atom data type.

boolean

(boolean bool)

Constructor for an Erlang boolean (atom) data type.

byte

(byte num)

See the docstring for #'types/long.

char

(char num)

See the docstring for #'types/long.

double

(double num)

Provides a Java representation of Erlang floats and doubles. Erlang defines only one floating point numeric type, however this class and its subclass OtpErlangFloat are used to provide representations corresponding to the Java types Double and Float.

float

(float num)

See the docstring for #'types/double.

int

(int num)

See the docstring for #'types/long.

list

(list)(list args)

Provides a Java representation of Erlang lists. Lists are created from zero or more arbitrary Erlang terms.

The arity of the list is the number of elements it contains.

long

(long num)

Provides a Java representation of Erlang integral types. Erlang does not distinguish between different integral types, however this class and its subclasses OtpErlangByte, OtpErlangChar, OtpErlangInt , and OtpErlangShort attempt to map the Erlang types onto the various Java integral types. Two additional classes, OtpErlangUInt and OtpErlangUShort are provided for Corba compatibility. See the documentation for IC for more information.

map

(map)(map buf)(map ks vs)(map ks kstart kcount vs vstart vcount)

Provides a Java representation of Erlang maps. Maps are created from one or more arbitrary Erlang terms.

The arity of the map is the number of elements it contains. The keys and values can be retrieved as arrays and the value for a key can be queried.

object

(object)

This is a psuedo-constructor: OtpErlangObject doesn’t provide a constructor method, but the object itself is needed for creating tuples, so this function simply returns OtpErlangObject.

short

(short num)

See the docstring for #'types/long.

string

(string str)

Provides a Java representation of Erlang strings.

tuple

(tuple args)

Provides a Java representation of Erlang tuples. Tuples are created from one or more arbitrary Erlang terms.

The arity of the tuple is the number of elements it contains. Elements are indexed from 0 to (arity-1) and can be retrieved individually by using the appropriate index.

uint

(uint num)

See the docstring for #'types/long.

ushort

(ushort num)

See the docstring for #'types/long.