Search Results

Showing results 1 to 11 of 11
Search took 0.01 seconds.
Search: Posts Made By: efus
Forum: Java Jan 7th, 2009
Replies: 1
Views: 311
Posted By efus
I am trying to learn some oop in java. What I am trying to do is building a binary tree to convert an ekspresion in reverse police notation to infix notation. The problem is that I have three...
Forum: Java Nov 30th, 2008
Replies: 4
Views: 481
Posted By efus
data was an Object, I changed it so a String and did Double.parseDouble(data); instead of ((Double)data).doubleValue();
Now it works. Thank you both :)
Forum: Java Nov 30th, 2008
Replies: 4
Views: 481
Posted By efus
You are right. It will never return anything but a double.
I wrote some code. The problem now is that I get a NullPointerException which I dont get. Every operator has two children so the none of...
Forum: Java Nov 30th, 2008
Replies: 4
Views: 481
Posted By efus
Hi, I am having some troubles with a recursive function.
The function needs to get a string as an input. The string contains both symbols and numbers. What the function does is doing some operation...
Forum: Java Nov 28th, 2008
Replies: 2
Views: 852
Posted By efus
I have a binary tree which I would like to get printed out inorder.
Right now I have this recursice loop:

public void inorder()
{
if(leftChild != null )
...
Forum: Java Nov 28th, 2008
Replies: 1
Views: 1,458
Posted By efus
Hi. I am working on a project where I convert postfix notation to infix and evaluateing it. This includes building an evaluations tree (binary tree). I get how to create nodes, but how do I get the...
Forum: Java Oct 22nd, 2008
Replies: 3
Views: 620
Posted By efus
So I need to do both this:

ArrayList suggestions = new ArrayList();

and this:

public ArrayList<String> suggestions( String word )
{

return suggestions;
Forum: Java Oct 22nd, 2008
Replies: 3
Views: 620
Posted By efus
Hi. If given an arraylist in an interface like this:

interface Dictionary {
public boolean hasWord(String word);
public ArrayList<String> suggestions( String word );
public void addWord(...
Forum: Computer Science Oct 6th, 2008
Replies: 2
Views: 1,446
Posted By efus
Thank you. That was really helpfull :)
Forum: Java Oct 4th, 2008
Replies: 3
Views: 483
Posted By efus
http://www.java2s.com/Tutorial/Java/0180__File/0260__BufferedReader.htm
Forum: Computer Science Oct 4th, 2008
Replies: 2
Views: 1,446
Posted By efus
Hi,
I need to make a big-theta notation on an algoritm I made. The algoritm is soposed to find factors of a number. This is the algoritm implemented in java:

public class factor {

public...
Showing results 1 to 11 of 11

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC