- gc() - Method in class java.lang.Runtime
-
Runs the garbage collector.
- gc() - Static method in class java.lang.System
-
Runs the garbage collector.
- GenericDeclaration - Interface in java.lang.reflect
-
This interface is only defined for hierarchy compatibility.
- get() - Method in class java.lang.ref.Reference
-
Returns this reference object's referent.
- get(int) - Method in class java.util.AbstractList
-
Returns the element at the specified position in this list.
- get(Object) - Method in class java.util.AbstractMap
-
Returns the value to which the specified key is mapped, or null
if this map contains no
mapping for the key.
- get(int) - Method in class java.util.ArrayList
-
Returns the element at the specified position in this list.
- get(int) - Method in class java.util.Calendar
-
Returns the value of the given calendar field.
- get(Object) - Method in class java.util.Dictionary
-
Returns the value to which the key is mapped in this dictionary.
- get(Object) - Method in class java.util.HashMap
-
Returns the value to which the specified key is mapped, or null
if this map contains no
mapping for the key.
- get(Object) - Method in class java.util.Hashtable
-
Returns the value to which the specified key is mapped, or null
if this map contains no
mapping for the key.
- get(int) - Method in interface java.util.List
-
Returns the element at the specified position in this list.
- get(Object) - Method in interface java.util.Map
-
Returns the value to which the specified key is mapped, or null
if this map contains no
mapping for the key.
- get(int) - Method in class java.util.Vector
-
Returns the element at the specified position in this Vector.
- get(Object) - Method in class java.util.WeakHashMap
-
Returns the value to which the specified key is mapped, or null
if this map contains no
mapping for the key.
- getActions() - Method in class java.security.BasicPermission
-
Returns the canonical string representation of the actions, which currently is the empty string
"", since there are no actions for a BasicPermission.
- getActions() - Method in class java.security.Permission
-
Returns the actions as a String.
- getActions() - Method in class java.util.PropertyPermission
-
Returns the "canonical string representation" of the actions.
- getActualMaximum(int) - Method in class java.util.Calendar
-
Returns the maximum value that the specified calendar field could have, given the time value of
this Calendar
.
- getActualMinimum(int) - Method in class java.util.Calendar
-
Returns the minimum value that the specified calendar field could have, given the time value of
this Calendar
.
- getAllStackTraces() - Static method in class java.lang.Thread
-
Returns a map of stack traces for all live threads.
- getAvailableIDs() - Static method in class java.util.TimeZone
-
Gets all the available IDs supported.
- getBoolean(String) - Static method in class java.lang.Boolean
-
Returns true
if and only if the system property named by the argument exists and is equal
to the string "true"
.
- getBytes() - Method in class java.lang.String
-
Encodes this String
into a sequence of bytes using the platform's default charset,
storing the result into a new byte array.
- getBytes(String) - Method in class java.lang.String
-
Encodes this String
into a sequence of bytes using the named charset, storing the result
into a new byte array.
- getCause() - Method in exception java.lang.ClassNotFoundException
-
Returns the cause of this exception (the exception that was raised if an error occurred while
attempting to load the class; otherwise null
).
- getCause() - Method in error java.lang.ExceptionInInitializerError
-
Returns the cause of this error (the exception that occurred during a static initialization that
caused this error to be created).
- getCause() - Method in class java.lang.Throwable
-
Returns the cause of this throwable or null
if the cause is nonexistent or unknown.
- getChars(int, int, char[], int) - Method in class java.lang.String
-
Copies characters from this string into the destination character array.
- getChars(int, int, char[], int) - Method in class java.lang.StringBuffer
-
Characters are copied from this sequence into the destination character array dst
.
- getChars(int, int, char[], int) - Method in class java.lang.StringBuilder
-
Characters are copied from this sequence into the destination character array dst
.
- getClass() - Method in class java.lang.Object
-
Returns the runtime class of this Object
.
- getClassName() - Method in class java.lang.StackTraceElement
-
Returns the fully qualified name of the class containing the execution point represented by this
stack trace element.
- getDefault() - Static method in class java.util.TimeZone
-
Gets the default TimeZone
for this host.
- getDefaultUncaughtExceptionHandler() - Static method in class java.lang.Thread
-
Returns the default handler invoked when a thread abruptly terminates due to
an uncaught exception.
- getDSTSavings() - Method in class java.util.TimeZone
-
Returns the amount of time to be added to local standard time to get local wall clock time.
- getEncoding() - Method in class java.io.InputStreamReader
-
Returns the name of the character encoding being used by this stream.
- getEncoding() - Method in class java.io.OutputStreamWriter
-
Returns the name of the character encoding being used by this stream.
- getException() - Method in exception java.lang.ClassNotFoundException
-
Returns the exception that was raised if an error occurred while attempting to load the class.
- getException() - Method in error java.lang.ExceptionInInitializerError
-
Returns the exception that occurred during a static initialization that caused this error to be
created.
- getExponent(double) - Static method in class java.lang.Math
-
Returns the unbiased exponent used in the representation of a double
.
- getExponent(float) - Static method in class java.lang.Math
-
Returns the unbiased exponent used in the representation of a float
.
- getFileName() - Method in class java.lang.StackTraceElement
-
Returns the name of the source file containing the execution point represented by this stack
trace element.
- getFirstDayOfWeek() - Method in class java.util.Calendar
-
Gets what the first day of the week is; e.g., SUNDAY
in the U.S.,
MONDAY
in France.
- getGreatestMinimum(int) - Method in class java.util.Calendar
-
Returns the highest minimum value for the given calendar field of this Calendar
instance.
- getId() - Method in class java.lang.Thread
-
Returns the identifier of this Thread.
- getID() - Method in class java.util.TimeZone
-
Gets the ID of this time zone.
- getInstance() - Static method in class java.util.Calendar
-
Gets a calendar using the default time zone and locale.
- getInstance(TimeZone) - Static method in class java.util.Calendar
-
Gets a calendar using the specified time zone and default locale.
- getInteger(String) - Static method in class java.lang.Integer
-
Determines the integer value of the system property with the specified name.
- getInteger(String, int) - Static method in class java.lang.Integer
-
Determines the integer value of the system property with the specified name.
- getInteger(String, Integer) - Static method in class java.lang.Integer
-
Returns the integer value of the system property with the specified name.
- getKey() - Method in class java.util.AbstractMap.SimpleEntry
-
Returns the key corresponding to this entry.
- getKey() - Method in class java.util.AbstractMap.SimpleImmutableEntry
-
Returns the key corresponding to this entry.
- getKey() - Method in interface java.util.Map.Entry
-
Returns the key corresponding to this entry.
- getLeastMaximum(int) - Method in class java.util.Calendar
-
Returns the lowest maximum value for the given calendar field of this Calendar
instance.
- getLineNumber() - Method in class java.lang.StackTraceElement
-
Returns the line number of the source line containing the execution point represented by this
stack trace element.
- getLocalizedMessage() - Method in class java.lang.Throwable
-
Creates a localized description of this throwable.
- getLong(String) - Static method in class java.lang.Long
-
Determines the long
value of the system property with the specified name.
- getLong(String, long) - Static method in class java.lang.Long
-
Determines the long
value of the system property with the specified name.
- getLong(String, Long) - Static method in class java.lang.Long
-
Returns the long
value of the system property with the specified name.
- getMaximum(int) - Method in class java.util.Calendar
-
Returns the maximum value for the given calendar field of this Calendar
instance.
- getMessage() - Method in class java.lang.Throwable
-
Returns the detail message string of this throwable.
- getMethodName() - Method in class java.lang.StackTraceElement
-
Returns the name of the method containing the execution point represented by this stack trace
element.
- getMinimalDaysInFirstWeek() - Method in class java.util.Calendar
-
Gets what the minimal days required in the first week of the year are; e.g., if the first week is
defined as one that contains the first day of the first month of a year, this method returns 1.
- getMinimum(int) - Method in class java.util.Calendar
-
Returns the minimum value for the given calendar field of this Calendar
instance.
- getName() - Method in class java.lang.Class
-
Returns the name of the entity (class, interface, array class, primitive type, or void)
represented by this Class
object, as a String
.
- getName() - Method in class java.lang.Package
-
Return the name of this package.
- getName() - Method in class java.lang.Thread
-
Returns this thread's name.
- getName() - Method in class java.security.Permission
-
Returns the name of this Permission.
- getOffset(int, int, int, int, int, int) - Method in class java.util.TimeZone
-
Gets the time zone offset, for current date, modified in case of daylight savings.
- getOffset(long) - Method in class java.util.TimeZone
-
Returns the offset of this time zone from UTC at the specified date.
- getPackage() - Method in class java.lang.Class
-
Gets the package for this class.
- getPriority() - Method in class java.lang.Thread
-
Returns this thread's priority.
- getProperty(String) - Static method in class java.lang.System
-
Gets the system property indicated by the specified key.
- getProperty(String, String) - Static method in class java.lang.System
-
Gets the system property indicated by the specified key.
- getRawOffset() - Method in class java.util.TimeZone
-
Returns the amount of time in milliseconds to add to UTC to get standard time in this time zone.
- getResourceAsStream(String) - Method in class java.lang.Class
-
Finds a resource with a given name.
- getRuntime() - Static method in class java.lang.Runtime
-
Returns the runtime object associated with the current Java application.
- getSecurityManager() - Static method in class java.lang.System
-
Gets the system security interface.
- getSimpleName() - Method in class java.lang.Class
-
Returns the simple name of the underlying class as given in the source code.
- getSource() - Method in class java.util.EventObject
-
The object on which the Event initially occurred.
- getStackTrace() - Method in class java.lang.Thread
-
Returns an array of stack trace elements representing the stack dump of this thread.
- getStackTrace() - Method in class java.lang.Throwable
-
- getState() - Method in class java.lang.Thread
-
Returns the state of this thread.
- getSuperclass() - Method in class java.lang.Class
-
Returns the Class
representing the superclass of the entity (class, interface, primitive
type or void) represented by this Class
.
- getSuppressed() - Method in class java.lang.Throwable
-
Returns an array containing all of the exceptions that were suppressed, typically by the
try
-with-resources statement, in order to deliver this exception.
- getTime() - Method in class java.util.Calendar
-
Returns a
Date
object representing this
Calendar
's time value
(millisecond offset from the
Epoch").
- getTime() - Method in class java.util.Date
-
Returns the number of milliseconds since January 1, 1970, 00:00:00 GMT represented by this
Date
object.
- getTimeInMillis() - Method in class java.util.Calendar
-
Returns this Calendar's time value in milliseconds.
- getTimeZone() - Method in class java.util.Calendar
-
Gets the time zone.
- getTimeZone(String) - Static method in class java.util.TimeZone
-
Gets the TimeZone
for the given ID.
- getUncaughtExceptionHandler() - Method in class java.lang.Thread
-
Returns the handler invoked when this thread abruptly terminates due to an
uncaught exception.
- getValue() - Method in class java.util.AbstractMap.SimpleEntry
-
Returns the value corresponding to this entry.
- getValue() - Method in class java.util.AbstractMap.SimpleImmutableEntry
-
Returns the value corresponding to this entry.
- getValue() - Method in interface java.util.Map.Entry
-
Returns the value corresponding to this entry.
- Guard - Interface in java.security
-
This interface is only defined for hierarchy compatibility.