It is a public abstract interface. Many classes and interfaces are extending this abstract interface for different purposes.
SuperClass of Appendable:-
From java.lang package -
StringBuffer
StringBuilder
From java.io package -
BufferedWriter
CharArrayWriter
FileWriter
FilterWriter
OutputStreamWriter
PipedWriter
PrintStream
PrintWriter
StringWriter
Writer
From java.nio package -
CharBuffer
From java.rmi.server package -
LogStream
All...
It is a private class or more specifically we can say its a ' private - package ' class i.e it is declared as not public and as abstract. As it was not there before the release of JDK 1.5 and was first introduced in java 5.0 as the superclass for both StringBuffer and StringBuilder. Initially before JDK 1.5 there was only one class i.e StringBuffer ( which is thread safe ) and was extending Object class, but later with the release of JDK...
It is the only abstract interface in the java.lang package. It is the basic interface containing non-implemented methods all regarding and involving characters only like length() , charAt() etc and a special method i.e toString() method. It is the super class of many of the classes and interfaces, which are shown below.
Implementation class for the abstract method declared in the in the CharSequence interface are:-
AbstractStringBuilder (c)...
Subscribe to:
Posts (Atom)