Re: 3 java questions: debugging, templating and Swing app for Texts cleansing
- From: shterke <ShternieBlau@xxxxxxxxx>
- Date: 29 Apr 2007 17:18:42 -0700
On Apr 29, 6:29 pm, Daniel Pitts <googlegrou...@xxxxxxxxxxxxx> wrote:
On Apr 29, 2:03 pm, lbrt...@xxxxxxxxxxx wrote:> // __ how do you debug debug:
~
Exception in thread "main" java.lang.OutOfMemoryError: Java heap
space
There are heap profilers out there which will tell you what objects
are allocated.> ~
kinds of errors?
~
// __ How can you make this method taking in an array on ints and
enlarging it, make the same thing for long[]('s), byte[]('s) in fact
any possible array.
~
[snip code]
You can't really... Java Generics are not like C++ Templates. They may
have a similar appearance, but their functionality is quite different
except in the most basic cases. If you need to support multiple types
of arrays of primitives, you have to manually support it.> ~
// __ Do you know of any swing application to compare two text files,
partially programatically, partially by eyeballing them?
The j app. should syncronize teh scrolling of both texts to that the
same section would be visible even if you scroll one of them
I don't know about a swing application specifically, but there are
plenty of graphical diff programs available. google is your friend.
~
thanks
lbrtchx
Hope this helps.
cool
.
- References:
- Prev by Date: Re: 3 java questions: debugging, templating and Swing app for Texts cleansing
- Next by Date: Re: The Scale problem
- Previous by thread: Re: 3 java questions: debugging, templating and Swing app for Texts cleansing
- Index(es):
Relevant Pages
|