| Thread | Last Post | Replies |
|
| Understanding thread behavior | 25 Jan 2007 00:07 GMT | 2 |
I've taken a "deadlock" sample from a java Sun tutorial page and modified it slightly. It's exhibiting some behavior that I find unexpected. Here is the sample code. Keep in mind that it's supposed to deadlock.
|
| How to categorize my tests? | 24 Jan 2007 22:34 GMT | 3 |
Hi friends, I decided to categorize my tests into 4 not necessarily disjoint sets: 1. unit tests : Quicky unit tests 2. slow tests: unit tests that does not run enough fast for continuous
|
| Dynamic instanceof? | 24 Jan 2007 21:20 GMT | 5 |
Here is what I'm trying to do in code... public DataModel getParentType(DataModel child, Class classType) { DataModel retVal = null; if (child instanceof classType) {
|
| Timezone.inDaylightTime(Date), DST Changes | 24 Jan 2007 21:04 GMT | 2 |
I am using J++ and i am using this function (Timezone.inDaylightTime(Date)) to figure out if the date is in the DST period. Now that J++ is no longer supported by Microsoft am I going to need to write my own method that will figure this out since the
|
| If I write java program for Windows, will it run on a PDA or Cell Phone? | 24 Jan 2007 20:28 GMT | 7 |
I guess that says it. I want to write a tool to use on my PC, but I would like it to run on Linux, and a Palm or some other PDA, or a Cell Phone. It would be a pretty simple program. Thanks a lot...
|
| 64 bit needs more memory than 32 bit | 24 Jan 2007 19:43 GMT | 1 |
It is clear from writing a simple program that creates Strings, that almost double the amount of memory is necessary when running on a 64 bit jvm (I tried this on windows). Is there any way to reduce the amount of memory (a jvm setting or
|
| Question about using the Rome library for RSS | 24 Jan 2007 18:59 GMT | 4 |
Im using the library Rome to create the RSS feed for the contents of my application. I post my question on this ng since I dont know where I can find experts on this library and I didnt find anything about it on documentation :)
|
| Shuffled Poker Deck | 24 Jan 2007 17:45 GMT | 11 |
Im new to Java, and as Training for me I tried to build an Application, which returns a shuffled Pokerdeck. (Random from 1 to 52) Maybe you will laugh, but i needed a whole day to solve it, and I think its even not good solution.
|
| Bitwise 2K7 - An Algorithm Intensive Time Constrained Online Programming Competition. | 24 Jan 2007 16:05 GMT | 1 |
BITWISE is an annual online programming contest. The contest is organized by the Computer Science and Engineering Department Society of IIT Kharagpur, on the second Sunday of February every year. The contest is time constrained and you would be expected to submit solutions to
|
| Same package files cannot access each other | 24 Jan 2007 15:21 GMT | 3 |
i have 2 java files in the package "a.b.c" Here is a sample snippet of their code: ValidateIOF.java package a.b.c;
|
| launch shell from java | 24 Jan 2007 14:56 GMT | 1 |
For my application I need to launch a bash shell in a directory outside the application server. Process proc = Runtime.getRuntime().exec("cd /PINCO/job/Dmrrrfy007/provai && /PINCO/exe/msobfy730 " + serviceDate")
|
| count a certain letter in a type statement. | 24 Jan 2007 14:48 GMT | 5 |
I am trying to get this to print the number of J's there are in the users input. and then ask if they want to try again. can someone help me ecause it doesn't count all lettr J's import java.util.Scanner;
|
| Sorting the Collection(java.util.Collection) of Elements | 24 Jan 2007 14:33 GMT | 2 |
Suppose that a collection(Java.util.Collection) contains some number of elements and I have to iterate through the collection by comparing each element in the collection with each other element so that no 2 elements should be same...(Note: No two same elements having the same index
|
| Select JMX remoting provider at runtime | 24 Jan 2007 14:13 GMT | 1 |
I have two JMX remoting providers in the classpath : - mx4j 3.0.1 - JMX JSR 160 RI 1.0 I am trying to start the rmi connector server of the sun RI.
|
| Building classpath at runtime | 24 Jan 2007 13:37 GMT | 2 |
Friends I see this question appearing very often in forums but couldn't find a satisfactory answer. Following is what I am trying achive 1. I have a java application that depends on several classes that are
|