Peter is a DZone MVB and is not an employee of DZone and has posted 161 posts at DZone. You can read more from them at their website. View Full User Profile

Classes in the JLS 8

06.25.2014
| 2709 views |
  • submit to reddit

When people refer to Java, they often include the libraries.  This could refer to just the standard libraries or third party libraries.  However, which classes are mentioned in the JLS.  It is a surprisingly short list.

Types

boolean, byte, short, char, int, float, long, double, void

Classes

Object, Class, ClassLoader, String, Thread, ThreadGroup, System, Reference, ReferenceQueue, Collection, List, Vector, Random, ArrayList, SecurityManager, Dictionary, HashSet, AbstractSet, HashMap, AbstractMap, ThreadLocal, ByteArrayInputStream, Date, Enumeration, BitSet, Observable, Collections,  Runtime, StringBuffer, MethodHandle, Arrays, Boolean, Byte, Short, Character, Integer, Long, Float, Double, Number

Interfaces

List, Serializable, Cloneable, DataInput, DataOutput, Runnable, Observer, Map, Comparable, Annotation, Predicate, Iterable, Map.Entry, AutoCloseable, 

Enums

RetentionPolicy, ElementType.

Exceptions/Errors

Throwable, Exception Error, RuntimeException, ClassCircularityError, NullPointerException, OutOfMemoryError, ArithmeticException, ClassCastException, ArrayStoreException, ArrayIndexOutOfBoundsException, InterruptedIOException, FileNotFoundException, PriveledgedExceptionAction, VirtualMachineError, StackOverflowError, IOException, ClassFormatError, NoClassDefFoundError, LinkageError, VerifyError, IncompatibaleClassChangeError, IllegalAccessError, InstantitationError, NoSuchFieldError, NoSuchMethodError, UnsatifiedLinkError, LinkageError, ExceptioninIntializerError, AbstractMethodError, AssertionError, NegativeArraySizeException, UnsupportedOperationException. IllegalMonirotStateException, InterruptedException,

Annotations

Indexed: Deprecated, FunctionalInterface, Inherited, Override, Repeatable, Retention, SafeVarargs, SuppressWarnings, Target,
Mentioned:  Documented

Published at DZone with permission of Peter Lawrey, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)