-*/\r
-public interface StringLike {\r
- public char charAt(int i);\r
- public String toString();\r
- public int length();\r
- public String substring(int i1,int i2);\r
- /** Obtain the underlying object, be it a String, char[],\r
- RandomAccessFile, whatever. */\r
- public Object unwrap();\r
- /** By default, the result is put in a String or char[]\r
- when a replace is done. If you wish to save the result\r
- in some other StringBufferLike then you can do this\r
- by implementing this method, or over-riding it's behavior\r
- from an existing class. */\r
- public BasicStringBufferLike newStringBufferLike();\r
- public int indexOf(char c);\r
+ */\r
+public interface StringLike\r
+{\r
+ public char charAt(int i);\r
+\r
+ public String toString();\r
+\r
+ public int length();\r
+\r
+ public String substring(int i1, int i2);\r
+\r
+ /** Obtain the underlying object, be it a String, char[],\r
+ RandomAccessFile, whatever. */\r
+ public Object unwrap();\r
+\r
+ /** By default, the result is put in a String or char[]\r
+ when a replace is done. If you wish to save the result\r
+ in some other StringBufferLike then you can do this\r
+ by implementing this method, or over-riding it's behavior\r
+ from an existing class. */\r
+ public BasicStringBufferLike newStringBufferLike();\r
+\r
+ public int indexOf(char c);\r