Top Description Inners
org.eclipse.xtext.xbase.lib

public Interface Procedures

Annotations
@GwtCompatible
Imports
com.google.common.annotations.GwtCompatible

This class serves as a container for the various procedure types that are used to implement the type of closures in Xbase that do not return any results but a meant to cause side-effects.
Author
Sebastian Zarnekow - Initial contribution and API
See Also
ProcedureExtensions, Functions

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface
Procedures.Procedure0

A procedure without any parameters, e.g. a Runnable.

public static interface
Procedures.Procedure1<
the only argument that is passed to the closure
Param
>

A procedure that takes one argument.

public static interface
Procedures.Procedure2<
the first argument that is passed to the closure
P1
,
the second argument that is passed to the closure
P2
>

A procedure that takes two arguments.

public static interface
Procedures.Procedure3<
the first argument that is passed to the closure
P1
,
the second argument that is passed to the closure
P2
,
the third argument that is passed to the closure
P3
>

A procedure that takes three arguments.

public static interface
Procedures.Procedure4<
the first argument that is passed to the closure
P1
,
the second argument that is passed to the closure
P2
,
the third argument that is passed to the closure
P3
,
the fourth argument that is passed to the closure
P4
>

A procedure that takes four arguments.

public static interface
Procedures.Procedure5<
the first argument that is passed to the closure
P1
,
the second argument that is passed to the closure
P2
,
the third argument that is passed to the closure
P3
,
the fourth argument that is passed to the closure
P4
,
the fifth argument that is passed to the closure
P5
>

A procedure that takes five arguments.

public static interface
Procedures.Procedure6<
the first argument that is passed to the closure
P1
,
the second argument that is passed to the closure
P2
,
the third argument that is passed to the closure
P3
,
the fourth argument that is passed to the closure
P4
,
the fifth argument that is passed to the closure
P5
,
the sixth argument that is passed to the closure
P6
>

A procedure that takes six arguments.

org.eclipse.xtext.xbase.lib back to summary

public Interface Procedures.Procedure0


A procedure without any parameters, e.g. a Runnable.

Method Summary

Modifier and TypeMethod and Description
public void

Method Detail

applyback to summary
public void apply()
org.eclipse.xtext.xbase.lib back to summary

public Interface Procedures.Procedure1<Param>

Type Parameters
<Param>
the only argument that is passed to the closure

A procedure that takes one argument.

Method Summary

Modifier and TypeMethod and Description
public void
apply(Param p)

Method Detail

applyback to summary
public void apply(Param p)
org.eclipse.xtext.xbase.lib back to summary

public Interface Procedures.Procedure2<P1, P2>

Type Parameters
<P1>
the first argument that is passed to the closure
<P2>
the second argument that is passed to the closure

A procedure that takes two arguments.

Method Summary

Modifier and TypeMethod and Description
public void
apply(P1 p1, P2 p2)

Method Detail

applyback to summary
public void apply(P1 p1, P2 p2)
org.eclipse.xtext.xbase.lib back to summary

public Interface Procedures.Procedure3<P1, P2, P3>

Type Parameters
<P1>
the first argument that is passed to the closure
<P2>
the second argument that is passed to the closure
<P3>
the third argument that is passed to the closure

A procedure that takes three arguments.

Method Summary

Modifier and TypeMethod and Description
public void
apply(P1 p1, P2 p2, P3 p3)

Method Detail

applyback to summary
public void apply(P1 p1, P2 p2, P3 p3)
org.eclipse.xtext.xbase.lib back to summary

public Interface Procedures.Procedure4<P1, P2, P3, P4>

Type Parameters
<P1>
the first argument that is passed to the closure
<P2>
the second argument that is passed to the closure
<P3>
the third argument that is passed to the closure
<P4>
the fourth argument that is passed to the closure

A procedure that takes four arguments.

Method Summary

Modifier and TypeMethod and Description
public void
apply(P1 p1, P2 p2, P3 p3, P4 p4)

Method Detail

applyback to summary
public void apply(P1 p1, P2 p2, P3 p3, P4 p4)
org.eclipse.xtext.xbase.lib back to summary

public Interface Procedures.Procedure5<P1, P2, P3, P4, P5>

Type Parameters
<P1>
the first argument that is passed to the closure
<P2>
the second argument that is passed to the closure
<P3>
the third argument that is passed to the closure
<P4>
the fourth argument that is passed to the closure
<P5>
the fifth argument that is passed to the closure

A procedure that takes five arguments.

Method Summary

Modifier and TypeMethod and Description
public void
apply(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5)

Method Detail

applyback to summary
public void apply(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5)
org.eclipse.xtext.xbase.lib back to summary

public Interface Procedures.Procedure6<P1, P2, P3, P4, P5, P6>

Type Parameters
<P1>
the first argument that is passed to the closure
<P2>
the second argument that is passed to the closure
<P3>
the third argument that is passed to the closure
<P4>
the fourth argument that is passed to the closure
<P5>
the fifth argument that is passed to the closure
<P6>
the sixth argument that is passed to the closure

A procedure that takes six arguments.

Method Summary

Modifier and TypeMethod and Description
public void
apply(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6)

Method Detail

applyback to summary
public void apply(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6)