Advertisement
techmik

one of the bad conversions

Oct 30th, 2013
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. package javax.naming.directory;
  2.  
  3. import java.util.Enumeration;
  4. import java.util.Hashtable;
  5. import javax.naming.NamingEnumeration;
  6. import javax.naming.NamingException;
  7.  
  8. // Referenced classes of package javax.naming.directory:
  9. // BasicAttributes
  10.  
  11. class elements
  12. implements NamingEnumeration
  13. {
  14.  
  15. Enumeration elements;
  16.  
  17. public void close()
  18. throws NamingException
  19. {
  20. elements = null;
  21. }
  22.  
  23. public boolean hasMore()
  24. throws NamingException
  25. {
  26. return hasMoreElements();
  27. }
  28.  
  29. public boolean hasMoreElements()
  30. {
  31. return elements.hasMoreElements();
  32. }
  33.  
  34. public Object next()
  35. throws NamingException
  36. {
  37. return nextElement();
  38. }
  39.  
  40. public Object nextElement()
  41. {
  42. return elements.nextElement();
  43. }
  44.  
  45. public ()
  46. {
  47. elements = attrs.elements();
  48. }
  49. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement