1 23 package com.tc.jrexx.set; 24 25 import java.io.Serializable ; 26 27 public interface ISet_char extends Serializable ,Cloneable { 28 29 public interface Iterator { 30 public boolean hasNext(); 31 public char next(); 32 } 33 34 public boolean contains(char ch); 35 public boolean isEmpty(); 36 public int size(); 37 public ISet_char.Iterator iterator(); 38 39 40 42 46 48 52 54 58 60 61 62 public void clear(); 63 64 public boolean add(char ch); 65 public boolean remove(char ch); 66 67 public void complement(); 68 69 public void addAll(String chars); 70 71 75 public void addAll(ISet_char set); 76 77 81 public void removeAll(ISet_char set); 82 83 public void retainAll(ISet_char set); 84 85 public Object clone(); 86 87 } | Popular Tags |