Interfaces

Addable

Addable - A type whose values can be added with +, used to constrain generic arithmetic like sum.

Comparable

Comparable - A type whose instances have an inherent sort-order, i.e. can be compared with the <, <=, >, >= operators.
Members: compare

Ordering - The result of comparing two values.
Members: Less, Equal, Greater

operator== - Returns true if a equals b.

operator< - Returns true if a is less than b.

Copyable

Copyable - A type whose values can be copied.

Equatable

Equatable - A type whose instances can be compared for equality, i.e. with the == and != operators.
Members: equals

operator== - Returns true if a equals b.

Hashable

Hashable - A type whose values can be hashed for use in maps and sets.
Members: hash

Printable

OutputStream - A stream that accepts printed output, writing to a string buffer, to a file, or to standard output.
Members: OutputStream, append

Printable - A type that can be printed.
Members: print, toString