Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 19 Next »

Java developers benefit from using Groovy, but so can you who don't already know Java. If you want to access the power of the Java Virtual Machine and Development Kit libraries when programming, but don't want to learn the Java Language, you can use Groovy instead. Or maybe you do want to learn Java, but do so the easy way: you can learn Groovy first. You'll be productive sooner, and can go on to learn more about Java at your own pace.

Much of the documentation on this website at Codehaus is for those who already know Java. These pages are for you who don't, so you can learn enough of the Groovy basics to easily use the other documentation on this website. They introduce Groovy's core classes and syntax together. All code examples have been tested using Groovy 1.0 or later inside a script. It's aimed at you who have already programmed before, just not in Java, maybe in PHP, Perl, or Visual Basic. Do note that although this documentation is correct and detailed, it's still a little raw because it's still being written.

Numeric Processing
         Integer Math - choose from many types of integers

         BigDecimal Math - for high-precision decimal math

         Floating Point Math - for high-speed decimal math

         Dates and Times - enabling complex date manipulations

Collections
         Lists and Sets - group various items into a collection

         Object Arrays - fixed-size arrays for faster collections

         Maps and Sorted Maps - assign collected values to keys

Text Processing
         Characters - access the full power of Unicode

         Strings and StringBuffers - easily handle strings of characters

         String Pattern Matching - find patterns within strings

Input and Output
         Files - manipulate the file system easily

         Streams, Readers, and Writers - access data as a flow of information - STILL IN PROGRESS

Control Structures
         Blocks, Closures, and Functions - compose your program from a wide variety of building blocks

         Expandos, Classes, and Categories - encapsulate your program's complexity

         Program Control - many various ways to structure your logic

Data Typing
         Static Typing and Interfaces - put compile-time restrictions in your program

         Inheritance - reuse your classes and methods for many purposes - STILL IN PROGRESS

         Class Reflection - examine and manipulate objects that aren't known at compile time

Other Topics Coming
         Packages
         Exceptions
         Networking
         Internationalization
         Multi-threading
         Builders
         Class Loading
         Formatting
         Enums
         Queues/Deques
         Permissions
         Annotations

Miscellaneous
        Using Interceptors with the ProxyMetaClass - valid for groovy-1.0-RC-01 and earlier only

  • No labels