- Sort Score
- Num 10 results
- Language All
- Labels All
Results 1 - 10 of 18 for int (0.05 seconds)
-
The Apache Groovy programming language - Runtim...
@AutoFinal int add(int a, int b) { a + b } int mult(int a, int b) {...someMethod() { int x = 1; int y = 10; anchor: for (int i=0; i<x+y;...groovy-lang.org/metaprogramming.htmlFri Feb 06 06:21:48 GMT 2026 351.6K bytes -
The Apache Groovy programming language - Design...
concurrently: class AverageHolder { int total int count AverageHolder plus(AverageHolder...String name double lengthSide int numSides } class Circle extends...groovy-lang.org/design-patterns.htmlFri Feb 06 06:23:19 GMT 2026 183.4K bytes -
The Apache Groovy programming language - Syntax
int int int long BigInteger double double BigDecimal char int int...byte , char , short and int result in int binary operations involving...groovy-lang.org/syntax.htmlFri Feb 06 06:24:30 GMT 2026 112.3K bytes -
The Apache Groovy programming language - Semantics
int add(int a, int b) { return a+b } assert...Can be shortened to: int add(int a, int b) { a+b } assert add(1,...groovy-lang.org/semantics.htmlFri Feb 06 06:22:58 GMT 2026 276.5K bytes -
The Apache Groovy programming language - Operators
method signature: int function(int x, int y, int z) { x*y+z } then...of type int : int a = 0b00101010 assert a == 42 int b = 0b00001000...groovy-lang.org/operators.htmlFri Feb 06 06:22:42 GMT 2026 108.1K bytes -
The Apache Groovy programming language - Differ...
differently: int method(String arg) { return 1; } int method(Object...initializer shorthand syntax int[] array2 = new int[] {4, 5, 6}; // Java...groovy-lang.org/differences.htmlFri Feb 06 06:23:11 GMT 2026 94.5K bytes -
The Apache Groovy programming language - Object...
ColoredPoint(int, int, String) ColoredPoint(int, int) ColoredPoint(int)...trait IntCouple { int x = 1 int y = 2 int sum() { x+y } } The...groovy-lang.org/objectorientation.htmlFri Feb 06 06:22:53 GMT 2026 245.4K bytes -
The Apache Groovy programming language - Progra...
as illustrated here: int fib(int n) { n < 2 ? 1 : fib(n-1)...method: println 'Hello' (1) int power(int n) { 2**n } (2) println...groovy-lang.org/structure.htmlFri Feb 06 06:21:39 GMT 2026 41.3K bytes -
The Apache Groovy programming language - Closures
closureWithTwoArgsAn = { int a, int b -> a+b } assert closureWithTwoArgsAn(1,2)...closureWithTwoArgAnd = { int a, int b=2 -> a+b } assert closureWithTwoArgAnd(1)...groovy-lang.org/closures.htmlFri Feb 06 06:24:34 GMT 2026 67.7K bytes -
The Apache Groovy programming language - Workin...
(rw) int Base (r) int Invocations Operations: int add(int x, int...second number")]) public int add(int x, int y) { invocations++ return...groovy-lang.org/jmx.htmlFri Feb 06 06:24:54 GMT 2026 94.5K bytes