Article View: borland.public.jbuilder.java.api
Article #3162Enumeration not public in package java.util???????
From: Steven F. Harris
Date: Thu, 09 Apr 1998 00:00
Date: Thu, 09 Apr 1998 00:00
26 lines
1103 bytes
1103 bytes
I wrote some code for use with JBuilder and for some reason I keep
getting the error "Enumeration not public in package java.util. Can
not be used outside of package."
I import the package as follows ...
import java.util.*;
I have a class that extends Observable (also in java.util).
That class has a public method as follows ...
public Enumeration getSites()
{
return someHashtable.keys();
}
JBuilder does not complain about Observable or Hashtable but it seems
that Enumeration is declared incorrectly in the package. Has anyone
seen anything like this before????
I am most grateful for any help.
Many Thanks
Steve Harris
Technical Details
Message-ID:
<352c3b6e.6122296@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,9a9cb5c6b8963271,start X-Google-Attributes: gid1089d0,public From: sfharris@ziplink.net (Steven F. Harris) Subject: Enumeration not public in package java.util??????? Date: 1998/04/09 Message-ID: <352c3b6e.6122296@forums.borland.com> X-Deja-AN: 342285897 Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.api