Well I figured out what the problem was, my adding after filling up the array was flawed
for(int x = 0; x<CompFiles.length; x++)
{
int stat = c.compareTo((Wrapper) CompFiles[x]);...
Type: Posts; User: CjStaal
Well I figured out what the problem was, my adding after filling up the array was flawed
for(int x = 0; x<CompFiles.length; x++)
{
int stat = c.compareTo((Wrapper) CompFiles[x]);...
If you want the entire source for compilation purposes, let me know and I'll post it.
Okay, I know my issue is in my add function [adds to the array]
so I'll only post that portion of the code
public void add(Comparable<Wrapper> c)
{
for(int x =0; x<CompFiles.length ; x++)...