Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NameService Java

Status
Not open for further replies.

tailangong

Programmer
Jun 19, 2009
1
MY
NameService service = NameService.getInstance(names);
List matching = service.findNames(prefix);

I came across a book and tried the code shown there. However, part of the codes (highlighted-as shown above) have some problem. The NameService couldn't call the .getInstance(names) function. Maybe I just need to import a correct library for this but I couldn't find out which library suits the best for this.

Do you guys know which library NameService from in this case?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top