james aggeles wrote:I need to have an array that has strings in it, even if those strings are duplicates. It just can't contain the actual duplications.
james aggeles wrote:Ok. I have an array of strings, some of which are duplicates. I need to remove the duplications and end up with an array that has one instance of each unique string.
In other words, if I start with an array that has "abc" twice, "acb" twice, and "bca" once, I would end up with an array that has "abc" once, "acb" once, and "bca" once.
edit: also, having null counters at certain points in the resulting array is not a problem, I can sort those out later.
james aggeles wrote:
Which doesn't look exactly right to me, though how not escapes me. Am I wrong?
james aggeles wrote:
while (docRead.hasLines() == true)
james aggeles wrote:
s = s + docRead.getLine();
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |