Methods

class Methods

Some methods to tests

Source:
tests.scala
class Object
trait Matchable
class Any

Value members

Concrete methods

def generic[T](a: D[T]): D[T]
def generic2[T, V](a: D[T], b: E[V]): D[T]

A generic method.

A generic method.

Type parameters:
T

A type param!

V

Another type param.

with.a("near-pathological").description

But, surprisingly, still displayed quite well. Even though this line should be separated from previous one.

Value parameters:
a

A param!

b

Another param.

Returns:

Nothing at all!

Throws:
java.lang.Error

Throws errors.

Authors:

Gal Anonim

Gol Anonim

Version:

1.0.0

Since:

0.1.0

Todo:

Consider cleaning up this documentation

Add more documentation

Note:

This method is more important than it looks.

Much more important.

Example:
(m : Methods).generic2(d(), e()): B
(m : Methods).generic2(d2(), e2()): B
Source:
tests.scala
def multipleList(a: A)(b: B): C
def multipleParams(a: A, b: B): C
def oneParam(a: A): B
def primitives(a: Int, b: Double, c: Short): Byte
def simple(): B

Class doc test.

Class doc test.

Source:
tests.scala
def vararg(a: A*): C