As I said I am new to java.
So could you explain to me the difference between:
Set<SelectedItem> showSet = new HashSet<SelectItem>();
and
Set showSet = new HashSet();
[testing to see if...
Type: Posts; User: jeichenlaubjr
As I said I am new to java.
So could you explain to me the difference between:
Set<SelectedItem> showSet = new HashSet<SelectItem>();
and
Set showSet = new HashSet();
[testing to see if...
That's what I thought based on what I am seeing. My quest/question is how to overcome that and pass to the Set showSet values it can apply the equals() method to effective and remove any duplicates.
SelectItem is a component of the web gui, specifically:
java.lang.Object
|
+--javax.faces.model.SelectItem
set up two System.out.println statements
System.out.println("attr2Item--->"+attr2Item);
System.out.println("attr2Item--->"+attr2Item.getValue());
right before the showSet.add(attr2Item);
in my...
I inherited this class what I am trying to do is:
1) create a Set of SelectItem (works)
2) query the database for records (works)
3) grab the column from the recordset call attribute2 (works)
4)...