Package com.github.dkfellows.notabuilder
Interface ThingClass.Args
- Enclosing class:
ThingClass
public static sealed interface ThingClass.Args
Argument labeller.
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic ThingClass.Args
bar
(int value) Label a value as abar
.static ThingClass.Args
foo
(int value) Label a value as afoo
.static ThingClass.Args
grill
(double value) Label a value as agrill
.static ThingClass.Args
Label a value as aquux
.
-
Method Details
-
foo
Label a value as afoo
.- Parameters:
value
- The value to label.- Returns:
- The labelled value.
-
bar
Label a value as abar
.- Parameters:
value
- The value to label.- Returns:
- The labelled value.
-
grill
Label a value as agrill
.- Parameters:
value
- The value to label.- Returns:
- The labelled value.
-
quux
Label a value as aquux
.- Parameters:
value
- The value to label.- Returns:
- The labelled value.
-