Click here to Skip to main content
15,913,210 members
Home / Discussions / Java
   

Java

 
QuestionHow to Delete/remove index elements in 2D arrayList Pin
B.Bryce10-Apr-12 2:48
B.Bryce10-Apr-12 2:48 
AnswerRe: How to Delete/remove index elements in 2D arrayList Pin
Richard MacCutchan10-Apr-12 5:38
mveRichard MacCutchan10-Apr-12 5:38 
GeneralRe: How to Delete/remove index elements in 2D arrayList Pin
B.Bryce10-Apr-12 7:11
B.Bryce10-Apr-12 7:11 
GeneralRe: How to Delete/remove index elements in 2D arrayList Pin
Richard MacCutchan10-Apr-12 8:27
mveRichard MacCutchan10-Apr-12 8:27 
GeneralRe: How to Delete/remove index elements in 2D arrayList Pin
TorstenH.10-Apr-12 19:20
TorstenH.10-Apr-12 19:20 
GeneralRe: How to Delete/remove index elements in 2D arrayList Pin
Nagy Vilmos11-Apr-12 2:07
professionalNagy Vilmos11-Apr-12 2:07 
GeneralRe: How to Delete/remove index elements in 2D arrayList Pin
TorstenH.11-Apr-12 3:54
TorstenH.11-Apr-12 3:54 
AnswerRe: How to Delete/remove index elements in 2D arrayList Pin
BobJanova11-Apr-12 1:09
BobJanova11-Apr-12 1:09 
There's two options: Either write some code to traverse the list and look at the ID, and if you get a match, remove that entry; or have your Employee's equals() method just use the ID. You should only do the second if you only ever want to compare Employees based on their ID (i.e. the ID is the only thing that identifies one), as it will make [2, "Joe", "Bangkok"] and [2, "Mary", "NYC"] match.
AnswerRe: How to Delete/remove index elements in 2D arrayList Pin
Nagy Vilmos11-Apr-12 2:06
professionalNagy Vilmos11-Apr-12 2:06 
GeneralRe: How to Delete/remove index elements in 2D arrayList Pin
TorstenH.11-Apr-12 3:57
TorstenH.11-Apr-12 3:57 
GeneralRe: How to Delete/remove index elements in 2D arrayList Pin
Nagy Vilmos11-Apr-12 3:59
professionalNagy Vilmos11-Apr-12 3:59 
Questionjava SmS Application...... Pin
fahad479-Apr-12 19:59
fahad479-Apr-12 19:59 
AnswerRe: java SmS Application...... Pin
Anil Kumar 231-Jul-12 21:43
Anil Kumar 231-Jul-12 21:43 
QuestionSplitting one string Pin
Ejii8-Apr-12 21:27
Ejii8-Apr-12 21:27 
AnswerRe: Splitting one string Pin
Richard MacCutchan8-Apr-12 21:43
mveRichard MacCutchan8-Apr-12 21:43 
AnswerRe: Splitting one string Pin
Ejii8-Apr-12 22:27
Ejii8-Apr-12 22:27 
Questiononline shopping application in Java Pin
Member 87135148-Apr-12 20:30
Member 87135148-Apr-12 20:30 
AnswerRe: online shopping application in Java Pin
Richard MacCutchan8-Apr-12 21:41
mveRichard MacCutchan8-Apr-12 21:41 
AnswerRe: online shopping application in Java Pin
TorstenH.9-Apr-12 19:35
TorstenH.9-Apr-12 19:35 
Questionencryption technique Pin
AnkitGujjar7-Apr-12 18:53
AnkitGujjar7-Apr-12 18:53 
AnswerRe: encryption technique Pin
Richard MacCutchan8-Apr-12 6:06
mveRichard MacCutchan8-Apr-12 6:06 
Questionjava socket program that delete add tem files Pin
zahidaa6-Apr-12 9:42
zahidaa6-Apr-12 9:42 
AnswerRe: java socket program that delete add tem files Pin
Richard MacCutchan6-Apr-12 10:02
mveRichard MacCutchan6-Apr-12 10:02 
GeneralRe: java socket program that delete add tem files Pin
zahidaa7-Apr-12 5:44
zahidaa7-Apr-12 5:44 
GeneralRe: java socket program that delete add tem files Pin
Richard MacCutchan7-Apr-12 6:38
mveRichard MacCutchan7-Apr-12 6:38 

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.