Click here to Skip to main content
15,944,136 members
Home / Discussions / Java
   

Java

 
Question3 x 3 plane,clockwise or counterclockwise rotate the four tiles Pin
zarkerBlack20-Jun-16 0:43
zarkerBlack20-Jun-16 0:43 
AnswerRe: 3 x 3 plane,clockwise or counterclockwise rotate the four tiles Pin
Richard Deeming20-Jun-16 1:40
mveRichard Deeming20-Jun-16 1:40 
GeneralRe: 3 x 3 plane,clockwise or counterclockwise rotate the four tiles Pin
zarkerBlack20-Jun-16 3:09
zarkerBlack20-Jun-16 3:09 
GeneralRe: 3 x 3 plane,clockwise or counterclockwise rotate the four tiles Pin
Richard MacCutchan20-Jun-16 4:00
mveRichard MacCutchan20-Jun-16 4:00 
GeneralRe: 3 x 3 plane,clockwise or counterclockwise rotate the four tiles Pin
zarkerBlack21-Jun-16 3:17
zarkerBlack21-Jun-16 3:17 
GeneralRe: 3 x 3 plane,clockwise or counterclockwise rotate the four tiles Pin
Richard MacCutchan21-Jun-16 3:25
mveRichard MacCutchan21-Jun-16 3:25 
QuestionSerializing object to disc. Only retreives one object. Pin
larsp77714-Jun-16 1:42
larsp77714-Jun-16 1:42 
AnswerRe: Serializing object to disc. Only retreives one object. Pin
Richard MacCutchan14-Jun-16 3:47
mveRichard MacCutchan14-Jun-16 3:47 
I just ran a slightly modified version of your code and it returned all the items. I did find that the object reader did not return the list as an ArrayList<Book> (maybe my mistake) so had to modify the foreach to accept a List of objects and cast each one to a Book.

[edit]
A slight modification shows that your code should work fine, and return the full list.
[/edit]

modified 14-Jun-16 10:43am.

GeneralRe: Serializing object to disc. Only retreives one object. Pin
larsp77714-Jun-16 22:22
larsp77714-Jun-16 22:22 
GeneralRe: Serializing object to disc. Only retreives one object. Pin
Richard MacCutchan14-Jun-16 22:47
mveRichard MacCutchan14-Jun-16 22:47 
GeneralRe: Serializing object to disc. Only retreives one object. Pin
larsp77714-Jun-16 23:28
larsp77714-Jun-16 23:28 
GeneralRe: Serializing object to disc. Only retreives one object. Pin
Richard MacCutchan14-Jun-16 23:39
mveRichard MacCutchan14-Jun-16 23:39 
GeneralRe: Serializing object to disc. Only retreives one object. Pin
larsp77714-Jun-16 23:52
larsp77714-Jun-16 23:52 
GeneralRe: Serializing object to disc. Only retreives one object. Pin
Richard MacCutchan15-Jun-16 0:43
mveRichard MacCutchan15-Jun-16 0:43 
GeneralRe: Serializing object to disc. Only retreives one object. Pin
larsp77716-Jun-16 21:28
larsp77716-Jun-16 21:28 
GeneralRe: Serializing object to disc. Only retreives one object. Pin
Richard MacCutchan16-Jun-16 22:16
mveRichard MacCutchan16-Jun-16 22:16 
GeneralRe: Serializing object to disc. Only retreives one object. Pin
larsp77716-Jun-16 22:43
larsp77716-Jun-16 22:43 
GeneralRe: Serializing object to disc. Only retreives one object. Pin
Richard MacCutchan17-Jun-16 2:56
mveRichard MacCutchan17-Jun-16 2:56 
GeneralRe: Serializing object to disc. Only retreives one object. Pin
larsp77717-Jun-16 12:48
larsp77717-Jun-16 12:48 
GeneralRe: Serializing object to disc. Only retreives one object. Pin
Member 1211167124-Jun-16 20:57
Member 1211167124-Jun-16 20:57 
GeneralRe: Serializing object to disc. Only retreives one object. Pin
Richard MacCutchan24-Jun-16 21:02
mveRichard MacCutchan24-Jun-16 21:02 
Questionapplication architecture Pin
AppNewbie6-Jun-16 5:35
AppNewbie6-Jun-16 5:35 
AnswerRe: application architecture Pin
Richard MacCutchan6-Jun-16 6:39
mveRichard MacCutchan6-Jun-16 6:39 
Questionhow do i get IP address of the email sender's PC Pin
Member 125677045-Jun-16 23:43
Member 125677045-Jun-16 23:43 
AnswerRe: how do i get IP address of the email sender's PC Pin
Richard MacCutchan6-Jun-16 0:43
mveRichard MacCutchan6-Jun-16 0:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.