Search Options

Display Count
Sort
Preferred Language
Label
Advanced Search

Results 1 - 10 of 18 for int (0.05 seconds)

  1. 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.html
    Fri Feb 06 06:21:48 GMT 2026
      351.6K bytes
  2. 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.html
    Fri Feb 06 06:23:19 GMT 2026
      183.4K bytes
  3. 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.html
    Fri Feb 06 06:24:30 GMT 2026
      112.3K bytes
  4. 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.html
    Fri Feb 06 06:22:58 GMT 2026
      276.5K bytes
  5. 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.html
    Fri Feb 06 06:22:42 GMT 2026
      108.1K bytes
  6. 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.html
    Fri Feb 06 06:23:11 GMT 2026
      94.5K bytes
  7. 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.html
    Fri Feb 06 06:22:53 GMT 2026
      245.4K bytes
  8. 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.html
    Fri Feb 06 06:21:39 GMT 2026
      41.3K bytes
  9. 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.html
    Fri Feb 06 06:24:34 GMT 2026
      67.7K bytes
  10. 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.html
    Fri Feb 06 06:24:54 GMT 2026
      94.5K bytes
Back to Top