home | career | drupal | java | mac | mysql | perl | scala | uml | unix

Groovy example source code file (Bar.groovy)

This example Groovy source code file (Bar.groovy) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Groovy tags/keywords

cheddar, cheddar, goober, goober, provolone, provolone, runnable, string, string, util

The Groovy Bar.groovy source code

package groovy

import java.util.HashMap as Goober;

class Cheddar extends Goober implements Runnable
{
    Goober theMap;
    protected def cheesier;
    public static def cheesiest;

    static void main(args) {
        def f = new Cheddar()
        println f
    }

    def cheeseIt() {  }

    String getStringCheese() { }
    String getOtherCheese(foo,bar) { }

    void run() { cheeseIt() }

    static Goober mutateGoober(Goober theGoober) { }
   
}

class Provolone
{

}

Other Groovy examples (source code examples)

Here is a short list of links related to this Groovy Bar.groovy source code file:

new blog posts

 

Copyright 1998-2014 Alvin Alexander, alvinalexander.com
All Rights Reserved.