Hello
I try to add an item to a list, but java get the unsupportedoperationexception error:
what is wrong?
John Rossati
I try to add an item to a list, but java get the unsupportedoperationexception error:
Sub insertlistDir(dir As String) As List
Dim lst As List
lst = File.ListFiles(dir)
lst.SortCaseInsensitive(True)
'If dir.indexOf2("/",1) > -1 Then lst.InsertAt(0,"..")
lst.add("..")
Return lst
End Sub
...
//BA.debugLineNum = 286;BA.debugLine="lst.add(\"..\")";
_lst.Add((Object)(".."));
...
what is wrong?
John Rossati