Modifier and Type | Method and Description |
---|---|
void |
MqttClient.setConnectCallback(MqttConnectCallback callback)
Sets a connect callback, which is invoked when the connect is successful.
|
void |
MqttClient.setMessageCallback(MqttMessageCallback callback)
Sets a message callback, which is invoked when a message is received for a
subscribed topic.
|
void |
MqttClient.setPublishCallback(MqttPublishCallback callback)
Sets a publish callback, which is invoked when
PUBACK(QOS1)/PUBREC,PUBCOMP(QOS2).
|
void |
MqttClient.setSubscribeCallback(MqttSubscribeCallback callback)
Sets a subscribe callback, which is invoked when a subscription is granted or
denied.
|
Constructor and Description |
---|
MqttConfig(String host,
short port,
String clientId,
String username,
String password,
int connectionTimeout,
int keepAliveInterval,
boolean cleanSession,
SslConfig sslConfig,
String sslCA,
String sslCert)
Instantiates an MQTT configuration.
|
MqttConfig(String host,
short port,
String clientId,
String username,
String password,
int connectionTimeout,
int keepAliveInterval,
boolean cleanSession,
SslConfig sslConfig,
String sslCA,
String sslCert)
Instantiates an MQTT configuration.
|
MqttConfig(String host,
short port,
String clientId,
String username,
String password,
int connectionTimeout,
int keepAliveInterval,
boolean cleanSession,
SslConfig sslConfig,
String sslCA,
String sslCert)
Instantiates an MQTT configuration.
|
MqttConfig(String host,
short port,
String clientId,
String username,
String password,
int connectionTimeout,
int keepAliveInterval,
boolean cleanSession,
SslConfig sslConfig,
String sslCA,
String sslCert)
Instantiates an MQTT configuration.
|
MqttConfig(String host,
short port,
String clientId,
String username,
String password,
int connectionTimeout,
int keepAliveInterval,
boolean cleanSession,
SslConfig sslConfig,
String sslCA,
String sslCert)
Instantiates an MQTT configuration.
|
Modifier and Type | Method and Description |
---|---|
static Thread.UncaughtExceptionHandler |
Timer.getDefaultUncaughtExceptionHandler()
Gets the default registered handler for uncaught exceptions.
|
Thread.UncaughtExceptionHandler |
Timer.getUncaughtExceptionHandler()
Gets the specific handler for uncaught exceptions on this
Timer
instance. |
EnqueuedWeakReference<T> |
ReferenceQueue.poll()
Queries the queue and returns and removes the first element of the queue.
|
Modifier and Type | Method and Description |
---|---|
static void |
Timer.setDefaultUncaughtExceptionHandler(Thread.UncaughtExceptionHandler h)
Sets the default handler for uncaught exceptions.
|
Constructor and Description |
---|
EnqueuedWeakReference(T ref,
ReferenceQueue<? super T> queue)
Creates a new
EnqueuedWeakReference . |
Modifier and Type | Method and Description |
---|---|
T |
Proxy.getReference()
Returns the reference managed by this
Proxy . |
Modifier and Type | Method and Description |
---|---|
String |
PropertyLoader.getProperty(String key)
Gets the value mapped with the specified key.
|
String |
PropertyRegistry.removeProperty(String key)
Removes a property.
|
String |
PropertyRegistry.setProperty(String key,
String value)
Sets a property that maps a key to a value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
PropertyPermission.equals(Object obj) |
boolean |
PropertyPermission.implies(Permission permission) |
Modifier and Type | Method and Description |
---|---|
String |
SystemPropertyLoader.getProperty(String key) |
String |
FilePropertyLoader.getProperty(String key) |
String |
CompositePropertyLoader.getProperty(String key) |
Modifier and Type | Method and Description |
---|---|
String |
SimplePropertyRegistry.getProperty(String key) |
String |
SimplePropertyRegistry.removeProperty(String key) |
String |
SimplePropertyRegistry.setProperty(String key,
String value) |
Modifier and Type | Method and Description |
---|---|
<T> T |
ServiceLoader.getService(Class<T> service)
Gets the instance of the given service.
|
static <T> T |
ServiceFactory.getService(Class<T> service)
Gets the instance of the given service.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ServicePermission.equals(Object obj) |
boolean |
ServicePermission.implies(Permission permission) |
Modifier and Type | Method and Description |
---|---|
protected <T> T |
SimpleServiceLoader.createAlternativeImplementation(Class<T> service)
Creates an implementation for the given service and save it in the cache.
|
protected <T> T |
DependencyInjectionServiceLoader.createAlternativeImplementation(Class<T> service) |
protected String |
SystemPropertiesServiceLoader.getImplementationName(String serviceName) |
protected String |
MetaInfServiceLoader.getImplementationName(String key) |
protected String |
FilePropertiesServiceLoader.getImplementationName(String serviceName) |
protected abstract String |
DependencyInjectionServiceLoader.getImplementationName(String serviceName)
Gets the implementation class name for the given service name.
|
<T> T |
SimpleServiceLoader.getService(Class<T> service) |
<T> T |
CompositeServiceLoader.getService(Class<T> service) |
Modifier and Type | Method and Description |
---|---|
InputStream |
Storage.load(String id)
Loads the data stored with a specific ID or
null if there is none. |
Modifier and Type | Method and Description |
---|---|
Application |
ApplicationPermission.getApplication()
Gets the application.
|
Application |
OwnershipHelper.getCurrentApplication()
Returns the application that owns the current thread context.
|
Application |
OwnershipHelper.getOwner(Object object)
Returns the application that owns the given object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ApplicationPermission.equals(Object obj) |
boolean |
ApplicationPermission.implies(Permission permission) |
Constructor and Description |
---|
ApplicationPermission(Application application,
String action)
Creates a permission for the given application.
|
Modifier and Type | Method and Description |
---|---|
String |
OutputStreamWriter.getEncoding()
Returns the name of the character encoding being used by this stream.
|
String |
InputStreamReader.getEncoding()
Returns the name of the character encoding being used by this stream.
|
String |
File.getParent()
Returns the pathname string of this abstract pathname's parent, or
null if this pathname does not
name a parent directory. |
File |
File.getParentFile()
Returns the abstract pathname of this abstract pathname's parent, or
null if this pathname does not
name a parent directory. |
String[] |
File.list()
Returns an array of strings naming the files and directories in the directory denoted by this abstract pathname.
|
String[] |
File.list(FilenameFilter filter)
Returns an array of strings naming the files and directories in the directory denoted by this abstract pathname
that satisfy the specified filter.
|
File[] |
File.listFiles()
Returns an array of abstract pathnames denoting the files in the directory denoted by this abstract pathname.
|
File[] |
File.listFiles(FileFilter filter)
Returns an array of abstract pathnames denoting the files and directories in the directory denoted by this
abstract pathname that satisfy the specified filter.
|
File[] |
File.listFiles(FilenameFilter filter)
Returns an array of abstract pathnames denoting the files and directories in the directory denoted by this
abstract pathname that satisfy the specified filter.
|
static File[] |
File.listRoots()
List the available filesystem roots.
|
Modifier and Type | Method and Description |
---|---|
Writer |
Writer.append(CharSequence csq)
Appends the specified character sequence to this writer.
|
PrintStream |
PrintStream.append(CharSequence csq)
Appends the specified character sequence to this output stream.
|
Writer |
Writer.append(CharSequence csq,
int start,
int end)
Appends a subsequence of the specified character sequence to this writer.
|
PrintStream |
PrintStream.append(CharSequence csq,
int start,
int end)
Appends a subsequence of the specified character sequence to this output stream.
|
static File |
File.createTempFile(String prefix,
String suffix)
Creates an empty file in the default temporary-file directory, using the given prefix and suffix to generate its
name.
|
static File |
File.createTempFile(String prefix,
String suffix,
File directory)
Creates a new empty file in the specified directory, using the given prefix and suffix strings to generate its
name.
|
static File |
File.createTempFile(String prefix,
String suffix,
File directory)
Creates a new empty file in the specified directory, using the given prefix and suffix strings to generate its
name.
|
boolean |
FilePermission.equals(Object obj)
Checks two FilePermission objects for equality.
|
boolean |
File.equals(Object obj)
Tests this abstract pathname for equality with the given object.
|
boolean |
FilePermission.implies(Permission p)
Checks if this FilePermission object "implies" the specified permission.
|
String[] |
File.list(FilenameFilter filter)
Returns an array of strings naming the files and directories in the directory denoted by this abstract pathname
that satisfy the specified filter.
|
File[] |
File.listFiles(FileFilter filter)
Returns an array of abstract pathnames denoting the files and directories in the directory denoted by this
abstract pathname that satisfy the specified filter.
|
File[] |
File.listFiles(FilenameFilter filter)
Returns an array of abstract pathnames denoting the files and directories in the directory denoted by this
abstract pathname that satisfy the specified filter.
|
void |
PrintStream.print(Object obj)
Prints an object.
|
void |
PrintStream.print(String s)
Prints a string.
|
void |
PrintStream.println(Object x)
Prints an Object and then terminate the line.
|
void |
PrintStream.println(String x)
Prints a String and then terminate the line.
|
Constructor and Description |
---|
File(File parent,
String child)
Creates a new
File instance from a parent abstract pathname and a child pathname string. |
File(String parent,
String child)
Creates a new
File instance from a parent pathname string and a child pathname string. |
FileNotFoundException(String s)
Constructs a
FileNotFoundException with the specified detail message. |
FilterInputStream(InputStream in)
Creates a
FilterInputStream by assigning the argument in to the field
this.in so as to remember it for later use. |
FilterOutputStream(OutputStream out)
Creates an output stream filter built on top of the specified underlying output stream.
|
IOException(String message,
Throwable cause)
Constructs an
IOException with the specified detail message and cause. |
IOException(Throwable cause)
Constructs an
IOException with the specified cause and a detail message of
(cause==null ? null : cause.toString()) (which typically contains the class and detail
message of cause ). |
Modifier and Type | Method and Description |
---|---|
T |
Class.cast(Object obj)
Casts an object to the class or interface represented by this
Class object. |
Throwable |
Throwable.getCause()
Returns the cause of this throwable or
null if the cause is nonexistent or unknown. |
Throwable |
ExceptionInInitializerError.getCause()
Returns the cause of this error (the exception that occurred during a static initialization that
caused this error to be created).
|
Throwable |
ClassNotFoundException.getCause()
Returns the cause of this exception (the exception that was raised if an error occurred while
attempting to load the class; otherwise null).
|
static Thread.UncaughtExceptionHandler |
Thread.getDefaultUncaughtExceptionHandler()
Returns the default handler invoked when a thread abruptly terminates due to
an uncaught exception.
|
Throwable |
ExceptionInInitializerError.getException()
Returns the exception that occurred during a static initialization that caused this error to be
created.
|
Throwable |
ClassNotFoundException.getException()
Returns the exception that was raised if an error occurred while attempting to load the class.
|
String |
StackTraceElement.getFileName()
Returns the name of the source file containing the execution point represented by this stack
trace element.
|
static Integer |
Integer.getInteger(String nm)
Determines the integer value of the system property with the specified name.
|
String |
Throwable.getLocalizedMessage()
Creates a localized description of this throwable.
|
static Long |
Long.getLong(String nm)
Determines the
long value of the system property with the specified name. |
String |
Throwable.getMessage()
Returns the detail message string of this throwable.
|
Package |
Class.getPackage()
Gets the package for this class.
|
static String |
System.getProperty(String key)
Gets the system property indicated by the specified key.
|
InputStream |
Class.getResourceAsStream(String name)
Finds a resource with a given name.
|
static SecurityManager |
System.getSecurityManager()
Gets the system security interface.
|
Class<? super T> |
Class.getSuperclass()
Returns the
Class representing the superclass of the entity (class, interface, primitive
type or void) represented by this Class . |
Thread.UncaughtExceptionHandler |
Thread.getUncaughtExceptionHandler()
Returns the handler invoked when this thread abruptly terminates due to an
uncaught exception.
|
Modifier and Type | Method and Description |
---|---|
void |
Throwable.addSuppressed(Throwable exception)
Appends the specified exception to the exceptions that were suppressed in order to deliver this
exception.
|
StringBuilder |
StringBuilder.append(CharSequence csq)
Appends the specified character sequence to this Appendable.
|
StringBuffer |
StringBuffer.append(CharSequence s)
Appends the specified
CharSequence to this sequence. |
Appendable |
Appendable.append(CharSequence csq)
Appends the specified character sequence to this Appendable.
|
StringBuilder |
StringBuilder.append(CharSequence s,
int start,
int end)
Appends a subsequence of the specified
CharSequence to this sequence. |
StringBuffer |
StringBuffer.append(CharSequence s,
int start,
int end)
Appends a subsequence of the specified
CharSequence to this sequence. |
Appendable |
Appendable.append(CharSequence csq,
int start,
int end)
Appends a subsequence of the specified character sequence to this Appendable.
|
StringBuilder |
StringBuilder.append(Object obj)
Appends the string representation of the Object argument.
|
StringBuffer |
StringBuffer.append(Object obj)
Appends the string representation of the Object argument.
|
StringBuilder |
StringBuilder.append(String str)
Appends the specified string to this character sequence.
|
StringBuffer |
StringBuffer.append(String str)
Appends the specified string to this character sequence.
|
StringBuilder |
StringBuilder.append(StringBuffer sb)
Appends the specified StringBuffer to this sequence.
|
StringBuffer |
StringBuffer.append(StringBuffer sb)
Appends the specified StringBuffer to this sequence.
|
T |
Class.cast(Object obj)
Casts an object to the class or interface represented by this
Class object. |
boolean |
String.equals(Object anObject)
Compares this string to the specified object.
|
boolean |
StackTraceElement.equals(Object obj)
Returns true if the specified object is another
StackTraceElement instance representing
the same execution point as this instance. |
boolean |
Short.equals(Object obj)
Compares this object to the specified object.
|
boolean |
Object.equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
boolean |
Long.equals(Object obj)
Compares this object to the specified object.
|
boolean |
Integer.equals(Object obj)
Compares this object to the specified object.
|
boolean |
Float.equals(Object obj)
Compares this object against the specified object.
|
boolean |
Enum.equals(Object other)
Returns true if the specified object is equal to this enum constant.
|
boolean |
Double.equals(Object obj)
Compares this object against the specified object.
|
boolean |
Character.equals(Object obj)
Compares this object against the specified object.
|
boolean |
Byte.equals(Object obj)
Compares this object to the specified object.
|
boolean |
Boolean.equals(Object obj)
Returns
true if and only if the argument is not null and is a Boolean
object that represents the same boolean value as this object. |
static int |
System.identityHashCode(Object x)
Returns the same hash code for the given object as would be returned by the default method
hashCode(), whether or not the given object's class overrides hashCode().
|
Throwable |
Throwable.initCause(Throwable cause)
Initializes the cause of this throwable to the specified value.
|
StringBuilder |
StringBuilder.insert(int dstOffset,
CharSequence s)
Inserts the specified
CharSequence into this sequence. |
StringBuffer |
StringBuffer.insert(int dstOffset,
CharSequence s)
Inserts the specified
CharSequence into this sequence. |
StringBuilder |
StringBuilder.insert(int dstOffset,
CharSequence s,
int start,
int end)
Inserts a subsequence of the specified
CharSequence into this sequence. |
StringBuffer |
StringBuffer.insert(int dstOffset,
CharSequence s,
int start,
int end)
Inserts a subsequence of the specified
CharSequence into this sequence. |
StringBuilder |
StringBuilder.insert(int offset,
String str)
Inserts the string into this character sequence.
|
StringBuffer |
StringBuffer.insert(int offset,
String str)
Inserts the string into this character sequence.
|
boolean |
Class.isInstance(Object obj)
Determines if the specified
Object is assignment-compatible with the object represented
by this Class . |
static boolean |
Boolean.parseBoolean(String s)
Parses the string argument as a boolean.
|
static int |
Integer.parseInt(String s)
Parses the string argument as a signed decimal integer.
|
static int |
Integer.parseInt(String s,
int radix)
Parses the string argument as a signed integer in the radix specified by the second argument.
|
static long |
Long.parseLong(String s)
Parses the string argument as a signed decimal
long . |
static long |
Long.parseLong(String s,
int radix)
Parses the string argument as a signed
long in the radix specified by the second
argument. |
static void |
Thread.setDefaultUncaughtExceptionHandler(Thread.UncaughtExceptionHandler eh)
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.
|
static void |
System.setSecurityManager(SecurityManager s)
Sets the System security.
|
void |
Thread.setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler eh)
Set the handler invoked when this thread abruptly terminates due to an uncaught exception.
|
static String |
String.valueOf(Object obj)
Returns the string representation of the
Object argument. |
static Boolean |
Boolean.valueOf(String s)
Returns a
Boolean with a value represented by the specified string. |
Constructor and Description |
---|
AssertionError(String message,
Throwable cause)
Constructs a new
AssertionError with the specified detail message and cause. |
Boolean(String s)
Allocates a
Boolean object representing the value true if the string argument is
not null and is equal, ignoring case, to the string "true" . |
Error(String message,
Throwable cause)
Constructs a new error with the specified detail message and cause.
|
Error(Throwable cause)
Constructs a new error with the specified cause and a detail message of
(cause==null ? null : cause.toString()) (which typically contains the class and detail
message of cause ). |
Exception(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
Exception(Throwable cause)
Constructs a new exception with the specified cause and a detail message of
(cause==null ? null : cause.toString()) (which typically contains the class and detail
message of cause).
|
IllegalArgumentException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
IllegalArgumentException(Throwable cause)
Constructs a new exception with the specified cause and a detail message of
(cause==null ? null : cause.toString()) (which typically contains the class and detail
message of cause).
|
IllegalStateException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
IllegalStateException(Throwable cause)
Constructs a new exception with the specified cause and a detail message of
(cause==null ? null : cause.toString()) (which typically contains the class and detail
message of cause).
|
LinkageError(String s,
Throwable cause)
Constructs a
LinkageError with the specified detail message and cause. |
ReflectiveOperationException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
ReflectiveOperationException(Throwable cause)
Constructs a new exception with the specified cause and a detail message of
(cause==null ? null : cause.toString()) (which typically contains the class and detail
message of cause ). |
RuntimeException(String message,
Throwable cause)
Constructs a new runtime exception with the specified detail message and cause.
|
RuntimeException(Throwable cause)
Constructs a new runtime exception with the specified cause and a detail message of
(cause==null ? null : cause.toString()) (which typically contains the class and detail
message of cause).
|
RuntimePermission(String name,
String actions) |
SecurityException(String message,
Throwable cause)
Creates a
SecurityException with the specified detail message and cause. |
SecurityException(Throwable cause)
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). |
Thread(Runnable target)
Allocates a new Thread object with a specific target object whose run method is called.
|
Thread(Runnable target,
String name)
Allocates a new
Thread object. |
Throwable(String message,
Throwable cause)
Constructs a new throwable with the specified detail message and cause.
|
Throwable(Throwable cause)
Constructs a new throwable with the specified cause and a detail message of
(cause==null ? null : cause.toString()) (which typically contains the class and detail
message of cause ). |
UnsupportedOperationException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
UnsupportedOperationException(Throwable cause)
Constructs a new exception with the specified cause and a detail message of
(cause==null ? null : cause.toString()) (which typically contains the class and detail
message of cause).
|
Modifier and Type | Method and Description |
---|---|
boolean |
Annotation.equals(Object obj)
Returns true if the specified object represents an annotation that is logically equivalent to
this one.
|
Modifier and Type | Method and Description |
---|---|
T |
Reference.get()
Returns this reference object's referent.
|
Reference<? extends T> |
ReferenceQueue.poll()
Polls this queue to see if a reference object is available.
|
Reference<? extends T> |
ReferenceQueue.remove(long timeout)
Removes the next reference object in this queue, blocking until either one becomes available or
the given timeout period expires.
|
Constructor and Description |
---|
WeakReference(T referent,
ReferenceQueue<? super T> q)
Creates a new weak reference that refers to the given object and is registered with the given
queue.
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
Permission.equals(Object obj)
Checks two Permission objects for equality.
|
boolean |
BasicPermission.equals(Object obj)
Checks two BasicPermission objects for equality.
|
Constructor and Description |
---|
BasicPermission(String name,
String actions)
Creates a new BasicPermission object with the specified name.
|
Modifier and Type | Method and Description |
---|---|
V |
WeakHashMap.get(Object key)
Returns the value to which the specified key is mapped, or
null if this map contains no
mapping for the key. |
V |
Map.get(Object key)
Returns the value to which the specified key is mapped, or
null if this map contains no
mapping for the key. |
V |
Hashtable.get(Object key)
Returns the value to which the specified key is mapped, or
null if this map contains no
mapping for the key. |
V |
HashMap.get(Object key)
Returns the value to which the specified key is mapped, or
null if this map contains no
mapping for the key. |
abstract V |
Dictionary.get(Object key)
Returns the value to which the key is mapped in this dictionary.
|
V |
AbstractMap.get(Object key)
Returns the value to which the specified key is mapped, or
null if this map contains no
mapping for the key. |
V |
WeakHashMap.put(K key,
V value)
Associates the specified value with the specified key in this map.
|
V |
Map.put(K key,
V value)
Associates the specified value with the specified key in this map (optional operation).
|
V |
Hashtable.put(K key,
V value)
Maps the specified
key to the specified value in this hashtable. |
V |
HashMap.put(K key,
V value)
Associates the specified value with the specified key in this map.
|
abstract V |
Dictionary.put(K key,
V value)
Maps the specified
key to the specified value in this dictionary. |
V |
AbstractMap.put(K key,
V value)
Associates the specified value with the specified key in this map (optional operation).
|
V |
Map.remove(Object key)
Removes the mapping for a key from this map if it is present (optional operation).
|
V |
Hashtable.remove(Object key)
Removes the key (and its corresponding value) from this hashtable.
|
V |
HashMap.remove(Object key)
Removes the mapping for the specified key from this map if present.
|
abstract V |
Dictionary.remove(Object key)
Removes the
key (and its corresponding value ) from this dictionary. |
V |
AbstractMap.remove(Object key)
Removes the mapping for a key from this map if it is present (optional operation).
|
V |
Map.Entry.setValue(V value)
Replaces the value corresponding to this entry with the specified value (optional operation).
|
Modifier and Type | Method and Description |
---|---|
boolean |
WeakHashMap.containsKey(Object key)
Returns true if this map contains a mapping for the specified key.
|
boolean |
WeakHashMap.containsValue(Object value)
Returns true if this map maps one or more keys to the specified value.
|
void |
Observable.deleteObserver(Observer o)
Deletes an observer from the set of observers of this object.
|
boolean |
Vector.equals(Object o)
Compares the specified Object with this Vector for equality.
|
boolean |
Set.equals(Object o)
Compares the specified object with this set for equality.
|
boolean |
PropertyPermission.equals(Object obj)
Checks two PropertyPermission objects for equality.
|
boolean |
Map.equals(Object o)
Compares the specified object with this map for equality.
|
boolean |
Map.Entry.equals(Object o)
Compares the specified object with this entry for equality.
|
boolean |
List.equals(Object o)
Compares the specified object with this list for equality.
|
boolean |
Hashtable.equals(Object o)
Compares the specified Object with this Map for equality, as per the definition in the Map
interface.
|
boolean |
Date.equals(Object obj)
Compares two dates for equality.
|
boolean |
Comparator.equals(Object obj)
Indicates whether some other object is "equal to" this comparator.
|
boolean |
Collection.equals(Object o)
Compares the specified object with this collection for equality.
|
boolean |
Calendar.equals(Object obj)
Compares this
Calendar to the specified Object . |
boolean |
AbstractSet.equals(Object o)
Compares the specified object with this set for equality.
|
boolean |
AbstractMap.equals(Object o)
Compares the specified object with this map for equality.
|
boolean |
AbstractMap.SimpleEntry.equals(Object o)
Compares the specified object with this entry for equality.
|
boolean |
AbstractMap.SimpleImmutableEntry.equals(Object o) |
boolean |
AbstractList.equals(Object o)
Compares the specified object with this list for equality.
|
V |
WeakHashMap.get(Object key)
Returns the value to which the specified key is mapped, or
null if this map contains no
mapping for the key. |
boolean |
TimeZone.hasSameRules(TimeZone other)
Returns true if this zone has the same rule and offset as another zone.
|
void |
Observable.notifyObservers(Object arg)
If this object has changed, as indicated by the
hasChanged method, then notify all
of its observers and then call the clearChanged method to indicate that this object
has no longer changed. |
V |
WeakHashMap.put(K key,
V value)
Associates the specified value with the specified key in this map.
|
V |
WeakHashMap.put(K key,
V value)
Associates the specified value with the specified key in this map.
|
V |
WeakHashMap.remove(Object key)
Removes the mapping for a key from this weak hash map if it is present.
|
void |
Observer.update(Observable o,
Object arg)
This method is called whenever the observed object is changed.
|
Constructor and Description |
---|
ConcurrentModificationException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
ConcurrentModificationException(Throwable cause)
Constructs a new exception with the specified cause and a detail message of
(cause==null ? null : cause.toString()) (which typically contains the class and detail
message of cause . |
Modifier and Type | Method and Description |
---|---|
String |
JSONObject.toString() |
Modifier and Type | Method and Description |
---|---|
JSONObject |
JSONObject.put(String key,
Object value)
Put a key/value pair in the JSONObject.
|