My Account Log in

4 options

Groovy programming : an introduction for Java developers / Kenneth Barclay, John Savage.

EBSCOhost Academic eBook Collection (North America) Available online

View online

EBSCOhost eBook Community College Collection Available online

View online

Ebook Central Academic Complete Available online

View online

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Barclay, Kenneth A., 1947-
Contributor:
Savage, W. J. (W. John)
Language:
English
Subjects (All):
Java (Computer program language).
Computers.
Genre:
Electronic books.
Physical Description:
1 online resource (497 p.)
Edition:
1st edition
Place of Publication:
San Francisco, CA : Morgan Kaufmann Publishers, 2006.
Language Note:
English
System Details:
text file
Summary:
Groovy Programming is an introduction to the Java-based scripting language Groovy. Groovy has much in common with popular scripting languages such as Perl, Python, and Ruby, but is written in a Java-like syntax. And, unlike these other languages, Groovy is sanctioned by the Java community for use on the Java platform. Since it is based on Java, applications written in Groovy can make full use of the Java Application Programmer Interfaces (APIs). This means Groovy can integrate seamlessly with applications written in Java, while avoiding the complexities of the full Java language. This b
Contents:
Front Cover; Title page; Copyright page; Table of Contents; Foreword; Preface; Organization; Conventions; Software Distribution; Acknowledgements; About the Authors; Chapter 1: Groovy; 1.1 Why Scripting?; 1.2 Why Groovy?; Chapter 2: Numbers and Expressions; 2.1 Numbers; 2.2 Expressions; 2.3 Operator Precedence; 2.4 Assignment; 2.5 Increment and Decrement Operators; 2.6 Object References; 2.7 Relational and Equality Operators; 2.8 Exercises; Chapter 3: Strings and Regular Expressions; 3.1 String Literals; 3.2 String Indexing and Slicing; 3.3 Basic Operations; 3.4 String Methods
3.5 String Comparison3.6 Regular Expressions; 3.7 Exercises; Chapter 4: Lists, Maps, and Ranges; 4.1 Lists; 4.2 List Methods; 4.3 Maps; 4.4 Map Methods; 4.5 Ranges; 4.6 Exercises; Chapter 5: Simple Input and Output; 5.1 Simple Output; 5.2 Formatted Output; 5.3 Simple Input; 5.4 Exercises; Chapter 6: Case Study: A Library Application (Modeling); 6.1 Iteration 1: Specification and List Implementation; 6.2 Iteration 2: Map Implementation; 6.3 Exercises; Chapter 7: Methods; 7.1 Methods; 7.2 Method Parameters; 7.3 Default Parameters; 7.4 Method Return Values; 7.5 Parameter Passing; 7.6 Scope
7.7 Collections as Method Parameters and Return Values7.8 Exercises; Chapter 8: Flow of Control; 8.1 While Statement; 8.2 For Statement; 8.3 If Statement; 8.4 Switch Statement; 8.5 Break Statement; 8.6 Continue Statement; 8.7 Exercises; Chapter 9: Closures; 9.1 Closures; 9.2 Closures, Collections, and Strings; 9.3 Other Closure Features; 9.4 Exercises; Chapter 10: Files; 10.1 Command Line Arguments; 10.2 File Class; 10.3 Exercises; Chapter 11: Case Study: A Library Application (Methods, Closures); 11.1 Iteration 1: Specification and Map Implementation
11.2 Iteration 2: Implementation of a Text-Based User Interface11.3 Iteration 3: Implementation with Closures; 11.4 Exercises; Chapter 12: Classes; 12.1 Classes; 12.2 Composition; 12.3 Exercises; Chapter 13: Case Study: A Library Application (Objects); 13.1 Specification; 13.2 Iteration 1: An Initial Model; 13.3 Iteration 2: Augment the Model; 13.4 Iteration 3: Reinstate the User Interface; 13.5 Exercises; Chapter 14: Inheritance; 14.1 Inheritance; 14.2 Inherited Methods; 14.3 Redefined Methods; 14.4 Polymorphism; 14.5 The Abstract Class; 14.6 The Interface Class; 14.7 Exercises
Chapter 15: Unit Testing (JUnit)15.1 Unit Testing; 15.2 The GroovyTestCase and JUnit TestCase Classes; 15.3 The GroovyTestSuite and JUnit TestSuite Classes; 15.4 The Role of Unit Testing; 15.5 Exercises; Chapter 16: Case Study: A Library Application (Inheritance); 16.1 Specification; 16.2 Iteration 1: Confirm the Polymorphic Effect; 16.3 Iteration 2: Demonstrate the Required Functionality; 16.4 Iteration 3: Provide User Feedback; 16.5 Iteration 4: Enforce Constraints; 16.6 Exercises; Chapter 17: Persistence; 17.1 Simple Queries; 17.2 Relations; 17.3 Database Updates; 17.4 Objects from Tables
17.5 Inheritance
Notes:
Description based upon print version of record.
Includes bibliographical references and index.
ISBN:
9786610751563
9781280751561
1280751568
9780080471594
0080471595
OCLC:
437176871

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account