1 8 9 package net.sourceforge.chaperon.model.symbol; 10 11 17 public interface SymbolCollection 18 { 19 26 public boolean addSymbol(Symbol symbol); 27 28 33 public boolean addSymbol(SymbolCollection collection); 34 35 40 public void removeSymbol(int index); 41 42 47 public void removeSymbol(Symbol symbol); 48 49 55 public void setSymbol(int index, Symbol symbol); 56 57 64 public Symbol getSymbol(int index); 65 66 73 public Symbol getSymbol(String name); 74 75 80 public int getSymbolCount(); 81 82 87 public boolean isEmpty(); 88 89 96 public int indexOf(Symbol symbol); 97 98 105 public int indexOf(String name); 106 107 114 public boolean contains(Symbol symbol); 115 116 123 public boolean contains(String name); 124 125 128 public void clear(); 129 130 137 public boolean equals(Object o); 138 139 144 public String toString(); 145 } 146 | Popular Tags |