MFV3D Book Archive > Java > Download JDK 1.4 Tutorial by Gregory M. Travis PDF

Download JDK 1.4 Tutorial by Gregory M. Travis PDF

By Gregory M. Travis

This consultant to JDK 1.4 offers a whole reference application and is the reason and illustrates using the APIs. It presents pointers on transitioning to the concepts of model 1.4.

Show description

Read or Download JDK 1.4 Tutorial PDF

Similar java books

Java EE 6 Development with NetBeans 7

The e-book is a pragmatic advisor explaining some of the gains of the NetBeans IDE on the topic of firm program improvement. The publication is aimed toward Java builders who desire to enhance Java EE functions whereas profiting from NetBeans performance to automate repetitive projects and to ease their software program improvement efforts.

Java Transaction Design Strategies

Even though it isn't a very good publication nor it is going to be the bible of not anything, the e-book is sort of transparent. i admire much tips to clarify transaction options and the several strategies.

It is an efficient ebook.

Spring Web Services 2 Cookbook

It is a cookbook filled with recipes with the basic code defined basically and comprehensively. each one bankruptcy is well compartmentalized with centred recipes that are completely prepared for simple reference and figuring out. This booklet is for Java/J2EE builders. because the books covers a number of issues in Web-Service improvement, it's going to function a reference consultant to these already acquainted with Web-Services.

Additional resources for JDK 1.4 Tutorial

Sample text

Allocate() creates a fresh ByteBuffer and allocates the memory required to store the data. allocateDirect() does the same thing, but it attempts to allocate the required data area as direct memory. ) The two wrap() methods create a new buffer by wrapping an existing array—or a portion of an existing array—in a Buffer object. Note that that this doesn’t make a copy of the data—the data in the buffer and the data in the array are the same data. Any modifications to the buffer will show up in the array, and vice versa.

You can accomplish the same thing with put( ByteBuffer ). In addition to these methods, ByteBuffer also contains a set of methods for reading and writing other primitive Java types. book Page 9 Monday, March 11, 2002 3:38 PM Understanding buffers 9 methods one or more times, with the bytes involved making up the value of the primitive type. 7. 3 Buffer state values In the previous sections, we saw how to read from and write to a buffer, but we never really found out what was going on inside the buffer.

In order to prepare for reading, the value of limit must be changed. Before the call to flip(), the buffer was being used as an empty area into which data could be put; the limit value specified the end of this empty area. book Page 12 Monday, March 11, 2002 3:38 PM 12 CHAPTER 1 Basic NIO the end of this valid data. This limit value is equal to the value that position had before flip() was called. 5). 6). The reading phase is now over. 7). The position is set to 0, while the limit is set to the capacity, leaving as large a space as possible for use in the next writing phase.

Download PDF sample

Rated 4.60 of 5 – based on 47 votes