| Thread | Last Post | Replies |
|
| IDEA: Nested Packages in Java | 10 Oct 2005 08:19 GMT | 3 |
I have written an article explaining a flaw in the design of Java packages and a design pattern that gets around this limitation...
|
| Binomial Simulation | 10 Oct 2005 07:01 GMT | 16 |
I'm taking a class in Evolutionary Computation. I just turned in an assignment that implements a simple genetic algorithm based on bit strings. For mutation I simply check each bit in the population and flip it with some constant probability. For a population of 10,000
|
| Whay aren't Strings Iterable? | 10 Oct 2005 04:52 GMT | 13 |
Anyone know why String in Java 1.5 does not implement the Iterable<Character> interface? It seems reasonable to write String text = "Hello, World";
|
| how can i write the java program with wildcard like "%" "_" | 10 Oct 2005 01:14 GMT | 3 |
I would like to write a java program with user input string with regular express like "%" and "-" and query it in SQL. How can i write the program with string support that kinds of wildcard? Thanks
|
| XMLEncoder oddity | 10 Oct 2005 00:47 GMT | 16 |
Here is a test class Foo: import java.io.*; public class Foo implements Serializable{ private final static String _VALUE = "value";
|
| NullPointerException | 09 Oct 2005 18:47 GMT | 18 |
Ive got a Swing application that sometimes gives this error below. Ive tried to catch this error from EventDispatchThread but gave up. Dont know an easy way to do it.Even if I did I might only get the same exception info as is shown below perhaps.
|
| arrays | 09 Oct 2005 18:31 GMT | 10 |
how do i create data storage for an array of integers, and for an integer variable size -Prompts the user for the size of array they want (number of elements) -Instantiates the array to have the number of elements the user
|
| Java Language Specification - Generics | 09 Oct 2005 16:16 GMT | 6 |
In section 4.5 of the Java Language Specification, there is such a paragraph: [quote] A parameterized type consists of a class or interface name C and an
|
| Read literal escape character from a file | 09 Oct 2005 14:16 GMT | 4 |
Does a class exist which will read escape character from a file and convert them, as I have file which contains escape characters escaped. e.g ...Objectives\n\t1.draw\n\t2.final\n
|
| Is java open source? | 09 Oct 2005 14:13 GMT | 11 |
Hi, im doing a project on open source and one of my questions ins based on java: Is Java open source? Explain why or why not. Im having a hard time locating any information that can help me with
|
| Best way to write text content from servlet | 09 Oct 2005 09:42 GMT | 1 |
Just curious to what is the best performing way of writing dynamic content out. Is it : -build content in a string buffer -out.println(stringbuffer.toString())
|
| Which design pattern should I use? | 09 Oct 2005 08:47 GMT | 2 |
I am about to start constructing class diagrams for this system: http://groups.google.co.uk/group/comp.lang.java.programmer/browse_thread/thread/ b1f3c010ccbad521/934e027c6c71e05e?lnk=st&rnum=1&hl=en#934e027c6c71e05e or http://tinyurl.com/7bztt
|
| log4j, tomcat and multiple webapps | 09 Oct 2005 08:42 GMT | 2 |
I have a number of different webapps deployed which are all logging to the same log file, depending on which one is started first and how the server is feeling at the time. The log4j.properties files start with a line of the format:
|
| How Do I Detect if the User has pressed the ENTER key??? | 09 Oct 2005 05:49 GMT | 3 |
Hi, this is my first java class..and I'm writing a program in which i need to allow the user to "continue by pressing the enter key, or q to quit"...how to I check if the user has entered the enter key? Code:
|
| Calling java from c++ | 09 Oct 2005 05:48 GMT | 9 |
Dear programmers, I would like to know how to call java from c++. i am using JNI just for doing the invers (calling c++ from java), but now I am quite lost. I would like to use something like:
|