I have a series of arrays that I inserted into a HashSet. Now I want to
find out whether a particular array is contained in the set; how do I do
that? Here is what the code looks like:
// Retrieve name of array, say arrayX, from a text field.
// ArrayX will not be found because arrayX is a String and Array1, etc, are
array objects.
if (hs.contains(arrayX)) { // How do I test for arrayX?
...
}
Re: How to Find Array Names in a Set ... I'm not sure if I understand your question correctly, but I think you want to use a HashMap, not a HashSet.... // ArrayX will not be found because arrayX is a String and Array1, etc, are array objects. ... (comp.lang.java)
Re: Provide list from all columns marked with and "x" ... Select the 1x5 array of column labels and name it items ... Select the 3x5 array of x's and name it arrayX... Select the three cells in column B and enter this array formula... (microsoft.public.excel.worksheet.functions)
Re: slow writeit~lineout(stem.stem_var.k) processing ... Now, you already have the entire file in memory as a stem, then you use an interpertive do loop to copy that into an array, finally to write it to disk. ... Since Array objects don't have the dot naming convention to sudo multi dimention them, use multiple Array objects and keep track of what stuff you put in each one. ... (comp.lang.rexx)
Re: slow writeit~lineout(stem.stem_var.k) processing ... Now, you already have the entire file in memory as a stem, then you use an interpertive do loop to copy that into an array, finally to write it to disk. ... Since Array objects don't have the dot naming convention to sudo multi dimention them, use multiple Array objects and keep track of what stuff you put in each one. ... (comp.lang.rexx)
Re: an string array problem ... current standard, you may still use the "set" container. ... N items using an unsorted array).... A hashset (stdext::hashset in recent VC ... whether the string is in the set). ... (microsoft.public.vc.language)