Advertisement
Guest User

Untitled

a guest
Sep 20th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. package Dictionary;
  2.  
  3. public interface Interface {
  4. public Object find(Object key);
  5. public void insert(Object key, Object data)
  6. throws DuplicatedKeyException;
  7. public void remove(Object key)
  8. throws NoKeyException;
  9. }
  10.  
  11.  
  12.  
  13.  
  14. import java.util.*;
  15. package Dictionary;
  16.  
  17. public class Insert implements Dictionary
  18. {
  19. public void insert{
  20. h.put(k);
  21. }
  22. }
  23.  
  24. public class Find implements Dictionary
  25. {
  26. public void find{
  27. get(Object key);
  28. }
  29. }
  30.  
  31. public class Remove implements Dictionary
  32. {
  33. public void remove{
  34. remove(Object key);
  35. }
  36. }
  37.  
  38. public class Size implements Dictionary
  39. {
  40. public void remove{
  41. size();
  42. }
  43. }
  44.  
  45. public class remove implements Dictionary
  46. {
  47. public void remove{
  48. size();
  49. }
  50. }
  51.  
  52. public class remove implements Dictionary
  53. {
  54. public void remove{
  55. size();
  56. }
  57. }
  58.  
  59. public class remove implements Dictionary
  60. {
  61. public void remove{
  62. size();
  63. }
  64. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement