KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > test > java > hints > AddCast10


1 package org.netbeans.test.java.hints;
2
3 import java.util.Collection JavaDoc;
4
5 public class AddCast10 {
6     
7     public AddCast10() {
8     }
9     
10     private Collection JavaDoc<String JavaDoc> keys;
11     
12     public void getString() {
13         String JavaDoc s = keys.toArray()[1];
14     }
15     
16 }
17
Popular Tags