Closed GoogleCodeExporter closed 8 years ago
Also please add the following methods that I found lacking that will be helpful
for the future:
DoubleListGetStringArrayList(DoubleList dl, int oneortwo) {
ArrayList<String> tempArray1 = new ArrayList<String>();
ArrayList<String> tempArray2 = new ArrayList<String>();
tempArray1 = dl.getStringList(1);
tempArray2 = dl.getStringList(2);
int arraySize = dl.size();
String[] list1 = new String[arraySize];
String[] list2 = new String[arraySize];
tempArray1.toArray(list1);
tempArray2.toArray(list2);
if (oneortwo == 1)
return list1;
else if (oneortwo ==2)
return list2;
}
Original comment by bric...@gmail.com
on 15 May 2013 at 2:05
This has been done, although I shortened a bit of what you had.
The alphabetize methods are in the Lists class.
Lists.alphabetize(ArrayList<String> list); - This will return the alphabetized
list.
Lists.alphabetizeByFirst(DoubleList list); - This will return the doublelist
sorted by the first list.
Lists.alphabetizeBySecond(DoubleList list); - Same as above, only sorts by
second list.
These are in the jar now, if you update the jar file. However, I'm going to
consolidate the doublelist alphabetizers to one method instead of having two.
I added the getListAsStringArray(int list) to the DoubleList class, but this
wasnt in the jar when I last updated the server. It'll be there next time I do.
Original comment by IMPINC...@gmail.com
on 16 May 2013 at 12:28
Also, contributions should be done through bitbucket;
https://bitbucket.org/RyanBis/altbridge
Original comment by IMPINC...@gmail.com
on 16 May 2013 at 1:00
Original comment by IMPINC...@gmail.com
on 30 May 2013 at 12:43
Original issue reported on code.google.com by
bric...@gmail.com
on 14 May 2013 at 3:38