Forum: Java 13 Days Ago |
| Replies: 5 Views: 253 would a LinkedHashMap from the java standard library work better then trying to implement a separate linked list from the hashtable? |
Forum: Java 13 Days Ago |
| Replies: 5 Views: 253 I get that I need to put the keys and values into the hash table but I'm wondering how it looks.
I have a long list of strings(the strings are words in a dictionary)
My hash function takes each... |
Forum: Java 13 Days Ago |
| Replies: 5 Views: 253 The program is suppose to run through a list of strings. The stings are then put through a hash function (which works fine) and then "hashed" (for lack of a better word). The index is suppose to be... |
Forum: Java 20 Days Ago |
| Replies: 1 Views: 224 Never mind, it was a simple fix: just needed to bring my freq variable down into the method.
private ArrayList<AnyType> printTree( AvlNode<AnyType> t, String buffer )
{
if( t != null... |
Forum: Java 20 Days Ago |
| Replies: 1 Views: 224 The fact thats it an AVL tree probably doesn't matter. I have a printTree method in my tree class and I'm trying to print the nodes in the form of the tree. I've successfully printed the nodes the... |
Forum: Java Oct 28th, 2009 |
| Replies: 1 Views: 149 So i've converted a float array and int array into binary number. The problem is when I print out the binary values, java cuts some of the digits off depending on how much the value is.
I've... |
Forum: Java Oct 25th, 2009 |
| Replies: 1 Views: 253 The problem I'm having is that I have a min heap class that is created with java generics. In the class where I use the min heap class(call it sorter) I have a float array, which is full of... |
Forum: C Sep 2nd, 2009 |
| Replies: 1 Views: 1,105 The project involves the game scramble, where we have a 4x4 matrix of characters. The purpose of the program is to search through the matrix and find words in the matrix. I have a dictionary .txt... |
Forum: Java Jun 5th, 2008 |
| Replies: 2 Views: 1,350 My problem is I have a cache file that I'm pulling in from a seperate source. The cache contains a long string that would look something like this except much longer.
myexample=1 status=0... |