- SafeVarargs - Annotation Type in java.lang
-
A programmer assertion that the body of the annotated method or constructor does not perform
potentially unsafe operations on its varargs parameter.
- SATURDAY - Static variable in class java.util.Calendar
-
- scalb(double, int) - Static method in class java.lang.Math
-
Return d
× 2scaleFactor
rounded as if performed by a single
correctly rounded floating-point multiply to a member of the double value set.
- scalb(float, int) - Static method in class java.lang.Math
-
Return f
× 2scaleFactor
rounded as if performed by a single
correctly rounded floating-point multiply to a member of the float value set.
- schedule(TimerTask, Date) - Method in class java.util.Timer
-
Deprecated.
Schedules the specified task for execution at the specified time.
- schedule(TimerTask, Date, long) - Method in class java.util.Timer
-
Deprecated.
Schedules the specified task for repeated fixed-delay execution, beginning at the
specified time.
- schedule(TimerTask, long) - Method in class java.util.Timer
-
Deprecated.
Schedules the specified task for execution after the specified delay.
- schedule(TimerTask, long, long) - Method in class java.util.Timer
-
Deprecated.
Schedules the specified task for repeated fixed-delay execution, beginning after the
specified delay.
- scheduleAtFixedRate(TimerTask, Date, long) - Method in class java.util.Timer
-
Deprecated.
Schedules the specified task for repeated fixed-rate execution, beginning at the specified
time.
- scheduleAtFixedRate(TimerTask, long, long) - Method in class java.util.Timer
-
Deprecated.
Schedules the specified task for repeated fixed-rate execution, beginning after the
specified delay.
- scheduledExecutionTime() - Method in class java.util.TimerTask
-
Deprecated.
Returns the scheduled execution time of the most recent actual execution of this
task.
- search(Object) - Method in class java.util.Stack
-
Returns the 1-based position where an object is on this stack.
- SECOND - Static variable in class java.util.Calendar
-
Field number for get
and set
indicating the second within the minute.
- SecurityException - Exception in java.lang
-
Thrown by the security manager to indicate a security violation.
- SecurityException() - Constructor for exception java.lang.SecurityException
-
Constructs a SecurityException
with no detail message.
- SecurityException(String) - Constructor for exception java.lang.SecurityException
-
Constructs a SecurityException
with the specified detail message.
- SecurityException(String, Throwable) - Constructor for exception java.lang.SecurityException
-
Creates a SecurityException
with the specified detail message and cause.
- SecurityException(Throwable) - Constructor for exception java.lang.SecurityException
-
Creates a SecurityException
with the specified cause and a detail message of
(cause==null ? null : cause.toString())
(which typically contains the class and detail
message of cause
).
- SecurityManager - Class in java.lang
-
The security manager is a class that allows applications to implement a security policy.
- SecurityManager() - Constructor for class java.lang.SecurityManager
-
Constructs a new SecurityManager
.
- SEPTEMBER - Static variable in class java.util.Calendar
-
Value of the
Calendar.MONTH
field indicating the ninth month of the year in the Gregorian and
Julian calendars.
- Serializable - Interface in java.io
-
This interface is only defined for hierarchy compatibility.
- set(int, E) - Method in class java.util.AbstractList
-
Replaces the element at the specified position in this list with the specified element (optional
operation).
- set(int, E) - Method in class java.util.ArrayList
-
Replaces the element at the specified position in this list with the specified element.
- set(int, int) - Method in class java.util.Calendar
-
Sets the given calendar field to the given value.
- set(int, int, int) - Method in class java.util.Calendar
-
Sets the values for the calendar fields YEAR
, MONTH
, and
DAY_OF_MONTH
.
- set(int, int, int, int, int) - Method in class java.util.Calendar
-
Sets the values for the calendar fields YEAR
, MONTH
,
DAY_OF_MONTH
, HOUR_OF_DAY
, and MINUTE
.
- set(int, int, int, int, int, int) - Method in class java.util.Calendar
-
Sets the values for the fields YEAR
, MONTH
, DAY_OF_MONTH
,
HOUR
, MINUTE
, and SECOND
.
- set(int, E) - Method in interface java.util.List
-
Replaces the element at the specified position in this list with the specified element (optional
operation).
- set(E) - Method in interface java.util.ListIterator
-
- Set<E> - Interface in java.util
-
A collection that contains no duplicate elements.
- set(int, E) - Method in class java.util.Vector
-
Replaces the element at the specified position in this Vector with the specified element.
- setChanged() - Method in class java.util.Observable
-
Marks this Observable
object as having been changed; the hasChanged
method will
now return true
.
- setCharAt(int, char) - Method in class java.lang.StringBuffer
-
The character at the specified index is set to ch
.
- setCharAt(int, char) - Method in class java.lang.StringBuilder
-
The character at the specified index is set to ch
.
- setDaemon(boolean) - Method in class java.lang.Thread
-
Marks this thread as either a
daemon thread
or a user thread.
- setDefaultUncaughtExceptionHandler(Thread.UncaughtExceptionHandler) - Static method in class java.lang.Thread
-
Set the default handler invoked when a thread abruptly terminates due to an uncaught exception,
and no other handler has been defined for that thread.
- setElementAt(E, int) - Method in class java.util.Vector
-
Sets the component at the specified index
of this vector to be the specified object.
- setError() - Method in class java.io.PrintStream
-
Sets the error state of the stream to true
.
- setFirstDayOfWeek(int) - Method in class java.util.Calendar
-
Sets what the first day of the week is; e.g., SUNDAY
in the U.S.,
MONDAY
in France.
- setID(String) - Method in class java.util.TimeZone
-
Sets the time zone ID.
- setLength(int) - Method in class java.lang.StringBuffer
-
Sets the length of the character sequence.
- setLength(int) - Method in class java.lang.StringBuilder
-
Sets the length of the character sequence.
- setLenient(boolean) - Method in class java.util.Calendar
-
- setMinimalDaysInFirstWeek(int) - Method in class java.util.Calendar
-
Sets what the minimal days required in the first week of the year are; For example, if the first
week is defined as one that contains the first day of the first month of a year, call this method
with value 1.
- setName(String) - Method in class java.lang.Thread
-
Changes the name of this thread to be equal to the argument name
.
- setPriority(int) - Method in class java.lang.Thread
-
Changes the priority of this thread.
- setSecurityManager(SecurityManager) - Static method in class java.lang.System
-
Sets the System security.
- setSeed(long) - Method in class java.util.Random
-
Sets the seed of this random number generator using a single long
seed.
- setSize(int) - Method in class java.util.Vector
-
Sets the size of this vector.
- setTime(Date) - Method in class java.util.Calendar
-
Sets this Calendar's time with the given Date
.
- setTime(long) - Method in class java.util.Date
-
Sets this Date
object to represent a point in time that is time
milliseconds after January 1, 1970 00:00:00 GMT.
- setTimeInMillis(long) - Method in class java.util.Calendar
-
Sets this Calendar's current time from the given long value.
- setTimeZone(TimeZone) - Method in class java.util.Calendar
-
Sets the time zone with the given time zone value.
- setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler) - Method in class java.lang.Thread
-
Set the handler invoked when this thread abruptly terminates due to an uncaught exception.
- setValue(V) - Method in class java.util.AbstractMap.SimpleEntry
-
Replaces the value corresponding to this entry with the specified value.
- setValue(V) - Method in class java.util.AbstractMap.SimpleImmutableEntry
-
Replaces the value corresponding to this entry with the specified value (optional operation).
- setValue(V) - Method in interface java.util.Map.Entry
-
Replaces the value corresponding to this entry with the specified value (optional operation).
- Short - Class in java.lang
-
The Short
class wraps a value of primitive type short
in an object.
- Short(short) - Constructor for class java.lang.Short
-
Constructs a newly allocated Short
object that represents the specified short
value.
- Short(String) - Constructor for class java.lang.Short
-
Constructs a newly allocated Short
object that represents the short
value
indicated by the String
parameter.
- SHORT - Static variable in class java.util.Calendar
-
A style specifier indicating a short name, such as "Jan".
- SHORT - Static variable in class java.util.TimeZone
-
A style specifier for getDisplayName()
indicating a short name, such as "PST."
- shortValue() - Method in class java.lang.Byte
-
Returns the value of this Byte
as a short
.
- shortValue() - Method in class java.lang.Double
-
Returns the value of this Double
as a short
(by casting to a short
).
- shortValue() - Method in class java.lang.Float
-
Returns the value of this Float
as a short
(by casting to a short
).
- shortValue() - Method in class java.lang.Integer
-
Returns the value of this Integer
as a short
.
- shortValue() - Method in class java.lang.Long
-
Returns the value of this Long
as a short
.
- shortValue() - Method in class java.lang.Number
-
Returns the value of the specified number as a short
.
- shortValue() - Method in class java.lang.Short
-
Returns the value of this Short
as a short
.
- signum(int) - Static method in class java.lang.Integer
-
Returns the signum function of the specified int
value.
- signum(long) - Static method in class java.lang.Long
-
Returns the signum function of the specified long
value.
- signum(double) - Static method in class java.lang.Math
-
Returns the signum function of the argument; zero if the argument is zero, 1.0 if the argument is
greater than zero, -1.0 if the argument is less than zero.
- signum(float) - Static method in class java.lang.Math
-
Returns the signum function of the argument; zero if the argument is zero, 1.0f if the argument
is greater than zero, -1.0f if the argument is less than zero.
- SimpleEntry(Map.Entry<? extends K, ? extends V>) - Constructor for class java.util.AbstractMap.SimpleEntry
-
Creates an entry representing the same mapping as the specified entry.
- SimpleEntry(K, V) - Constructor for class java.util.AbstractMap.SimpleEntry
-
Creates an entry representing a mapping from the specified key to the specified value.
- SimpleImmutableEntry(Map.Entry<? extends K, ? extends V>) - Constructor for class java.util.AbstractMap.SimpleImmutableEntry
-
Creates an entry representing the same mapping as the specified entry.
- SimpleImmutableEntry(K, V) - Constructor for class java.util.AbstractMap.SimpleImmutableEntry
-
Creates an entry representing a mapping from the specified key to the specified value.
- sin(double) - Static method in class java.lang.Math
-
Returns the trigonometric sine of an angle.
- sinh(double) - Static method in class java.lang.Math
-
Returns the hyperbolic sine of a double
value.
- size() - Method in class java.io.ByteArrayOutputStream
-
Returns the current size of the buffer.
- size() - Method in class java.io.DataOutputStream
-
Returns the current value of the counter written
, the number of bytes written to
this data output stream so far.
- SIZE - Static variable in class java.lang.Byte
-
The number of bits used to represent a byte
value in two's complement binary form.
- SIZE - Static variable in class java.lang.Character
-
The number of bits used to represent a char
value in unsigned binary form, constant
16
.
- SIZE - Static variable in class java.lang.Double
-
The number of bits used to represent a double
value.
- SIZE - Static variable in class java.lang.Float
-
The number of bits used to represent a float
value.
- SIZE - Static variable in class java.lang.Integer
-
The number of bits used to represent an int
value in two's complement binary form.
- SIZE - Static variable in class java.lang.Long
-
The number of bits used to represent a long
value in two's complement binary form.
- SIZE - Static variable in class java.lang.Short
-
The number of bits used to represent a short
value in two's complement binary form.
- size() - Method in class java.util.AbstractCollection
-
Returns the number of elements in this collection.
- size() - Method in class java.util.AbstractMap
-
Returns the number of key-value mappings in this map.
- size() - Method in class java.util.ArrayList
-
Returns the number of elements in this list.
- size() - Method in interface java.util.Collection
-
Returns the number of elements in this collection.
- size() - Method in class java.util.Dictionary
-
Returns the number of entries (distinct keys) in this dictionary.
- size() - Method in class java.util.HashMap
-
Returns the number of key-value mappings in this map.
- size() - Method in class java.util.Hashtable
-
Returns the number of keys in this hashtable.
- size() - Method in interface java.util.List
-
Returns the number of elements in this list.
- size() - Method in interface java.util.Map
-
Returns the number of key-value mappings in this map.
- size() - Method in interface java.util.Set
-
Returns the number of elements in this set (its cardinality).
- size() - Method in class java.util.Vector
-
Returns the number of components in this vector.
- size() - Method in class java.util.WeakHashMap
-
Returns the number of key-value mappings in this map.
- skip(long) - Method in class java.io.ByteArrayInputStream
-
Skips n
bytes of input from this input stream.
- skip(long) - Method in class java.io.FilterInputStream
-
Skips over and discards n
bytes of data from the input stream.
- skip(long) - Method in class java.io.InputStream
-
Skips over and discards n
bytes of data from this input stream.
- skip(long) - Method in class java.io.Reader
-
Skips characters.
- skipBytes(int) - Method in interface java.io.DataInput
-
Makes an attempt to skip over n
bytes of data from the input stream, discarding the
skipped bytes.
- skipBytes(int) - Method in class java.io.DataInputStream
-
See the general contract of the skipBytes
method of DataInput
.
- sleep(long) - Static method in class java.lang.Thread
-
Causes the currently executing thread to sleep (temporarily cease execution) for the specified
number of milliseconds, subject to the precision and accuracy of system timers and schedulers.
- sleep(long, int) - Static method in class java.lang.Thread
-
Causes the currently executing thread to sleep (temporarily cease execution) for the specified
number of milliseconds plus the specified number of nanoseconds, subject to the precision and
accuracy of system timers and schedulers.
- source - Variable in class java.util.EventObject
-
The object on which the Event initially occurred.
- sqrt(double) - Static method in class java.lang.Math
-
Returns the correctly rounded positive square root of a double
value.
- Stack<E> - Class in java.util
-
The Stack
class represents a last-in-first-out (LIFO) stack of objects.
- Stack() - Constructor for class java.util.Stack
-
Creates an empty Stack.
- StackOverflowError - Error in java.lang
-
Thrown when a stack overflow occurs because an application recurses too deeply.
- StackOverflowError() - Constructor for error java.lang.StackOverflowError
-
Constructs a StackOverflowError
with no detail message.
- StackOverflowError(String) - Constructor for error java.lang.StackOverflowError
-
Constructs a StackOverflowError
with the specified detail message.
- StackTraceElement - Class in java.lang
-
An element in a stack trace.
- start() - Method in class java.lang.Thread
-
Causes this thread to begin execution; the Java Virtual Machine calls the run
method
of this thread.
- startsWith(String) - Method in class java.lang.String
-
Tests if this string starts with the specified prefix.
- startsWith(String, int) - Method in class java.lang.String
-
Tests if the substring of this string beginning at the specified index starts with the specified
prefix.
- String - Class in java.lang
-
The String
class represents character strings.
- String() - Constructor for class java.lang.String
-
Initializes a newly created String
object so that it represents an empty character
sequence.
- String(byte[]) - Constructor for class java.lang.String
-
Constructs a new String
by decoding the specified array of bytes using the platform's
default charset.
- String(byte[], int, int) - Constructor for class java.lang.String
-
Constructs a new String
by decoding the specified subarray of bytes using the platform's
default charset.
- String(byte[], int, int, String) - Constructor for class java.lang.String
-
Constructs a new String
by decoding the specified subarray of bytes using the specified
charset.
- String(byte[], String) - Constructor for class java.lang.String
-
Constructs a new String
by decoding the specified array of bytes using the specified
charset.
- String(char[]) - Constructor for class java.lang.String
-
Allocates a new String
so that it represents the sequence of characters currently
contained in the character array argument.
- String(char[], int, int) - Constructor for class java.lang.String
-
Allocates a new String
that contains characters from a subarray of the character array
argument.
- String(String) - Constructor for class java.lang.String
-
Initializes a newly created String
object so that it represents the same sequence of
characters as the argument; in other words, the newly created string is a copy of the argument
string.
- String(StringBuffer) - Constructor for class java.lang.String
-
Allocates a new string that contains the sequence of characters currently contained in the string
buffer argument.
- String(StringBuilder) - Constructor for class java.lang.String
-
Allocates a new string that contains the sequence of characters currently contained in the string
builder argument.
- StringBuffer - Class in java.lang
-
A thread-safe, mutable sequence of characters.
- StringBuffer() - Constructor for class java.lang.StringBuffer
-
Constructs a string buffer with no characters in it and an initial capacity of 16 characters.
- StringBuffer(CharSequence) - Constructor for class java.lang.StringBuffer
-
Constructs a string buffer that contains the same characters as the specified
CharSequence
.
- StringBuffer(int) - Constructor for class java.lang.StringBuffer
-
Constructs a string buffer with no characters in it and the specified initial capacity.
- StringBuffer(String) - Constructor for class java.lang.StringBuffer
-
Constructs a string buffer initialized to the contents of the specified string.
- StringBuilder - Class in java.lang
-
A mutable sequence of characters.
- StringBuilder() - Constructor for class java.lang.StringBuilder
-
Constructs a string builder with no characters in it and an initial capacity of 16 characters.
- StringBuilder(CharSequence) - Constructor for class java.lang.StringBuilder
-
Constructs a string builder that contains the same characters as the specified
CharSequence
.
- StringBuilder(int) - Constructor for class java.lang.StringBuilder
-
Constructs a string builder with no characters in it and an initial capacity specified by the
capacity
argument.
- StringBuilder(String) - Constructor for class java.lang.StringBuilder
-
Constructs a string builder initialized to the contents of the specified string.
- StringIndexOutOfBoundsException - Exception in java.lang
-
Thrown by String
methods to indicate that an index is either negative or greater
than the size of the string.
- StringIndexOutOfBoundsException() - Constructor for exception java.lang.StringIndexOutOfBoundsException
-
Constructs a StringIndexOutOfBoundsException
with no detail message.
- StringIndexOutOfBoundsException(int) - Constructor for exception java.lang.StringIndexOutOfBoundsException
-
Constructs a new StringIndexOutOfBoundsException
class with an argument indicating
the illegal index.
- StringIndexOutOfBoundsException(String) - Constructor for exception java.lang.StringIndexOutOfBoundsException
-
Constructs a StringIndexOutOfBoundsException
with the specified detail message.
- subList(int, int) - Method in class java.util.AbstractList
-
Returns a view of the portion of this list between the specified fromIndex
, inclusive,
and toIndex
, exclusive.
- subList(int, int) - Method in class java.util.ArrayList
-
Returns a view of the portion of this list between the specified fromIndex
, inclusive,
and toIndex
, exclusive.
- subList(int, int) - Method in interface java.util.List
-
Returns a view of the portion of this list between the specified fromIndex
, inclusive,
and toIndex
, exclusive.
- subList(int, int) - Method in class java.util.Vector
-
Returns a view of the portion of this List between fromIndex, inclusive, and toIndex, exclusive.
- subSequence(int, int) - Method in interface java.lang.CharSequence
-
Returns a new CharSequence
that is a subsequence of this sequence.
- subSequence(int, int) - Method in class java.lang.String
-
Returns a new character sequence that is a subsequence of this sequence.
- subSequence(int, int) - Method in class java.lang.StringBuffer
-
Returns a new character sequence that is a subsequence of this sequence.
- subSequence(int, int) - Method in class java.lang.StringBuilder
-
Returns a new character sequence that is a subsequence of this sequence.
- substring(int) - Method in class java.lang.String
-
Returns a new string that is a substring of this string.
- substring(int, int) - Method in class java.lang.String
-
Returns a new string that is a substring of this string.
- substring(int) - Method in class java.lang.StringBuffer
-
Returns a new String
that contains a subsequence of characters currently contained
in this character sequence.
- substring(int, int) - Method in class java.lang.StringBuffer
-
Returns a new String
that contains a subsequence of characters currently contained
in this sequence.
- substring(int) - Method in class java.lang.StringBuilder
-
Returns a new String
that contains a subsequence of characters
currently contained in this character sequence.
- substring(int, int) - Method in class java.lang.StringBuilder
-
Returns a new String
that contains a subsequence of characters
currently contained in this sequence.
- SUNDAY - Static variable in class java.util.Calendar
-
- SuppressWarnings - Annotation Type in java.lang
-
Indicates that the named compiler warnings should be suppressed in the annotated element (and in
all program elements contained in the annotated element).
- System - Class in java.lang
-
The System
class contains several useful class fields and methods.