Author: Maurice Naftalin
Publisher: "O'Reilly Media, Inc."
ISBN: 0596527756
Category : Computers
Languages : en
Pages : 294
Book Description
This book, written by one of the designers of generics, is a thorough explanation of how to use generics, and particularly, the effect this facility has on the way developers use collections.
Java Collections
Author: John Zukowski
Publisher: Apress
ISBN: 1430208546
Category : Computers
Languages : en
Pages : 416
Book Description
The Collections Framework is supplied with all versions of the Java 2 platform and provides programmers with incredibly efficient ways to manipulate data. However, given the large number of methods and classes in this library, using them correctly is hardly a cakewalk. Well-known columnist and bestselling author John Zukowski gives the Java professional exactly what he or she needs to know about this vital library in order to maximize productivity. This practical book contains comprehensive coverage of the important Collections Framework from the working programmer's point of view, while staying away from academic abstractions. Java Collections leads you through the standard Java support for maintaining abstract groups of data, from the historical collection classes available since the inception of Java time, through the Collections Framework introduced with the Java 2 platform, and on to third-party alternative libraries for times when the standard support isn't enough. If you're working with data in Java programs, you need to understand the Collections Framework. Let Zukowski's Java Collections be your guide! Table of Contents Java Collections Framework: An Overview Arrays The Vector and Stack Classes The Enumeration Interface The Dictionary, Hashtable, and Properties Classes The BitSet Class Collections Introduction Sets Lists Maps Sorting Special Collections Support Array Algorithm Support Custom Implementations Compatibility Issues Advanced Usages JGL Libraries util.concurrent Colt
Publisher: Apress
ISBN: 1430208546
Category : Computers
Languages : en
Pages : 416
Book Description
The Collections Framework is supplied with all versions of the Java 2 platform and provides programmers with incredibly efficient ways to manipulate data. However, given the large number of methods and classes in this library, using them correctly is hardly a cakewalk. Well-known columnist and bestselling author John Zukowski gives the Java professional exactly what he or she needs to know about this vital library in order to maximize productivity. This practical book contains comprehensive coverage of the important Collections Framework from the working programmer's point of view, while staying away from academic abstractions. Java Collections leads you through the standard Java support for maintaining abstract groups of data, from the historical collection classes available since the inception of Java time, through the Collections Framework introduced with the Java 2 platform, and on to third-party alternative libraries for times when the standard support isn't enough. If you're working with data in Java programs, you need to understand the Collections Framework. Let Zukowski's Java Collections be your guide! Table of Contents Java Collections Framework: An Overview Arrays The Vector and Stack Classes The Enumeration Interface The Dictionary, Hashtable, and Properties Classes The BitSet Class Collections Introduction Sets Lists Maps Sorting Special Collections Support Array Algorithm Support Custom Implementations Compatibility Issues Advanced Usages JGL Libraries util.concurrent Colt
Effective Java
Author: Joshua Bloch
Publisher: Addison-Wesley Professional
ISBN: 0132778041
Category : Computers
Languages : en
Pages : 375
Book Description
Are you looking for a deeper understanding of the JavaTM programming language so that you can write code that is clearer, more correct, more robust, and more reusable? Look no further! Effective JavaTM, Second Edition, brings together seventy-eight indispensable programmer’s rules of thumb: working, best-practice solutions for the programming challenges you encounter every day. This highly anticipated new edition of the classic, Jolt Award-winning work has been thoroughly updated to cover Java SE 5 and Java SE 6 features introduced since the first edition. Bloch explores new design patterns and language idioms, showing you how to make the most of features ranging from generics to enums, annotations to autoboxing. Each chapter in the book consists of several “items” presented in the form of a short, standalone essay that provides specific advice, insight into Java platform subtleties, and outstanding code examples. The comprehensive descriptions and explanations for each item illuminate what to do, what not to do, and why. Highlights include: New coverage of generics, enums, annotations, autoboxing, the for-each loop, varargs, concurrency utilities, and much more Updated techniques and best practices on classic topics, including objects, classes, libraries, methods, and serialization How to avoid the traps and pitfalls of commonly misunderstood subtleties of the language Focus on the language and its most fundamental libraries: java.lang, java.util, and, to a lesser extent, java.util.concurrent and java.io Simply put, Effective JavaTM, Second Edition, presents the most practical, authoritative guidelines available for writing efficient, well-designed programs.
Publisher: Addison-Wesley Professional
ISBN: 0132778041
Category : Computers
Languages : en
Pages : 375
Book Description
Are you looking for a deeper understanding of the JavaTM programming language so that you can write code that is clearer, more correct, more robust, and more reusable? Look no further! Effective JavaTM, Second Edition, brings together seventy-eight indispensable programmer’s rules of thumb: working, best-practice solutions for the programming challenges you encounter every day. This highly anticipated new edition of the classic, Jolt Award-winning work has been thoroughly updated to cover Java SE 5 and Java SE 6 features introduced since the first edition. Bloch explores new design patterns and language idioms, showing you how to make the most of features ranging from generics to enums, annotations to autoboxing. Each chapter in the book consists of several “items” presented in the form of a short, standalone essay that provides specific advice, insight into Java platform subtleties, and outstanding code examples. The comprehensive descriptions and explanations for each item illuminate what to do, what not to do, and why. Highlights include: New coverage of generics, enums, annotations, autoboxing, the for-each loop, varargs, concurrency utilities, and much more Updated techniques and best practices on classic topics, including objects, classes, libraries, methods, and serialization How to avoid the traps and pitfalls of commonly misunderstood subtleties of the language Focus on the language and its most fundamental libraries: java.lang, java.util, and, to a lesser extent, java.util.concurrent and java.io Simply put, Effective JavaTM, Second Edition, presents the most practical, authoritative guidelines available for writing efficient, well-designed programs.
Data Structures and the Java Collections Framework
Author: William Joseph Collins
Publisher:
ISBN:
Category : Computers
Languages : en
Pages : 746
Book Description
This student-friendly book is designed for a course in data structures where the implementation language is Java. The focus is on teaching students how to apply the concepts presented, therefore many applications and examples are included, as well as programming projects, which get students thinking more deeply. The author shows students how to use the data structures provided in the Java Collections Framework, as well as teaching them how to build the code themselves. Using the Java Collections Framework gives the students the opportunity to work with fully tested code. Also, since this is a standard library of classes, students will be able to continue to use it for other courses and as they move into industry. Another feature of this text is that labs are provided with the book. They can be used as open-labs, closed labs, or homework assignments and are designed to give students hands-on experiences in programming. These optional labs provide excellent practice and additional material.
Publisher:
ISBN:
Category : Computers
Languages : en
Pages : 746
Book Description
This student-friendly book is designed for a course in data structures where the implementation language is Java. The focus is on teaching students how to apply the concepts presented, therefore many applications and examples are included, as well as programming projects, which get students thinking more deeply. The author shows students how to use the data structures provided in the Java Collections Framework, as well as teaching them how to build the code themselves. Using the Java Collections Framework gives the students the opportunity to work with fully tested code. Also, since this is a standard library of classes, students will be able to continue to use it for other courses and as they move into industry. Another feature of this text is that labs are provided with the book. They can be used as open-labs, closed labs, or homework assignments and are designed to give students hands-on experiences in programming. These optional labs provide excellent practice and additional material.
Learning Java
Author: Patrick Niemeyer
Publisher: "O'Reilly Media, Inc."
ISBN: 9780596002855
Category : Computers
Languages : en
Pages : 836
Book Description
This updated edition introduces the basics of Java and everything necessary to get up to speed on the new 1.4 version quickly. CD contains the Java 2 SDK for Windows, Linux and Solaris.
Publisher: "O'Reilly Media, Inc."
ISBN: 9780596002855
Category : Computers
Languages : en
Pages : 836
Book Description
This updated edition introduces the basics of Java and everything necessary to get up to speed on the new 1.4 version quickly. CD contains the Java 2 SDK for Windows, Linux and Solaris.
Java Collections
Author: David A. Watt
Publisher: John Wiley & Sons
ISBN:
Category : Computers
Languages : en
Pages : 572
Book Description
A unique, practical approach to working with collection classes in Java 2 Software developers new to Java will find the practical, software-engineering based approach taken by this book extremely refreshing. With an emphasis more on software design and less on theory, Java Collections explores in detail Java 2 collection classes, helping programmers choose the best collection classes for each application they work on. Watt and Brown explore abstract data types (ADTs) that turn up again and again in software design, using them to provide context for the data structures required for their implementation and the algorithms associated with the data structures. Numerous worked examples, several large case studies, and end-of-chapter exercises are also provided.
Publisher: John Wiley & Sons
ISBN:
Category : Computers
Languages : en
Pages : 572
Book Description
A unique, practical approach to working with collection classes in Java 2 Software developers new to Java will find the practical, software-engineering based approach taken by this book extremely refreshing. With an emphasis more on software design and less on theory, Java Collections explores in detail Java 2 collection classes, helping programmers choose the best collection classes for each application they work on. Watt and Brown explore abstract data types (ADTs) that turn up again and again in software design, using them to provide context for the data structures required for their implementation and the algorithms associated with the data structures. Numerous worked examples, several large case studies, and end-of-chapter exercises are also provided.
Java in a Nutshell
Author: David Flanagan
Publisher: Oreilly & Associates Incorporated
ISBN: 9781565923041
Category : Computers
Languages : en
Pages : 610
Book Description
Java in a Nutshell, Deluxe Editionis a Java programmer's dream come true in one small package. The heart of this Deluxe Edition is the Java Reference Library on CD-ROM, which brings together five volumes for Java developers and programmers, linking related info across books. It includes:Exploring Java, 2nd Edition,Java Language Reference, 2nd Edition,Java Fundamental Classes Reference,Java AWT Reference, andJava in a Nutshell, 2nd Edition, included both on the CD-ROM and in a companion desktop edition.Java in a Nutshell, Deluxe Editionis an indispensable resource for anyone doing serious programming with Java 1.1. The Java Reference Library alone is also available by subscription on the World Wide Web. Please seehttp://online-books.oreilly.com/books/javaref/for details. The electronic text on the Web and on the CD is fully searchable and includes a complete index to all five volumes. It also includes the sample code found in the printed volumes. Exploring Java, 2nd Editionintroduces the basics of Java 1.1 and offers a clear, systematic overview of the language. It covers the essentials of hot topics like Beans and RMI, as well as writing applets and other applications, such as networking programs, content and protocol handlers, and security managers. TheJava Language Reference, 2nd Editionis a complete reference that describes all aspects of the Java language, including syntax, object-oriented programming, exception handling, multithreaded programming, and differences between Java and C/C++. The second edition covers the new language features that have been added in Java 1.1, such as inner classes, class literals, and instance initializers. TheJava Fundamental Classes Referenceprovides complete reference documentation on the core Java 1.1 classes that comprise thejava.lang,java.io,java.net,java.util,java.text,java.math,java.lang.reflect, andjava.util.zippackages. These classes provide general-purpose functionality that is fundamental to every Java application. TheJava AWT Referenceprovides complete reference documentation on the Abstract Window Toolkit (AWT), a large collection of classes for building graphical user interfaces in Java. Java in a Nutshell, 2nd Edition, the bestselling book on Java and the one most often recommended on the Internet, is a complete quick-reference guide to Java, containing descriptions of all of the classes in the Java 1.1 core API, with a definitive listing of all methods and variables, with the exception of the still-evolving Enterprise APIs. These APIs will be covered in a future volume. Highlights of the library include: History and principles of Java How to integrate applets into the World Wide Web A detailed look into Java's style of object-oriented programming Detailed coverage of all the essential classes injava.lang,java.io,java.util,java.net,java.awt Using threads Network programming Content and protocol handling A detailed explanation of Java's image processing mechanisms Material on graphics primitives and rendering techniques Writing a security manager System requirements: The CD-ROM is readable on all Windows and UNIX platforms. Current implementations of the Java Virtual Machine for the Mac platform do not support the Java search applet in this CD-ROM. Mac users can purchase the World Wide Web version (seehttp://online-books.oreilly.com/books/javaref/for more information). A Web browser that supports HTML 3.2, Java, and JavaScript, such as Netscape 3.0 or Internet Explorer 3.0, is required.
Publisher: Oreilly & Associates Incorporated
ISBN: 9781565923041
Category : Computers
Languages : en
Pages : 610
Book Description
Java in a Nutshell, Deluxe Editionis a Java programmer's dream come true in one small package. The heart of this Deluxe Edition is the Java Reference Library on CD-ROM, which brings together five volumes for Java developers and programmers, linking related info across books. It includes:Exploring Java, 2nd Edition,Java Language Reference, 2nd Edition,Java Fundamental Classes Reference,Java AWT Reference, andJava in a Nutshell, 2nd Edition, included both on the CD-ROM and in a companion desktop edition.Java in a Nutshell, Deluxe Editionis an indispensable resource for anyone doing serious programming with Java 1.1. The Java Reference Library alone is also available by subscription on the World Wide Web. Please seehttp://online-books.oreilly.com/books/javaref/for details. The electronic text on the Web and on the CD is fully searchable and includes a complete index to all five volumes. It also includes the sample code found in the printed volumes. Exploring Java, 2nd Editionintroduces the basics of Java 1.1 and offers a clear, systematic overview of the language. It covers the essentials of hot topics like Beans and RMI, as well as writing applets and other applications, such as networking programs, content and protocol handlers, and security managers. TheJava Language Reference, 2nd Editionis a complete reference that describes all aspects of the Java language, including syntax, object-oriented programming, exception handling, multithreaded programming, and differences between Java and C/C++. The second edition covers the new language features that have been added in Java 1.1, such as inner classes, class literals, and instance initializers. TheJava Fundamental Classes Referenceprovides complete reference documentation on the core Java 1.1 classes that comprise thejava.lang,java.io,java.net,java.util,java.text,java.math,java.lang.reflect, andjava.util.zippackages. These classes provide general-purpose functionality that is fundamental to every Java application. TheJava AWT Referenceprovides complete reference documentation on the Abstract Window Toolkit (AWT), a large collection of classes for building graphical user interfaces in Java. Java in a Nutshell, 2nd Edition, the bestselling book on Java and the one most often recommended on the Internet, is a complete quick-reference guide to Java, containing descriptions of all of the classes in the Java 1.1 core API, with a definitive listing of all methods and variables, with the exception of the still-evolving Enterprise APIs. These APIs will be covered in a future volume. Highlights of the library include: History and principles of Java How to integrate applets into the World Wide Web A detailed look into Java's style of object-oriented programming Detailed coverage of all the essential classes injava.lang,java.io,java.util,java.net,java.awt Using threads Network programming Content and protocol handling A detailed explanation of Java's image processing mechanisms Material on graphics primitives and rendering techniques Writing a security manager System requirements: The CD-ROM is readable on all Windows and UNIX platforms. Current implementations of the Java Virtual Machine for the Mac platform do not support the Java search applet in this CD-ROM. Mac users can purchase the World Wide Web version (seehttp://online-books.oreilly.com/books/javaref/for more information). A Web browser that supports HTML 3.2, Java, and JavaScript, such as Netscape 3.0 or Internet Explorer 3.0, is required.
Professional .NET 2.0 Generics
Author: Tod Golding
Publisher: John Wiley & Sons
ISBN: 0471757691
Category : Computers
Languages : en
Pages : 386
Book Description
The power and elegance of generic types have long beenacknowledged. Generics allow developers to parameterize data typesmuch like you would parameterize a method. This brings a newdimension of reusability to your types without compromisingexpressiveness, type-safety, or efficiency. Now .NET generics makesthis power available to all .NET developers. By introducing genericconcepts directly into the Common Language Runtime (CLR), Microsofthas also created the first language-independent genericsimplementation. The result is a solution that allows generic typesto be leveraged by all the languages of the .NET platform. This book explores all aspects of the .NET genericsimplementation, covering everything from fundamental genericconcepts, to the elements of generic syntax, to a broader view ofhow and when you might apply generics. It digs into the detailsassociated with creating and consuming your own generic classes,structures, methods, delegates, and interfaces, examining all thenuances associated with leveraging each of these languageconstructs. The book also looks at guidelines for working withgeneric types, the performance gains achieved with generics, thenew generic container libraries (BCL and third party), and keyaspects of the underlying .NET implementation. For those transitioning from C++, the book provides an in-depthlook at the similarities and differences between templates and.NETgenerics. It also explores the syntactic variations associated withusing generics with each of the .NET languages, including C#,Visual Basic, J#, and C++.
Publisher: John Wiley & Sons
ISBN: 0471757691
Category : Computers
Languages : en
Pages : 386
Book Description
The power and elegance of generic types have long beenacknowledged. Generics allow developers to parameterize data typesmuch like you would parameterize a method. This brings a newdimension of reusability to your types without compromisingexpressiveness, type-safety, or efficiency. Now .NET generics makesthis power available to all .NET developers. By introducing genericconcepts directly into the Common Language Runtime (CLR), Microsofthas also created the first language-independent genericsimplementation. The result is a solution that allows generic typesto be leveraged by all the languages of the .NET platform. This book explores all aspects of the .NET genericsimplementation, covering everything from fundamental genericconcepts, to the elements of generic syntax, to a broader view ofhow and when you might apply generics. It digs into the detailsassociated with creating and consuming your own generic classes,structures, methods, delegates, and interfaces, examining all thenuances associated with leveraging each of these languageconstructs. The book also looks at guidelines for working withgeneric types, the performance gains achieved with generics, thenew generic container libraries (BCL and third party), and keyaspects of the underlying .NET implementation. For those transitioning from C++, the book provides an in-depthlook at the similarities and differences between templates and.NETgenerics. It also explores the syntactic variations associated withusing generics with each of the .NET languages, including C#,Visual Basic, J#, and C++.
Java in Two Semesters
Author: Quentin Charatan
Publisher: Springer
ISBN: 3319994204
Category : Computers
Languages : en
Pages : 719
Book Description
This easy-to-follow textbook teaches Java programming from first principles, as well as covering design and testing methodologies. The text is divided into two parts. Each part supports a one-semester module, the first part addressing fundamental programming concepts, and the second part building on this foundation, teaching the skills required to develop more advanced applications. This fully updated and greatly enhanced fourth edition covers the key developments introduced in Java 8, including material on JavaFX, lambda expressions and the Stream API. Topics and features: begins by introducing fundamental programming concepts such as declaration of variables, control structures, methods and arrays; goes on to cover the fundamental object-oriented concepts of classes and objects, inheritance and polymorphism; uses JavaFX throughout for constructing event-driven graphical interfaces; includes advanced topics such as interfaces and lambda expressions, generics, collection classes and exceptions; explains file-handling techniques, packages, multi-threaded programs, socket programming, remote database access and processing collections using streams; includes self-test questions and programming exercises at the end of each chapter, as well as two illuminating case studies; provides additional resources at its associated website (simply go to springer.com and search for "Java in Two Semesters"), including a guide on how to install and use the NetBeansTM Java IDE. Offering a gentle introduction to the field, assuming no prior knowledge of the subject, Java in Two Semesters is the ideal companion to undergraduate modules in software development or programming.
Publisher: Springer
ISBN: 3319994204
Category : Computers
Languages : en
Pages : 719
Book Description
This easy-to-follow textbook teaches Java programming from first principles, as well as covering design and testing methodologies. The text is divided into two parts. Each part supports a one-semester module, the first part addressing fundamental programming concepts, and the second part building on this foundation, teaching the skills required to develop more advanced applications. This fully updated and greatly enhanced fourth edition covers the key developments introduced in Java 8, including material on JavaFX, lambda expressions and the Stream API. Topics and features: begins by introducing fundamental programming concepts such as declaration of variables, control structures, methods and arrays; goes on to cover the fundamental object-oriented concepts of classes and objects, inheritance and polymorphism; uses JavaFX throughout for constructing event-driven graphical interfaces; includes advanced topics such as interfaces and lambda expressions, generics, collection classes and exceptions; explains file-handling techniques, packages, multi-threaded programs, socket programming, remote database access and processing collections using streams; includes self-test questions and programming exercises at the end of each chapter, as well as two illuminating case studies; provides additional resources at its associated website (simply go to springer.com and search for "Java in Two Semesters"), including a guide on how to install and use the NetBeansTM Java IDE. Offering a gentle introduction to the field, assuming no prior knowledge of the subject, Java in Two Semesters is the ideal companion to undergraduate modules in software development or programming.
Foundational Java
Author: David Parsons
Publisher: Springer Nature
ISBN: 3030545180
Category : Computers
Languages : en
Pages : 612
Book Description
Java is now well-established as one of the world’s major programming languages, used in everything from desktop applications to web-hosted applications, enterprise systems and mobile devices. Java applications cover cloud-based services, the Internet of Things, self-driving cars, animation, game development, big data analysis and many more domains. The second edition of Foundational Java: Key Elements and Practical Programming presents a detailed guide to the core features of Java – and some more recent innovations – enabling the reader to build their skills and confidence though tried-and-trusted stages, supported by exercises that reinforce the key learning points. All the most useful and commonly applied Java syntax and libraries are introduced, along with many example programs that can provide the basis for more substantial applications. Use of the Eclipse Integrated Development Environment (IDE) and the JUnit testing framework is integral to the book, ensuring maximum productivity and code quality when learning Java, although to ensure that skills are not confined to one environment the fundamentals of the Java compiler and run time are also explained. Additionally, coverage of the Ant tool will equip the reader with the skills to automatically build, test and deploy applications independent of an IDE. Topics and features: • Presents the most up-to-date information on Java, including Java 14 • Examines the key theme of unit testing, introducing the JUnit 5 testing framework to emphasize the importance of unit testing in modern software development • Describes the Eclipse IDE, the most popular open source Java IDE and explains how Java can be run from the command line • Includes coverage of the Ant build tool • Contains numerous code examples and exercises throughout • Provides downloadable source code, self-test questions, PowerPoint slides and other supplementary material at the website http://www.foundjava.com This hands-on, classroom-tested textbook/reference is ideal for undergraduate students on introductory and intermediate courses on programming with Java. Professional software developers will also find this an excellent self-study guide/refresher on the topic. Dr. David Parsons is National Postgraduate Director at The Mind Lab, Auckland, New Zealand. He has been teaching programming in both academia and industry since the 1980s and writing about it since the 1990s.
Publisher: Springer Nature
ISBN: 3030545180
Category : Computers
Languages : en
Pages : 612
Book Description
Java is now well-established as one of the world’s major programming languages, used in everything from desktop applications to web-hosted applications, enterprise systems and mobile devices. Java applications cover cloud-based services, the Internet of Things, self-driving cars, animation, game development, big data analysis and many more domains. The second edition of Foundational Java: Key Elements and Practical Programming presents a detailed guide to the core features of Java – and some more recent innovations – enabling the reader to build their skills and confidence though tried-and-trusted stages, supported by exercises that reinforce the key learning points. All the most useful and commonly applied Java syntax and libraries are introduced, along with many example programs that can provide the basis for more substantial applications. Use of the Eclipse Integrated Development Environment (IDE) and the JUnit testing framework is integral to the book, ensuring maximum productivity and code quality when learning Java, although to ensure that skills are not confined to one environment the fundamentals of the Java compiler and run time are also explained. Additionally, coverage of the Ant tool will equip the reader with the skills to automatically build, test and deploy applications independent of an IDE. Topics and features: • Presents the most up-to-date information on Java, including Java 14 • Examines the key theme of unit testing, introducing the JUnit 5 testing framework to emphasize the importance of unit testing in modern software development • Describes the Eclipse IDE, the most popular open source Java IDE and explains how Java can be run from the command line • Includes coverage of the Ant build tool • Contains numerous code examples and exercises throughout • Provides downloadable source code, self-test questions, PowerPoint slides and other supplementary material at the website http://www.foundjava.com This hands-on, classroom-tested textbook/reference is ideal for undergraduate students on introductory and intermediate courses on programming with Java. Professional software developers will also find this an excellent self-study guide/refresher on the topic. Dr. David Parsons is National Postgraduate Director at The Mind Lab, Auckland, New Zealand. He has been teaching programming in both academia and industry since the 1980s and writing about it since the 1990s.