├── .gitignore ├── .idea ├── compiler.xml ├── gradle.xml ├── libraries │ ├── Gradle__com_google_code_gson_gson_2_6_2.xml │ ├── Gradle__com_h2database_h2_1_3_170.xml │ ├── Gradle__junit_junit_4_12.xml │ ├── Gradle__mysql_mysql_connector_java_5_1_39.xml │ ├── Gradle__org_apache_commons_commons_math3_3_6_1.xml │ ├── Gradle__org_codehaus_groovy_groovy_all_2_4_12.xml │ ├── Gradle__org_hamcrest_hamcrest_core_1_3.xml │ └── Gradle__org_spockframework_spock_core_1_0_groovy_2_4.xml ├── misc.xml ├── modules.xml ├── modules │ ├── AdvancedGroovy_main.iml │ └── AdvancedGroovy_test.iml ├── vcs.xml └── workspace.xml ├── AdvancedGroovy.iml ├── README.md ├── api_key.txt ├── build.gradle ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── src ├── main └── groovy │ ├── ast │ ├── builder │ │ └── builder_demo.groovy │ ├── delegate │ │ └── phone_delegate.groovy │ ├── immutable │ │ └── Point.groovy │ ├── singleton │ │ └── SingletonPoint.groovy │ ├── sortable │ │ ├── Golfer.groovy │ │ └── use_golfer.groovy │ └── tostring │ │ └── tostring_and_equals.groovy │ ├── closures │ └── return_from_closure.groovy │ ├── coercedclosures │ ├── GroovyUtilityMethods.groovy │ ├── ListDirectories.java │ ├── UtilityMethods.java │ └── list_directories.groovy │ ├── db │ └── film_in_stock.groovy │ ├── gjdk │ ├── basic_auth.groovy │ ├── groundhog.groovy │ ├── perm_and_comb.groovy │ ├── sort_strings.groovy │ └── sum_numbers.groovy │ ├── hr │ ├── Department.groovy │ ├── Employee.java │ └── JavaDepartment.java │ ├── icndb │ ├── icndb_script_only.groovy │ └── icndb_with_textarea_and_button.groovy │ ├── io │ ├── SumNumbers.java │ ├── data.txt │ ├── files.groovy │ ├── sum_numbers.groovy │ └── sum_numbers_loop.groovy │ ├── metaprogramming │ ├── CurrencyCategory.groovy │ ├── CustomLevel.groovy │ ├── complex_numbers.groovy │ ├── expando_demo.groovy │ ├── use_emc.groovy │ ├── use_slang_category.groovy │ └── without_custom_levels.groovy │ ├── openweather │ ├── Model.groovy │ ├── OpenWeather.groovy │ ├── api_key.txt │ ├── parse_weather.groovy │ └── use_open_weather.groovy │ ├── pogo │ ├── JavaTask.java │ └── Task.java │ ├── range │ ├── Geocoder.groovy │ ├── TrainStation.groovy │ └── amtrak_ne_corridor.groovy │ └── sorting │ ├── Person.groovy │ ├── SortStringsByLength.java │ └── sort_list.groovy └── test └── groovy ├── ast ├── immutable │ └── PointSpec.groovy └── singleton │ └── SingletonPointSpec.groovy ├── coercedclosures ├── CoercedClosureMapTest.groovy ├── GTCSubclassTest.groovy ├── GroovyJUnit4Test.groovy └── ListDirectoriesTest.java ├── hr ├── DepartmentSpec.groovy └── JavaDepartmentSpec.groovy ├── metaprogramming ├── ComplexSpec.groovy ├── CurrencyCategorySpec.groovy └── LoggingTests.groovy ├── openweather ├── ModelSpec.groovy └── OpenWeatherSpec.groovy └── pogo └── TaskTest.java /.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | bin 3 | out 4 | .gradle 5 | .project 6 | .classpath 7 | .settings 8 | *~ 9 | .idea 10 | -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 19 | 20 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__com_google_code_gson_gson_2_6_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__com_h2database_h2_1_3_170.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__junit_junit_4_12.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__mysql_mysql_connector_java_5_1_39.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_apache_commons_commons_math3_3_6_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_codehaus_groovy_groovy_all_2_4_12.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_spockframework_spock_core_1_0_groovy_2_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /.idea/modules/AdvancedGroovy_main.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /.idea/modules/AdvancedGroovy_test.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/workspace.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 57 | 58 | 63 | 68 | 88 | 285 | 291 | 393 | 396 | 397 | 398 | 406 | 407 | 408 | 409 | 410 | true 411 | DEFINITION_ORDER 412 | 413 | 414 | 419 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | 427 | 428 | 429 | 430 | 431 | 432 | 433 | 434 | 435 | 436 | 437 | 438 | 439 | 440 | 441 | 442 | 443 | 444 | 445 | 446 | 447 | 448 | 449 | 450 | 451 | 452 | 453 | 454 | 455 | 456 | 457 | 458 | 459 | 460 | 461 | 462 | 463 | 464 | 465 | 466 | 467 | 468 | 469 | 470 | 471 | 472 | 473 | 474 | 475 |