| Thread | Last Post | Replies |
|
| Polymorpism - is this correct? | 11 Jan 2006 00:52 GMT | 3 |
In my book (Murach's Beginning Java 2 JDK 5, p236) I read the following: "One benefit of polymorphism is that you can write generic code that's designed to work with a superclass.Then you can use that code with
|
| from false to true in an ArrayList | 10 Jan 2006 23:29 GMT | 11 |
how can i change the value of a boolean in an ArrayList from false to true? public void crbCheck (String name) {
|
| possible to use a variable in a variable name? | 10 Jan 2006 21:11 GMT | 6 |
for(int i=0; i<3; i++) { List name**include 'i' in name here** = new ArrayList(); // I want three ArrayLists: name0, name1 and name2
|
| howto create an array of FloatBuffers | 10 Jan 2006 20:08 GMT | 4 |
How do I dynamically define and declare an array of FloatBuffers? I'm trying to do something like the non-working code below ... I'm confused because float buffer uses newFloatBuffer() to allocate rather than 'new' like you would normally do for an array of arrays, *I
|
| regex help | 10 Jan 2006 19:38 GMT | 2 |
I am trying to see if a String matches the following: ^[0-9]+\/[0-9]+? If it is not correct my intention is to make sure that the String begins with at least one number followed by 'division' character followed by at
|
| removing error | 10 Jan 2006 17:52 GMT | 4 |
I have the following method to remove a String from an ArrayList. when I try to run it I get a ClassCastException error. I have looked at lots of examples of similar methods and I cant understand why this happens because it looks right to me.
|
| Simple lookups with enums | 10 Jan 2006 15:28 GMT | 2 |
I'm still pretty new to enums and I'm struggling with how to do something that seems like it should be easy, namely doing a simple lookup with enums. For instance, suppose I want to look up the name of the day of the week, given that I know the number of the day within the week. ...
|
| How much of your RAM can you use with the -Xmx option? | 10 Jan 2006 15:25 GMT | 6 |
What proportion of the RAM on a machine can you give to the java -Xmx option?
|
| Each client gets the same port number | 10 Jan 2006 09:43 GMT | 1 |
I posted a message yesterday when I had problems with "Connection reset" with a server and 2 clients. When I studied the trace I found out that both clients ( on the same host) get the same port. This is not good or? Should not each connection
|
| Serializable interface and Double-Linked List | 10 Jan 2006 09:28 GMT | 1 |
I have this double linked list that. The nodes only have a String as an instance variable. What i want to be able to do is Serialize the double linked list (the one with the methods addNode,deleteNode etc...)
|
| How to detect circle in a directed graph? | 10 Jan 2006 08:17 GMT | 18 |
My application needs a feature to detect whether a directed graph contains circle. Does anyone know any efficient implementation? Which implementation is the best (most efficient)? thanks in advance & happy new year,
|
| class cast exception | 10 Jan 2006 06:55 GMT | 3 |
what does ClassCastException: mean? null
|
| using javax.print | 10 Jan 2006 06:23 GMT | 5 |
i am trying to get a .PS file from a html file. I have gone through the javax.print api.I also tested the example given for converting gif image to ps file. But i am unable to convert a html file or simple text file to PS file.
|
| www.physci.org/browserlauncher/ | 10 Jan 2006 02:20 GMT | 1 |
www.physci.org/browserlauncher/ this link is not working. Neither is the home page. Is this temporary?
|
| send files trought a chatSession | 09 Jan 2006 22:16 GMT | 1 |
Hello guys! my deadline's next friday, so i was wondering if any of you could tell me if is there an easy way of sending a file throught a jsdt chatChannel. I've got a chat app written in java with chatClient, chatUser,
|