Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes urlybird 1.1.1 (int recNo) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "urlybird 1.1.1 (int recNo)" Watch "urlybird 1.1.1 (int recNo)" New topic

urlybird 1.1.1 (int recNo)

Alenkhe David

Joined: Jul 31, 2008
Posts: 20

the Database file has no record number, or those this imply that we specify each record in the db file as an int i.e the first record in the file would be recNo 1, e.t.c?


Jesus Regins..
Eric Chou

Joined: Jul 23, 2008
Posts: 20
Like many ranchers here, I use the index of the records to be the record number, The index number is fixed because user can not really delete a record (the delete method only marks a record to be "deleted", the position, or the index of the record is intact). Therefore, the index of the record could be your very reliable number to identify a specific record
Alenkhe David

Joined: Jul 31, 2008
Posts: 20
Okay the recNo can be any number relating to a specify record.So this can be implemented like Map<K(reliablenumber),V(record)>?
I agree. Here's the link:
subject: urlybird 1.1.1 (int recNo)
Similar Threads
[NX URLyBird]: About deleted flag in URLyBird
Leaving the provided interface comments unchanged?
Question on implementing interface method
B&S: Does return Record Number, recNo -- I think not?
question about unique identity of record and lock