1 4 package gnu.lists; 5 6 8 9 public interface CharSeq 10 extends 11 12 CharSequence , 13 14 Sequence 15 { 16 18 public int length(); 19 20 public char charAt(int index); 21 22 24 public void getChars (int srcBegin, int srcEnd, char[] dst, int dstBegin); 25 26 public void setCharAt(int index, char ch); 27 28 29 public void fill(char value); 30 31 public void fill(int fromIndex, int toIndex, char value); 32 33 34 public CharSequence subSequence(int start, int end); 35 36 37 38 47 50 56 public void writeTo(int start, int count, java.io.Writer dest) 57 throws java.io.IOException ; 58 59 public void writeTo(java.io.Writer str) throws java.io.IOException ; 60 61 62 public void consume(int start, int count, Consumer out); 63 64 public String toString(); 65 } 66 | Popular Tags |