| Thread | Last Post | Replies |
|
| Generic type cast involving wildcard type | 31 Jul 2009 16:57 GMT | 12 |
I can't figure out, why casting to a subclass causes an unchecked cast warning, when a wildcard type is involved, but seems to work in any other case: Example:
|
| ^= | 31 Jul 2009 15:18 GMT | 9 |
What does the operator: ^= do? I have it used in code I am working with as:
|
| What do people use to parse datetimes? | 31 Jul 2009 15:06 GMT | 20 |
I have just discovered that joda does not parse datetimes that contain timezones. Hence I am forced to use the date parsing routines in java.util. But they do not seem to handle bad dates. For example, 2008-13-01 parses as if it was 2008-01-01. I can even give it the 30th
|
| Should Cipher instances be pooled? | 31 Jul 2009 03:19 GMT | 1 |
Is it OK to call Cipher.getInstance() before each decrypt/encrypt operation, or is it better to reuse an instance (or, in a multi-threaded environment, have a pool of them)? This came up because I'm working on something that uses nCipher's JCE
|
| Trouble with regular expressions | 30 Jul 2009 16:28 GMT | 9 |
I was hoping someone could help me with a simple regular expression dilemma. I'm using Java 1.5. I have this code: String regex = accountid; // value is 9998698989898
|
| Physical Address | 30 Jul 2009 15:35 GMT | 1 |
Is there in java class or method to get Physical Address of computer for Windows, Linux, Unix based system? And if you can, please write example.
|
| Re: Mathematical set operations in Java / searching for library | 30 Jul 2009 15:11 GMT | 1 |
On Nov 7 2007, 3:40 pm, Eric Sosman <esos...@ieee-dot-org.invalid> wrote:
> mow...@googlemail.com wrote: > > thanks. i'm not quite sure, but is it possible to define for example |
| please help! | 29 Jul 2009 21:16 GMT | 6 |
whenever i compile my java pgm the class file is created .. but i could not execute the pgm it gives me a run time error ... This is the error msg which i get ---------------------------------------------------------------------------------------------------------
|
| Cool Book Comming Out | 29 Jul 2009 17:18 GMT | 3 |
Hi,everyone. There's this new book coming out that I think you'd all love--check it out! Here's the link: http://www.punchoutpublishing.com/index_files/page0003.htm
|
| How can I change Date format in DateChooser | 29 Jul 2009 16:50 GMT | 4 |
Hi every one Good Day How can I change Date format in DateChooser from default format 7/24/09 (m/d/yy) to 2009-07-24 (yyyy-mm-dd)
|
| Problem reloading plug-in catalog in NetBeans 6.7 | 29 Jul 2009 16:04 GMT | 5 |
I'm running NetBeans 6.7 on an elderly ADM 64-bit box running Ubuntu. I'm having trouble reloading the plug-in catalog. I am getting the error Unable to connect to the NetBeans because of java.net.UnknownHostException: updates.netbeans.org
|
| max internal length of String | 29 Jul 2009 00:10 GMT | 10 |
I have a string that seems to be truncated at around 900 chars (due to how the output is used it is hard to tell exactly how many [println a length would break half a dozen programs])... if this a real limit or dis something weird just happen...
|
| RE: find words that contains some specific letters [jumble] | 28 Jul 2009 19:11 GMT | 4 |
I stayed "connected" with this thread of the Jumble algorithm and its complexity. I was curious mainly on how well (or bad) my implementation would perform compared to that of Matthews and how a similar algorithm to
|
| List or Iterator | 28 Jul 2009 16:28 GMT | 38 |
Folks Are there any advantages in speed in passing a List or an Iterator as a method parameter, or as a method return value? Any runtime reasons why one should be preferred over the other? Thanks - Adam
|
| Can I create objects on the stack, like in C++ ? | 28 Jul 2009 09:43 GMT | 3 |
Hi, I have a C/C++ background and I'm learning a bit of java now and I was curious if, for the purpose of returning a value from a funcion, it was possible to do the following:
|