0N/A/*
2362N/A * Copyright (c) 1998, 2006, Oracle and/or its affiliates. All rights reserved.
0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A *
0N/A * This code is free software; you can redistribute it and/or modify it
0N/A * under the terms of the GNU General Public License version 2 only, as
2362N/A * published by the Free Software Foundation. Oracle designates this
0N/A * particular file as subject to the "Classpath" exception as provided
2362N/A * by Oracle in the LICENSE file that accompanied this code.
0N/A *
0N/A * This code is distributed in the hope that it will be useful, but WITHOUT
0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/A * version 2 for more details (a copy is included in the LICENSE file that
0N/A * accompanied this code).
0N/A *
0N/A * You should have received a copy of the GNU General Public License version
0N/A * 2 along with this work; if not, write to the Free Software Foundation,
0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A *
2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2362N/A * or visit www.oracle.com if you need additional information or have any
2362N/A * questions.
0N/A */
0N/A
0N/A/**
0N/A * Provides classes that are fundamental to the design of the Java
0N/A * programming language. The most important classes are {@code
0N/A * Object}, which is the root of the class hierarchy, and {@code
0N/A * Class}, instances of which represent classes at run time.
0N/A *
0N/A * <p>Frequently it is necessary to represent a value of primitive
0N/A * type as if it were an object. The wrapper classes {@code Boolean},
0N/A * {@code Character}, {@code Integer}, {@code Long}, {@code Float},
0N/A * and {@code Double} serve this purpose. An object of type {@code
0N/A * Double}, for example, contains a field whose type is double,
0N/A * representing that value in such a way that a reference to it can be
0N/A * stored in a variable of reference type. These classes also provide
0N/A * a number of methods for converting among primitive values, as well
0N/A * as supporting such standard methods as equals and hashCode. The
0N/A * {@code Void} class is a non-instantiable class that holds a
0N/A * reference to a {@code Class} object representing the type void.
0N/A *
0N/A * <p>The class {@code Math} provides commonly used mathematical
0N/A * functions such as sine, cosine, and square root. The classes {@code
0N/A * String}, {@code StringBuffer}, and {@code StringBuilder} similarly
0N/A * provide commonly used operations on character strings.
0N/A *
0N/A * <p>Classes {@code ClassLoader}, {@code Process}, {@code
0N/A * ProcessBuilder}, {@code Runtime}, {@code SecurityManager}, and
0N/A * {@code System} provide "system operations" that manage the dynamic
0N/A * loading of classes, creation of external processes, host
0N/A * environment inquiries such as the time of day, and enforcement of
0N/A * security policies.
0N/A *
0N/A * <p>Class {@code Throwable} encompasses objects that may be thrown
0N/A * by the {@code throw} statement. Subclasses of {@code Throwable}
0N/A * represent errors and exceptions.
0N/A *
0N/A * <a name="charenc"></a>
0N/A * <h3>Character Encodings</h3>
0N/A *
0N/A * The specification of the {@link java.nio.charset.Charset
0N/A * java.nio.charset.Charset} class describes the naming conventions
0N/A * for character encodings as well as the set of standard encodings
0N/A * that must be supported by every implementation of the Java
0N/A * platform.
0N/A *
0N/A * @since JDK1.0
0N/A */
0N/Apackage java.lang;