Use 
PREV   NEXT      All Classes   All Packages
FlexDoc/Javadoc 2.0
Demo Java Doc

Uses of Annotation Type
java.lang.Deprecated
Packages that use Deprecated
Provides for system input and output through data streams, serialization and the file system.
Provides classes that are fundamental to the design of the Java programming language.
Contains the collections framework, some internationalization support classes, a service loader, properties, random number generation, string parsing and scanning classes, base64 encoding and decoding, a bit array, and several miscellaneous utility classes.
Utility classes commonly useful in concurrent programming.
Provides classes and interfaces that deal with editable and noneditable text components.
Uses of Deprecated in java.io
Classes in java.io with annotations of type Deprecated
class
Deprecated. This class incorrectly assumes that bytes adequately represent characters.
class
Deprecated. This class does not properly convert characters into bytes.
Fields in java.io with annotations of type Deprecated
WriteAbortedException.detail
Deprecated. This field predates the general-purpose exception chaining facility.
Methods in java.io with annotations of type Deprecated
ByteArrayOutputStream.toString(int hibyte)
Deprecated. This method does not properly convert bytes into characters.
final String
DataInputStream.readLine()
Deprecated. This method does not properly convert bytes to characters.
File.toURL()
Deprecated. This method does not automatically escape characters that are illegal in URLs.
ObjectInputStream.readLine()
Deprecated. This method does not properly convert bytes to characters.
abstract void
ObjectOutputStream.PutField.write(ObjectOutput out)
Deprecated. This method does not write the values contained by this PutField object in a proper format, and may result in corruption of the serialization stream.
Constructors in java.io with annotations of type Deprecated
Deprecated. As of JDK version 1.1, the preferred way to tokenize an input stream is to convert it into a character stream, for example:
Classes in java.lang with annotations of type Deprecated
class
Deprecated, for removal. JIT compilers and their technologies vary too widely to be controlled effectively by a standardized interface.
class
Deprecated, for removal. The Security Manager is deprecated and subject to removal in a future release.
Fields in java.lang with annotations of type Deprecated
Character.UnicodeBlock.SURROGATES_AREA
Methods in java.lang with annotations of type Deprecated
static boolean
Character.isJavaLetter(char ch)
Deprecated. Replaced by isJavaIdentifierStart(char).
static boolean
Character.isJavaLetterOrDigit(char ch)
Deprecated. Replaced by isJavaIdentifierPart(char).
static boolean
Character.isSpace(char ch)
Deprecated. Replaced by isWhitespace(char).
Class.newInstance()
Deprecated. This method propagates any exception thrown by the nullary constructor, including a checked exception.
protected final Class<?>
ClassLoader.defineClass(byte[] b, int off, int len)
protected Package
ClassLoader.getPackage(String name)
Deprecated. If multiple class loaders delegate to each other and define classes with the same package name, and one such loader relies on the lookup behavior of getPackage to return a Package from a parent loader, then the properties exposed by the Package may not be as expected in the rest of the program.
protected void
Object.finalize()
Deprecated. The finalization mechanism is inherently problematic.
static Package
Package.getPackage(String name)
Deprecated. If multiple class loaders delegate to each other and define classes with the same package name, and one such loader relies on the lookup behavior of getPackage to return a Package from a parent loader, then the properties exposed by the Package may not be as expected in the rest of the program.
int
Runtime.Version.major()
Deprecated. As of Java SE 10, the first element of a version number is not the major-release number but the feature-release counter, incremented for every time-based release.
int
Runtime.Version.minor()
Deprecated. As of Java SE 10, the second element of a version number is not the minor-release number but the interim-release counter, incremented for every interim release.
int
Runtime.Version.security()
Deprecated. As of Java SE 10, the third element of a version number is not the security level but the update-release counter, incremented for every update release.
void
SecurityManager.checkMulticast(InetAddress maddr, byte ttl)
Deprecated, for removal.
void
String.getBytes(int srcBegin, int srcEnd, byte[] dst, int dstBegin)
Deprecated. This method does not properly convert characters into bytes.
Deprecated, for removal. This method is only useful in conjunction with the Security Manager, which is deprecated and subject to removal in a future release.
static void
Deprecated, for removal. This method is only useful in conjunction with the Security Manager, which is deprecated and subject to removal in a future release.
final void
Thread.checkAccess()
Deprecated, for removal. This method is only useful in conjunction with the Security Manager, which is deprecated and subject to removal in a future release.
int
Deprecated, for removal. This method was originally designed to count the number of stack frames but the results were never well-defined and it depended on thread-suspension.
final void
Thread.resume()
Deprecated, for removal. This method exists solely for use with Thread.suspend(), which has been deprecated because it is deadlock-prone.
final void
Thread.stop()
Deprecated. This method is inherently unsafe.
final void
Thread.suspend()
Deprecated, for removal. This method has been deprecated, as it is inherently deadlock-prone.
boolean
ThreadGroup.allowThreadSuspension(boolean b)
Deprecated, for removal. The definition of this call depends on ThreadGroup.suspend(), which is deprecated.
final void
ThreadGroup.checkAccess()
Deprecated, for removal. This method is only useful in conjunction with the Security Manager, which is deprecated and subject to removal in a future release.
final void
ThreadGroup.destroy()
Deprecated, for removal. The API and mechanism for destroying a ThreadGroup is inherently flawed.
final boolean
ThreadGroup.isDaemon()
Deprecated, for removal. The API and mechanism for destroying a ThreadGroup is inherently flawed.
boolean
ThreadGroup.isDestroyed()
Deprecated, for removal. The API and mechanism for destroying a ThreadGroup is inherently flawed.
final void
ThreadGroup.resume()
Deprecated, for removal. This method is used solely in conjunction with Thread.suspend and ThreadGroup.suspend, both of which have been deprecated, as they are inherently deadlock-prone.
final void
ThreadGroup.setDaemon(boolean daemon)
Deprecated, for removal. The API and mechanism for destroying a ThreadGroup is inherently flawed.
final void
ThreadGroup.stop()
Deprecated, for removal. This method is inherently unsafe.
final void
ThreadGroup.suspend()
Deprecated, for removal. This method is inherently deadlock-prone.
Constructors in java.lang with annotations of type Deprecated
Boolean(boolean value)
Deprecated, for removal. It is rarely appropriate to use this constructor.
Deprecated, for removal. It is rarely appropriate to use this constructor.
Byte(byte value)
Deprecated, for removal. It is rarely appropriate to use this constructor.
Deprecated, for removal. It is rarely appropriate to use this constructor.
Character(char value)
Deprecated, for removal. It is rarely appropriate to use this constructor.
Double(double value)
Deprecated, for removal. It is rarely appropriate to use this constructor.
Deprecated, for removal. It is rarely appropriate to use this constructor.
Float(double value)
Deprecated, for removal. It is rarely appropriate to use this constructor.
Float(float value)
Deprecated, for removal. It is rarely appropriate to use this constructor.
Deprecated, for removal. It is rarely appropriate to use this constructor.
Integer(int value)
Deprecated, for removal. It is rarely appropriate to use this constructor.
Deprecated, for removal. It is rarely appropriate to use this constructor.
Long(long value)
Deprecated, for removal. It is rarely appropriate to use this constructor.
Deprecated, for removal. It is rarely appropriate to use this constructor.
Short(short value)
Deprecated, for removal. It is rarely appropriate to use this constructor.
Deprecated, for removal. It is rarely appropriate to use this constructor.
String(byte[] ascii, int hibyte)
Deprecated. This method does not properly convert bytes into characters.
String(byte[] ascii, int hibyte, int offset, int count)
Deprecated. This method does not properly convert bytes into characters.
Classes in java.util with annotations of type Deprecated
class
Deprecated. This class and the Observer interface have been deprecated.
interface
Deprecated. This interface has been deprecated.
Methods in java.util with annotations of type Deprecated
int
Date.getDate()
Deprecated. As of JDK version 1.1, replaced by Calendar.get(Calendar.DAY_OF_MONTH).
int
Date.getDay()
Deprecated. As of JDK version 1.1, replaced by Calendar.get(Calendar.DAY_OF_WEEK).
int
Date.getHours()
Deprecated. As of JDK version 1.1, replaced by Calendar.get(Calendar.HOUR_OF_DAY).
int
Date.getMinutes()
Deprecated. As of JDK version 1.1, replaced by Calendar.get(Calendar.MINUTE).
int
Date.getMonth()
Deprecated. As of JDK version 1.1, replaced by Calendar.get(Calendar.MONTH).
int
Date.getSeconds()
Deprecated. As of JDK version 1.1, replaced by Calendar.get(Calendar.SECOND).
int
Deprecated. As of JDK version 1.1, replaced by -(Calendar.get(Calendar.ZONE_OFFSET) + Calendar.get(Calendar.DST_OFFSET)) / (60 * 1000).
int
Date.getYear()
Deprecated. As of JDK version 1.1, replaced by Calendar.get(Calendar.YEAR) - 1900.
static long
Date.parse(String s)
Deprecated. As of JDK version 1.1, replaced by DateFormat.parse(String s).
void
Date.setDate(int date)
Deprecated. As of JDK version 1.1, replaced by Calendar.set(Calendar.DAY_OF_MONTH, int date).
void
Date.setHours(int hours)
Deprecated. As of JDK version 1.1, replaced by Calendar.set(Calendar.HOUR_OF_DAY, int hours).
void
Date.setMinutes(int minutes)
Deprecated. As of JDK version 1.1, replaced by Calendar.set(Calendar.MINUTE, int minutes).
void
Date.setMonth(int month)
Deprecated. As of JDK version 1.1, replaced by Calendar.set(Calendar.MONTH, int month).
void
Date.setSeconds(int seconds)
Deprecated. As of JDK version 1.1, replaced by Calendar.set(Calendar.SECOND, int seconds).
void
Date.setYear(int year)
Deprecated. As of JDK version 1.1, replaced by Calendar.set(Calendar.YEAR, year + 1900).
Deprecated. As of JDK version 1.1, replaced by DateFormat.format(Date date), using a GMT TimeZone.
Deprecated. As of JDK version 1.1, replaced by DateFormat.format(Date date).
static long
Date.UTC(int year, int month, int date, int hrs, int min, int sec)
Deprecated. As of JDK version 1.1, replaced by Calendar.set(year + 1900, month, date, hrs, min, sec) or GregorianCalendar(year + 1900, month, date, hrs, min, sec), using a UTC TimeZone, followed by Calendar.getTime().getTime().
void
Properties.save(OutputStream out, String comments)
Deprecated. This method does not throw an IOException if an I/O error occurs while saving the property list.
Constructors in java.util with annotations of type Deprecated
Date(int year, int month, int date)
Deprecated. As of JDK version 1.1, replaced by Calendar.set(year + 1900, month, date) or GregorianCalendar(year + 1900, month, date).
Date(int year, int month, int date, int hrs, int min)
Deprecated. As of JDK version 1.1, replaced by Calendar.set(year + 1900, month, date, hrs, min) or GregorianCalendar(year + 1900, month, date, hrs, min).
Date(int year, int month, int date, int hrs, int min, int sec)
Deprecated. As of JDK version 1.1, replaced by Calendar.set(year + 1900, month, date, hrs, min, sec) or GregorianCalendar(year + 1900, month, date, hrs, min, sec).
Deprecated. As of JDK version 1.1, replaced by DateFormat.parse(String s).
Methods in java.util.concurrent with annotations of type Deprecated
static <T> Callable<T>
Executors.privilegedCallable(Callable<T> callable)
Deprecated, for removal. This method is only useful in conjunction with the Security Manager, which is deprecated and subject to removal in a future release.
static <T> Callable<T>
Deprecated, for removal. This method is only useful in conjunction with the Security Manager, which is deprecated and subject to removal in a future release.
Deprecated, for removal. This method is only useful in conjunction with the Security Manager, which is deprecated and subject to removal in a future release.
protected void
ThreadPoolExecutor.finalize()
Deprecated.
Methods in javax.swing.text with annotations of type Deprecated
JTextComponent.modelToView(int pos)
Deprecated. replaced by JTextComponent.modelToView2D(int)
int
JTextComponent.viewToModel(Point pt)

 Use 
PREV   NEXT      All Classes   All Packages
FlexDoc/Javadoc 2.0
Demo Java Doc

Java API documentation generated with FlexDoc/Javadoc 2.0 using JavadocClassic 3.0 template set.
FlexDoc/Javadoc is a template-driven programming tool for rapid development of any Javadoc-based Java API documentation generators (i.e. doclets). If you need to customize your Javadoc without writing a full-blown doclet from scratch, FlexDoc/Javadoc may be the only tool able to help you! Find out more at www.flexdoc.xyz