• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

What does this requirement mean?

 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

All numeric values are stored in the header information use the formats of the DataInputStream and DataOutputStream classes

 
Master Rancher
Posts: 5170
83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you looked at java.io.DataOutputStream and java.io.DataInputStream? They describe precisely-defined formats for reading and writing a variety of data types.

Note: please ignore links that look like this: DataOutputStream or DataInputStream. Unless someone (in the future) has fixed the current bug, they give links to http://java.sun.com/javase/6/docs/api/org/omg/CORBA/DataInputStream.html and http://java.sun.com/javase/6/docs/api/org/omg/CORBA/DataOutputStream.html. Those are definitely not what Sun/Oracle meant in the SCJD instructions. Those links are automatically provided by the JavaRanch forum software, and unfortunately, in this case, they're wrong. Ignore them.
 
Sheriff
Posts: 11606
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It is not a real requirement, it just tells you how you can read the stored numeric values in the header information
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Mike Simmons wrote:Note: please ignore links that look like this: DataOutputStream or DataInputStream. Unless someone (in the future) has fixed the current bug, they give links to http://java.sun.com/javase/6/docs/api/org/omg/CORBA/DataInputStream.html and http://java.sun.com/javase/6/docs/api/org/omg/CORBA/DataOutputStream.html. Those are definitely not what Sun/Oracle meant in the SCJD instructions. Those links are automatically provided by the JavaRanch forum software, and unfortunately, in this case, they're wrong. Ignore them.


Fixed along with some other small issues, just waiting on a release date. Fully qualified class names always work java.io.DataInputStream
 
Mike Simmons
Master Rancher
Posts: 5170
83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks, DOM.
reply
    Bookmark Topic Watch Topic
  • New Topic