Click here to Skip to main content
14,393,196 members
   

Java

 
AnswerRe: Error in Integer mode Pin
Richard MacCutchan10-May-18 2:16
mveRichard MacCutchan10-May-18 2:16 
GeneralRe: Error in Integer mode Pin
Richard Deeming10-May-18 2:26
communityengineerRichard Deeming10-May-18 2:26 
GeneralRe: Error in Integer mode Pin
Richard MacCutchan10-May-18 2:27
mveRichard MacCutchan10-May-18 2:27 
QuestionHalp please? Dice roll game. Pin
Gril13376-May-18 8:01
MemberGril13376-May-18 8:01 
AnswerRe: Halp please? Dice roll game. Pin
Richard MacCutchan6-May-18 22:52
mveRichard MacCutchan6-May-18 22:52 
QuestionSolving symmetric tree problem by recursive solution Pin
ElenaRez6-May-18 7:52
MemberElenaRez6-May-18 7:52 
AnswerRe: Solving symmetric tree problem by recursive solution Pin
Richard MacCutchan6-May-18 22:44
mveRichard MacCutchan6-May-18 22:44 
QuestionAsk a Question All Questions All Unanswered Mine FAQ I need to compare one file each line with other file all lines which separated by two colon separate .if matches with names I need print matched one in java Pin
Member 138094093-May-18 0:07
MemberMember 138094093-May-18 0:07 
AnswerRe: Ask a Question All Questions All Unanswered Mine FAQ I need to compare one file each line with other file all lines which separated by two colon separate .if matches with names I need print matched one in java Pin
Richard MacCutchan3-May-18 1:44
mveRichard MacCutchan3-May-18 1:44 
QuestionDeep copy of List<> without knowing specific list type Pin
jackbrownii30-Apr-18 11:55
professionaljackbrownii30-Apr-18 11:55 
I have some DTOs that are written to be immutable.
  private List<Transformation> foo;
... [omitted for brevity]
  public List<Transformation> getFoo() {
    List<Transformation> bar = new ArrayList<Transformation>(foo.size());

    for (Transformation listEntry : foo) {
      bar.add(Transformation.of(listEntry));
    }

    return bar;
  }
This works for my current application as I happen to know that the Lists are all ArrayLists.

What if I didn't know that? Is there a way to deep copy the contents of an arbitrary implementation of List without knowing what type that underlying List is?
AnswerRe: Deep copy of List<> without knowing specific list type Pin
Manish K. Agarwal27-May-18 22:32
MemberManish K. Agarwal27-May-18 22:32 
QuestionStudent needing assistance while loop Pin
Victor McNeal21-Apr-18 10:15
MemberVictor McNeal21-Apr-18 10:15 
AnswerRe: Student needing assistance while loop Pin
Richard MacCutchan21-Apr-18 21:56
mveRichard MacCutchan21-Apr-18 21:56 
QuestionJava JUnit test error Pin
CHUCHU YAO20-Apr-18 14:23
MemberCHUCHU YAO20-Apr-18 14:23 
AnswerRe: Java JUnit test error Pin
Richard MacCutchan20-Apr-18 21:43
mveRichard MacCutchan20-Apr-18 21:43 
AnswerRe: Java JUnit test error Pin
jschell21-Apr-18 7:31
Memberjschell21-Apr-18 7:31 
GeneralRe: Java JUnit test error Pin
Richard MacCutchan21-Apr-18 21:58
mveRichard MacCutchan21-Apr-18 21:58 
QuestionJAVA Swing GUI Invoice - problem with correct actionPerformed Pin
Member 1378720218-Apr-18 21:59
MemberMember 1378720218-Apr-18 21:59 
QuestionRe: JAVA Swing GUI Invoice - problem with correct actionPerformed Pin
Richard MacCutchan18-Apr-18 22:51
mveRichard MacCutchan18-Apr-18 22:51 
AnswerRe: JAVA Swing GUI Invoice - problem with correct actionPerformed Pin
Member 1378720219-Apr-18 1:54
MemberMember 1378720219-Apr-18 1:54 
GeneralRe: JAVA Swing GUI Invoice - problem with correct actionPerformed Pin
Richard MacCutchan19-Apr-18 2:02
mveRichard MacCutchan19-Apr-18 2:02 
AnswerRe: JAVA Swing GUI Invoice - problem with correct actionPerformed Pin
snoopy1119-Apr-18 0:17
Membersnoopy1119-Apr-18 0:17 
JokeRe: JAVA Swing GUI Invoice - problem with correct actionPerformed Pin
Peter_in_278019-Apr-18 1:39
professionalPeter_in_278019-Apr-18 1:39 
Questiondesign a class Pin
Member 1365742917-Apr-18 22:18
professionalMember 1365742917-Apr-18 22:18 
GeneralRe: design a class Pin
Richard MacCutchan17-Apr-18 23:41
mveRichard MacCutchan17-Apr-18 23:41 

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.