Package | Description |
---|---|
java.io |
Input/Output support
|
java.lang |
Core Java classes
|
java.lang.annotation |
Basic support for annotations
|
java.net |
Network communication through TCP and UDP sockets or URLs.
|
java.text |
Provides classes and interfaces for handling text, dates, numbers, and messages
in a manner independent of natural languages.
|
java.util |
Utilities
|
tijos.framework.eventcenter |
Event center class, which deals with events from hardware peripherals, such as GPIO events
|
tijos.framework.networkcenter.mqtt |
MQTT3.1.1 client
|
tijos.framework.networkcenter.ntp |
Network time protocol client class
|
tijos.framework.platform.peripheral |
Classes to access the peripherals on the development board, like keyboard, button, light, etc
|
tijos.framework.sensor.button |
Button classes
|
tijos.framework.sensor.dht |
DHT11(22) classes
|
tijos.framework.sensor.general |
General Sensor classes
|
tijos.framework.sensor.hcsr |
HCSR04(04+) classes
|
tijos.framework.sensor.mq |
MQn classes
|
tijos.framework.sensor.vs1838b |
VS1838B classes
|
tijos.framework.util.json |
JSON-java suppport
|
Modifier and Type | Method and Description |
---|---|
Writer |
Writer.append(char c) |
StringWriter |
StringWriter.append(char c)
Appends the specified character to this writer.
|
PrintWriter |
PrintWriter.append(char c) |
PrintStream |
PrintStream.append(char c) |
CharArrayWriter |
CharArrayWriter.append(char c)
Appends the Unicode character,
c , to the output stream
underlying this writer. |
Writer |
Writer.append(CharSequence cs) |
StringWriter |
StringWriter.append(CharSequence csq)
Appends the specified character sequence to this writer.
|
PrintWriter |
PrintWriter.append(CharSequence cs) |
PrintStream |
PrintStream.append(CharSequence cs) |
CharArrayWriter |
CharArrayWriter.append(CharSequence cs)
Appends the specified sequence of Unicode characters to the
output stream underlying this writer.
|
Writer |
Writer.append(CharSequence cs,
int start,
int end) |
StringWriter |
StringWriter.append(CharSequence csq,
int start,
int end)
Appends a subsequence of the specified character sequence to this writer.
|
PrintWriter |
PrintWriter.append(CharSequence cs,
int start,
int end) |
PrintStream |
PrintStream.append(CharSequence cs,
int start,
int end) |
CharArrayWriter |
CharArrayWriter.append(CharSequence cs,
int start,
int end)
Appends the specified subsequence of Unicode characters to the
output stream underlying this writer, starting and ending at the
specified positions within the sequence.
|
int |
StringBufferInputStream.available()
Deprecated.
Returns the number of bytes that can be read from the input
stream without blocking.
|
int |
SequenceInputStream.available()
This method returns the number of bytes than can be read from the
currently being read subordinate stream before that stream could
block.
|
int |
PushbackInputStream.available()
This method returns the number of bytes that can be read from this
stream before a read can block.
|
int |
PipedInputStream.available()
This method returns the number of bytes that can be read from this stream
before blocking could occur.
|
int |
LineNumberInputStream.available()
Deprecated.
Returns the number of bytes that can be read from this input
stream without blocking.
|
int |
FilterInputStream.available()
Calls the
in.available() method. |
int |
FileInputStream.available() |
int |
ByteArrayInputStream.available()
Returns the number of remaining bytes that can be read (or skipped over)
from this input stream.
|
int |
BufferedInputStream.available()
This method returns the number of bytes that can be read from this
stream before a read can block.
|
abstract void |
Writer.close()
This method closes the stream.
|
void |
StringWriter.close()
Closing a StringWriter has no effect.
|
void |
StringReader.close()
Closes the stream and releases any system resources associated with
it.
|
void |
SequenceInputStream.close()
Closes this stream.
|
abstract void |
Reader.close()
Closes the stream.
|
void |
PushbackReader.close()
This method closes the stream and frees any associated resources.
|
void |
PushbackInputStream.close()
This method closes the stream and releases any associated resources.
|
void |
PrintWriter.close()
This method closes this stream and all underlying streams.
|
void |
PrintStream.close()
This method closes this stream and all underlying streams.
|
void |
PipedWriter.close()
This method closes this stream so that no more data can be written
to it.
|
void |
PipedReader.close()
This methods closes the stream so that no more data can be read
from it.
|
void |
PipedOutputStream.close()
This method closes this stream so that no more data can be written
to it.
|
void |
PipedInputStream.close()
This methods closes the stream so that no more data can be read
from it.
|
void |
OutputStream.close()
This method closes the stream.
|
void |
InputStream.close()
This method closes the stream.
|
void |
FilterWriter.close()
This method closes the underlying
Writer . |
void |
FilterReader.close()
This method closes the stream by calling the
close() method
of the underlying stream. |
void |
FilterOutputStream.close()
This method closes the underlying
OutputStream . |
void |
FilterInputStream.close()
This method closes the input stream by closing the input stream that
this object is filtering.
|
void |
FileOutputStream.close()
Write the buffer to flash memory and update the file parameters in flash.
|
void |
CharArrayWriter.close()
Closes the stream.
|
void |
CharArrayReader.close()
This method closes the stream.
|
void |
ByteArrayInputStream.close()
Closing a ByteArrayInputStream has no effect.
|
void |
BufferedWriter.close() |
void |
BufferedReader.close() |
void |
BufferedInputStream.close()
This method closes the underlying input stream and frees any
resources associated with it.
|
abstract void |
Writer.flush()
This method forces any data that may have been buffered to be written
to the underlying output device.
|
void |
StringWriter.flush()
Flush the stream.
|
void |
PrintWriter.flush()
This method flushes any buffered chars to the underlying stream and
then flushes that stream as well.
|
void |
PrintStream.flush()
This method flushes any buffered bytes to the underlying stream and
then flushes that stream as well.
|
void |
PipedWriter.flush()
This method does nothing.
|
void |
PipedOutputStream.flush()
This method does nothing.
|
void |
OutputStream.flush()
This method forces any data that may have been buffered to be written
to the underlying output device.
|
void |
FilterWriter.flush()
This method attempt to flush all buffered output to be written to the
underlying output sink.
|
void |
FilterOutputStream.flush()
This method attempt to flush all buffered output to be written to the
underlying output sink.
|
void |
FileOutputStream.flush() |
void |
DataOutputStream.flush()
Flushes this data output stream.
|
void |
CharArrayWriter.flush()
This method flushes all buffered chars to the stream.
|
void |
BufferedWriter.flush()
Flushes the stream.
|
void |
BufferedOutputStream.flush()
This method causes any currently buffered bytes to be immediately
written to the underlying output stream.
|
void |
StringReader.mark(int readAheadLimit)
Marks the present position in the stream.
|
void |
PushbackReader.mark(int read_limit)
This method throws an exception when called since this class does
not support mark/reset.
|
void |
LineNumberReader.mark(int readAheadLimit)
Mark the present position in the stream.
|
void |
LineNumberInputStream.mark(int readlimit)
Deprecated.
Marks the current position in this input stream.
|
void |
FilterReader.mark(int readlimit)
Calls the
in.mark(int) method. |
void |
FilterInputStream.mark(int readlimit)
Calls the
in.mark(int) method. |
void |
CharArrayReader.mark(int readAheadLimit)
This method sets the mark position in this stream to the current
position.
|
void |
ByteArrayInputStream.mark(int readAheadLimit)
Set the current marked position in the stream.
|
void |
BufferedReader.mark(int readAheadLimit)
Marks the present position in the stream.
|
void |
BufferedInputStream.mark(int readlimit)
This method marks a position in the input to which the stream can be
"reset" by calling the
reset() method. |
boolean |
StringReader.markSupported()
Tells whether this stream supports the mark() operation, which it does.
|
boolean |
PushbackReader.markSupported()
This method returns
false to indicate that it does not support
mark/reset functionality. |
boolean |
PushbackInputStream.markSupported()
This method returns
false to indicate that it does
not support mark/reset functionality. |
boolean |
FilterReader.markSupported()
Calls the
in.markSupported() method. |
boolean |
FilterInputStream.markSupported()
Calls the
in.markSupported() method. |
boolean |
CharArrayReader.markSupported()
This method overrides the
markSupported method in
Reader in order to return true -
indicating that this stream class supports mark/reset
functionality. |
boolean |
ByteArrayInputStream.markSupported()
Tests if this
InputStream supports mark/reset. |
boolean |
BufferedReader.markSupported()
Tells whether this stream supports the mark() operation, which it does.
|
boolean |
BufferedInputStream.markSupported()
This method returns
true to indicate that this class
supports mark/reset functionality. |
int |
StringReader.read()
Reads a single character.
|
int |
StringBufferInputStream.read()
Deprecated.
Reads the next byte of data from this input stream.
|
int |
SequenceInputStream.read()
This method reads an unsigned byte from the input stream and returns it
as an int in the range of 0-255.
|
int |
PushbackReader.read()
This method reads an unsigned char from the input stream and returns it
as an int in the range of 0-65535.
|
int |
PushbackInputStream.read()
This method reads an unsigned byte from the input stream and returns it
as an int in the range of 0-255.
|
int |
PipedReader.read()
This method reads chars from the stream into a caller supplied buffer.
|
int |
PipedInputStream.read()
This method reads one byte from the stream.
|
int |
LineNumberReader.read()
Read a single character.
|
int |
LineNumberInputStream.read()
Deprecated.
Reads the next byte of data from this input stream.
|
int |
FilterReader.read()
Calls the
in.read() method |
int |
FilterInputStream.read()
Calls the
in.read() method |
int |
FileInputStream.read() |
int |
CharArrayReader.read()
This method reads one char from the stream.
|
int |
ByteArrayInputStream.read()
Reads the next byte of data from this input stream.
|
int |
BufferedReader.read()
Reads a single character.
|
int |
BufferedInputStream.read()
This method reads an unsigned byte from the input stream and returns it
as an int in the range of 0-255.
|
int |
FilterInputStream.read(byte[] buf)
Calls the
read(byte[], int, int) overloaded method. |
int |
DataInputStream.read(byte[] b)
Reads some number of bytes from the contained input stream and
stores them into the buffer array
b . |
int |
StringBufferInputStream.read(byte[] b,
int off,
int len)
Deprecated.
Reads up to
len bytes of data from this input stream
into an array of bytes. |
int |
SequenceInputStream.read(byte[] b,
int off,
int len)
This method reads bytes from a stream and stores them into a caller
supplied buffer.
|
int |
PushbackInputStream.read(byte[] b,
int off,
int len)
This method read bytes from a stream and stores them into a
caller supplied buffer.
|
int |
PipedInputStream.read(byte[] buf,
int offset,
int len)
This method reads bytes from the stream into a caller supplied buffer.
|
int |
LineNumberInputStream.read(byte[] b,
int off,
int len)
Deprecated.
Reads up to
len bytes of data from this input stream
into an array of bytes. |
int |
FilterInputStream.read(byte[] buf,
int offset,
int len)
Calls the
in.read(byte[], int, int) method. |
int |
FileInputStream.read(byte[] b,
int off,
int len) |
int |
DataInputStream.read(byte[] b,
int off,
int len)
Reads up to
len bytes of data from the contained
input stream into an array of bytes. |
int |
ByteArrayInputStream.read(byte[] b,
int off,
int len)
Reads up to
len bytes of data into an array of bytes
from this input stream. |
int |
BufferedInputStream.read(byte[] b,
int off,
int len)
This method reads bytes from a stream and stores them into a caller
supplied buffer.
|
int |
StringReader.read(char[] cbuf,
int off,
int len)
Reads characters into a portion of an array.
|
int |
PushbackReader.read(char[] buffer,
int offset,
int length)
This method read chars from a stream and stores them into a caller
supplied buffer.
|
int |
PipedReader.read(char[] buf,
int offset,
int len)
This method reads characters from the stream into a caller supplied
buffer.
|
int |
LineNumberReader.read(char[] cbuf,
int off,
int len)
Read characters into a portion of an array.
|
int |
FilterReader.read(char[] buf,
int offset,
int len)
Calls the
in.read(char[], int, int) method. |
int |
CharArrayReader.read(char[] b,
int off,
int len)
This method reads chars from the stream and stores them into a
caller supplied buffer.
|
int |
BufferedReader.read(char[] cbuf,
int off,
int len)
Reads characters into a portion of an array.
|
boolean |
DataInputStream.readBoolean()
See the general contract of the
readBoolean
method of DataInput . |
byte |
DataInputStream.readByte()
See the general contract of the
readByte
method of DataInput . |
char |
DataInputStream.readChar()
See the general contract of the
readChar
method of DataInput . |
double |
DataInputStream.readDouble()
See the general contract of the
readDouble
method of DataInput . |
float |
DataInputStream.readFloat()
See the general contract of the
readFloat
method of DataInput . |
void |
DataInputStream.readFully(byte[] b)
See the general contract of the
readFully
method of DataInput . |
void |
DataInputStream.readFully(byte[] b,
int off,
int len)
See the general contract of the
readFully
method of DataInput . |
int |
DataInputStream.readInt()
See the general contract of the
readInt
method of DataInput . |
String |
LineNumberReader.readLine()
Read a line of text.
|
String |
DataInputStream.readLine()
Deprecated.
This method does not properly convert bytes to characters.
As of JDK 1.1, the preferred way to read lines of text is via the
BufferedReader.readLine() method. Programs that use the
DataInputStream class to read lines can be converted to use
the BufferedReader class by replacing code of the form:
with:DataInputStream d = new DataInputStream(in); BufferedReader d = new BufferedReader(new InputStreamReader(in)); |
long |
DataInputStream.readLong()
See the general contract of the
readLong
method of DataInput . |
short |
DataInputStream.readShort()
See the general contract of the
readShort
method of DataInput . |
int |
DataInputStream.readUnsignedByte()
See the general contract of the
readUnsignedByte
method of DataInput . |
int |
DataInputStream.readUnsignedShort()
See the general contract of the
readUnsignedShort
method of DataInput . |
String |
DataInputStream.readUTF()
See the general contract of the
readUTF
method of DataInput . |
boolean |
StringReader.ready()
Tells whether this stream is ready to be read.
|
boolean |
PushbackReader.ready()
This method determines whether or not this stream is ready to be read.
|
boolean |
PipedReader.ready() |
boolean |
FilterReader.ready()
Calls the
in.read() method. |
boolean |
CharArrayReader.ready()
Return true if more characters are available to be read.
|
boolean |
BufferedReader.ready()
Tells whether this stream is ready to be read.
|
void |
StringReader.reset()
Resets the stream to the most recent mark, or to the beginning of the
string if it has never been marked.
|
void |
StringBufferInputStream.reset()
Deprecated.
Resets the input stream to begin reading from the first character
of this input stream's underlying buffer.
|
void |
PushbackReader.reset()
This method always throws an IOException in this class because
mark/reset functionality is not supported.
|
void |
PushbackInputStream.reset()
This method always throws an IOException in this class because
mark/reset functionality is not supported.
|
void |
LineNumberReader.reset()
Reset the stream to the most recent mark.
|
void |
LineNumberInputStream.reset()
Deprecated.
Repositions this stream to the position at the time the
mark method was last called on this input stream. |
void |
FilterReader.reset()
Calls the
in.reset() method. |
void |
FilterInputStream.reset()
Calls the
in.reset() method. |
void |
CharArrayReader.reset()
This method sets the read position in the stream to the mark
point by setting the
pos variable equal to the
mark variable. |
void |
ByteArrayInputStream.reset()
Resets the buffer to the marked position.
|
void |
BufferedReader.reset()
Resets the stream to the most recent mark.
|
void |
BufferedInputStream.reset()
This method resets a stream to the point where the
mark()
method was called. |
long |
StringReader.skip(long ns)
Skips the specified number of characters in the stream.
|
long |
StringBufferInputStream.skip(long n)
Deprecated.
Skips
n bytes of input from this input stream. |
long |
PushbackReader.skip(long num_chars)
This method skips the specified number of chars in the stream.
|
long |
PushbackInputStream.skip(long n)
This method skips the specified number of bytes in the stream.
|
long |
LineNumberReader.skip(long n)
Skip characters.
|
long |
LineNumberInputStream.skip(long n)
Deprecated.
Skips over and discards
n bytes of data from this
input stream. |
long |
FilterReader.skip(long num_chars)
Calls the
in.skip(long) method |
long |
FilterInputStream.skip(long numBytes)
Calls the
in.skip(long) method |
long |
FileInputStream.skip(long n) |
long |
CharArrayReader.skip(long n)
This method attempts to skip the requested number of chars in the
input stream.
|
long |
ByteArrayInputStream.skip(long n)
Skips
n bytes of input from this input stream. |
long |
BufferedReader.skip(long n)
Skips characters.
|
long |
BufferedInputStream.skip(long n)
This method skips the specified number of bytes in the stream.
|
int |
DataInputStream.skipBytes(int n)
See the general contract of the
skipBytes
method of DataInput . |
String |
StringWriter.toString()
Return the buffer's current value as a string.
|
String |
StreamTokenizer.toString()
Returns the string representation of the current stream token and
the line number it occurs on.
|
String |
File.toString() |
String |
CharArrayWriter.toString()
Returns the chars in the internal array as a
String . |
String |
ByteArrayOutputStream.toString()
Returns the bytes in the internal array as a
String . |
void |
FilterOutputStream.write(byte[] buf)
This method writes all the bytes in the specified array to the underlying
OutputStream . |
void |
PrintStream.write(byte[] buffer,
int offset,
int len)
This method writes
len bytes from the specified array
starting at index offset into the array. |
void |
PipedOutputStream.write(byte[] b,
int off,
int len)
This method writes
len bytes of data from the byte array
buf starting at index offset in the array
to the stream. |
void |
FilterOutputStream.write(byte[] buf,
int offset,
int len)
This method calls the
write(int) method len
times for all bytes from the array buf starting at index
offset . |
void |
DataOutputStream.write(byte[] b,
int off,
int len)
Writes
len bytes from the specified byte array
starting at offset off to the underlying output stream. |
void |
ByteArrayOutputStream.write(byte[] buffer,
int offset,
int len)
This method writes
len bytes from the passed in array
buf starting at index offset into the
internal buffer. |
void |
BufferedOutputStream.write(byte[] buf,
int offset,
int len)
This method writes
len bytes from the byte array
buf starting at position offset in the buffer. |
void |
PrintWriter.write(char[] charArray)
This method write all the chars in the specified array to the output.
|
void |
StringWriter.write(char[] cbuf,
int off,
int len)
Write a portion of an array of characters.
|
void |
PrintWriter.write(char[] charArray,
int offset,
int count)
This method writes
count chars from the specified array
starting at index offset into the array. |
void |
PipedWriter.write(char[] buffer,
int offset,
int len)
This method writes
len chars of data from the char array
buf starting at index offset in the array
to the stream. |
void |
FilterWriter.write(char[] buf,
int offset,
int len)
This method writes
len chars from the array buf
starting at index offset to the underlying
Writer . |
void |
CharArrayWriter.write(char[] buffer,
int offset,
int len)
This method writes
len chars from the passed in array
buf starting at index offset into that buffer |
void |
BufferedWriter.write(char[] cbuf,
int off,
int len)
Writes a portion of an array of characters.
|
void |
StringWriter.write(int c)
Write a single character.
|
void |
PrintWriter.write(int ch)
This method writes a single char to the stream.
|
void |
PrintStream.write(int oneByte)
This method writes a byte of data to the stream.
|
void |
PipedWriter.write(int b)
Write a single char of date to the stream.
|
void |
PipedOutputStream.write(int b)
Write a single byte of date to the stream.
|
void |
FilterWriter.write(int b)
This method writes a single char of output to the underlying
Writer . |
void |
FilterOutputStream.write(int b)
This method writes a single byte of output to the underlying
OutputStream . |
void |
FileOutputStream.write(int b)
write 1 byte to the file; if necessary, file will be moved become the last file in memory
|
void |
DataOutputStream.write(int b)
Writes the specified byte (the low eight bits of the argument
b ) to the underlying output stream. |
void |
CharArrayWriter.write(int oneChar)
This method writes the writes the specified char into the internal
buffer.
|
void |
ByteArrayOutputStream.write(int oneByte)
This method writes the writes the specified byte into the internal
buffer.
|
void |
BufferedWriter.write(int c)
Writes a single character.
|
void |
BufferedOutputStream.write(int b)
This method writes a single byte of data.
|
void |
StringWriter.write(String str)
Write a string.
|
void |
PrintWriter.write(String str)
This method writes the contents of the specified
String
to the underlying stream. |
void |
StringWriter.write(String str,
int off,
int len)
Write a portion of a string.
|
void |
PrintWriter.write(String str,
int offset,
int count)
This method writes
count chars from the specified
String to the output starting at character position
offset into the String |
void |
FilterWriter.write(String str,
int offset,
int len)
This method writes
len chars from the String
starting at position offset . |
void |
CharArrayWriter.write(String str,
int offset,
int len)
This method writes
len chars from the passed in
String buf starting at index
offset into the internal buffer. |
void |
BufferedWriter.write(String s,
int off,
int len)
Writes a portion of a String.
|
void |
DataOutputStream.writeBoolean(boolean v)
Writes a
boolean to the underlying output stream as
a 1-byte value. |
void |
DataOutputStream.writeByte(int v)
Writes out a
byte to the underlying output stream as
a 1-byte value. |
void |
DataOutputStream.writeBytes(String s)
Writes out the string to the underlying output stream as a
sequence of bytes.
|
void |
DataOutputStream.writeChar(int v)
Writes a
char to the underlying output stream as a
2-byte value, high byte first. |
void |
DataOutputStream.writeChars(String s)
Writes a string to the underlying output stream as a sequence of
characters.
|
void |
DataOutputStream.writeDouble(double v)
Converts the double argument to a
long using the
doubleToLongBits method in class Double ,
and then writes that long value to the underlying
output stream as an 8-byte quantity, high byte first. |
void |
DataOutputStream.writeFloat(float v)
Converts the float argument to an
int using the
floatToIntBits method in class Float ,
and then writes that int value to the underlying
output stream as a 4-byte quantity, high byte first. |
void |
DataOutputStream.writeInt(int v)
Writes an
int to the underlying output stream as four
bytes, high byte first. |
void |
DataOutputStream.writeLong(long v)
Writes a
long to the underlying output stream as eight
bytes, high byte first. |
void |
DataOutputStream.writeShort(int v)
Writes a
short to the underlying output stream as two
bytes, high byte first. |
void |
DataOutputStream.writeUTF(String str)
Writes a string to the underlying output stream using
modified UTF-8
encoding in a machine-independent manner.
|
Modifier and Type | Method and Description |
---|---|
StringBuilder |
StringBuilder.append(char aChar) |
StringBuilder |
StringBuilder.append(CharSequence cs) |
StringBuilder |
StringBuilder.append(CharSequence cs,
int start,
int end) |
byte |
Short.byteValue() |
byte |
Long.byteValue() |
byte |
Integer.byteValue() |
byte |
Float.byteValue() |
byte |
Double.byteValue() |
byte |
Byte.byteValue() |
char |
StringBuilder.charAt(int i) |
char |
StringBuffer.charAt(int i) |
char |
String.charAt(int index)
Return the character at the given index
|
int |
Boolean.compareTo(Boolean ob) |
int |
Character.compareTo(Character ob) |
int |
Double.compareTo(Double other) |
int |
Enum.compareTo(E o) |
int |
Float.compareTo(Float other) |
int |
Integer.compareTo(Integer ob) |
int |
Long.compareTo(Long ob) |
int |
String.compareTo(String str) |
double |
Short.doubleValue() |
double |
Long.doubleValue() |
double |
Integer.doubleValue() |
double |
Float.doubleValue() |
double |
Double.doubleValue() |
double |
Byte.doubleValue() |
boolean |
String.equals(Object other)
Compares the String with an Object
|
boolean |
Short.equals(Object o) |
boolean |
Long.equals(Object o) |
boolean |
Integer.equals(Object o) |
boolean |
Float.equals(Object o) |
boolean |
Enum.equals(Object o) |
boolean |
Double.equals(Object o) |
boolean |
Character.equals(Object o) |
boolean |
Byte.equals(Object o) |
boolean |
Boolean.equals(Object o) |
float |
Short.floatValue() |
float |
Long.floatValue() |
float |
Integer.floatValue() |
float |
Float.floatValue()
Returns the float value of this Float object.
|
float |
Double.floatValue() |
float |
Byte.floatValue() |
int |
String.hashCode()
Special version of hash that returns the same value the same String
values
|
int |
Short.hashCode() |
int |
Long.hashCode() |
int |
Integer.hashCode() |
int |
Float.hashCode() |
int |
Enum.hashCode() |
int |
Double.hashCode() |
int |
Character.hashCode() |
int |
Byte.hashCode() |
int |
Boolean.hashCode() |
int |
Short.intValue() |
int |
Long.intValue() |
int |
Integer.intValue()
returns the value of this Integer as int
|
int |
Float.intValue() |
int |
Double.intValue() |
int |
Byte.intValue() |
int |
StringBuilder.length() |
int |
StringBuffer.length() |
int |
String.length()
Return the length of the String in characters
|
long |
Short.longValue() |
long |
Long.longValue() |
long |
Integer.longValue() |
long |
Float.longValue() |
long |
Double.longValue() |
long |
Byte.longValue() |
void |
Thread.run() |
short |
Short.shortValue() |
short |
Long.shortValue() |
short |
Integer.shortValue() |
short |
Float.shortValue() |
short |
Double.shortValue() |
short |
Byte.shortValue() |
CharSequence |
StringBuilder.subSequence(int start,
int end) |
CharSequence |
StringBuffer.subSequence(int start,
int end) |
CharSequence |
String.subSequence(int start,
int end) |
String |
Throwable.toString()
Return a string version of the Throwable.
|
String |
StringBuilder.toString() |
String |
StringBuffer.toString() |
String |
String.toString()
Returns itself.
|
String |
Short.toString() |
String |
Long.toString() |
String |
Integer.toString()
Returns a String object representing this Integer's value.
|
String |
Float.toString() |
String |
Enum.toString() |
String |
Double.toString() |
String |
Class.toString() |
String |
Character.toString() |
String |
Byte.toString() |
String |
Boolean.toString() |
Modifier and Type | Method and Description |
---|---|
boolean |
Annotation.equals(Object obj) |
int |
Annotation.hashCode() |
String |
Annotation.toString() |
Modifier and Type | Method and Description |
---|---|
void |
Socket.close()
Closes the socket.
|
void |
ServerSocket.close()
Closes this socket and stops listening for connections
|
int |
URI.compareTo(URI uri)
Compare the URI with another URI.
|
boolean |
URI.equals(Object obj)
Compares the URI with the given object for equality.
|
boolean |
InetSocketAddress.equals(Object obj)
Test if obj is a
InetSocketAddress and has the same address and
port |
boolean |
InetAddress.equals(Object obj)
Tests this address for equality against another InetAddress.
|
boolean |
Inet4Address.equals(Object obj)
Compare the current Inet4Address instance with obj
|
byte[] |
Inet4Address.getAddress()
Returns the address of the current instance
|
String |
Inet4Address.getHostAddress()
Returns the address as string
|
String |
URISyntaxException.getMessage()
Returns a message describing the parse error, as if by
getReason() + (getIndex() >= 0 ? " at index " + getIndex() : "")
+ ": " + getInput() . |
int |
URI.hashCode()
Computes the hashcode of the URI
|
int |
InetSocketAddress.hashCode()
Returns the hashcode of the
InetSocketAddress |
int |
InetAddress.hashCode()
Returns a hash value for this address.
|
int |
Inet4Address.hashCode()
Computes the hashcode of the instance
|
boolean |
Inet4Address.isAnyLocalAddress()
Checks if this address is a wildcard address
|
boolean |
Inet4Address.isLinkLocalAddress()
Checks if this address is a link local address
|
boolean |
Inet4Address.isLoopbackAddress()
Checks if this address is a loopback address
|
boolean |
Inet4Address.isMCGlobal()
Checks if this multicast address has global scope
|
boolean |
Inet4Address.isMCLinkLocal()
Checks if this multicast address has link scope
|
boolean |
Inet4Address.isMCNodeLocal()
Checks if this multicast address has node scope
|
boolean |
Inet4Address.isMCOrgLocal()
Checks if this multicast address has organization scope
|
boolean |
Inet4Address.isMCSiteLocal()
Checks if this multicast address has site scope
|
boolean |
Inet4Address.isMulticastAddress()
Checks if the address is a multicast address
|
boolean |
Inet4Address.isSiteLocalAddress()
Checks if this address is a site local address
|
String |
URI.toString()
Returns the URI as a String.
|
String |
Socket.toString()
Converts this
Socket to a String . |
String |
ServerSocket.toString()
Returns the value of this socket as a
String . |
String |
InetSocketAddress.toString()
Returns the
InetSocketAddress as string |
String |
InetAddress.toString()
Converts this address to a String.
|
Modifier and Type | Method and Description |
---|---|
Object |
StringCharacterIterator.clone()
Creates a copy of this iterator.
|
Object |
NumberFormat.clone()
Overrides Cloneable
|
Object |
Format.clone()
Creates and returns a copy of this object.
|
Object |
DecimalFormat.clone()
Standard override; no change in semantics.
|
char |
StringCharacterIterator.current()
Implements CharacterIterator.current() for String.
|
boolean |
StringCharacterIterator.equals(Object obj)
Compares the equality of two StringCharacterIterator objects.
|
boolean |
ParsePosition.equals(Object obj)
Overrides equals
|
boolean |
NumberFormat.equals(Object obj)
Overrides equals
|
boolean |
FieldPosition.equals(Object obj)
Overrides equals
|
boolean |
DecimalFormat.equals(Object obj)
Overrides equals
|
boolean |
AttributedCharacterIterator.Attribute.equals(Object obj)
Compares two objects for equality.
|
char |
StringCharacterIterator.first()
Implements CharacterIterator.first() for String.
|
StringBuffer |
DecimalFormat.format(double number,
StringBuffer result,
FieldPosition fieldPosition)
Formats a double to produce a string.
|
StringBuffer |
DecimalFormat.format(long number,
StringBuffer result,
FieldPosition fieldPosition)
Format a long to produce a string.
|
StringBuffer |
NumberFormat.format(Object number,
StringBuffer toAppendTo,
FieldPosition pos)
Formats a number and appends the resulting text to the given string
buffer.
|
StringBuffer |
DecimalFormat.format(Object number,
StringBuffer toAppendTo,
FieldPosition pos)
Formats a number and appends the resulting text to the given string
buffer.
|
AttributedCharacterIterator |
DecimalFormat.formatToCharacterIterator(Object obj)
Formats an Object producing an
AttributedCharacterIterator . |
int |
StringCharacterIterator.getBeginIndex()
Implements CharacterIterator.getBeginIndex() for String.
|
int |
StringCharacterIterator.getEndIndex()
Implements CharacterIterator.getEndIndex() for String.
|
int |
StringCharacterIterator.getIndex()
Implements CharacterIterator.getIndex() for String.
|
int |
DecimalFormat.getMaximumFractionDigits()
Gets the maximum number of digits allowed in the fraction portion of a
number.
|
int |
DecimalFormat.getMaximumIntegerDigits()
Gets the maximum number of digits allowed in the integer portion of a
number.
|
int |
DecimalFormat.getMinimumFractionDigits()
Gets the minimum number of digits allowed in the fraction portion of a
number.
|
int |
DecimalFormat.getMinimumIntegerDigits()
Gets the minimum number of digits allowed in the integer portion of a
number.
|
int |
StringCharacterIterator.hashCode()
Computes a hashcode for this iterator.
|
int |
ParsePosition.hashCode()
Returns a hash code for this ParsePosition.
|
int |
NumberFormat.hashCode()
Overrides hashCode
|
int |
FieldPosition.hashCode()
Returns a hash code for this FieldPosition.
|
int |
DecimalFormat.hashCode()
Overrides hashCode
|
int |
AttributedCharacterIterator.Attribute.hashCode()
Returns a hash code value for the object.
|
char |
StringCharacterIterator.last()
Implements CharacterIterator.last() for String.
|
char |
StringCharacterIterator.next()
Implements CharacterIterator.next() for String.
|
Number |
DecimalFormat.parse(String text,
ParsePosition pos)
Parses text from a string to produce a
Number . |
Object |
NumberFormat.parseObject(String source,
ParsePosition pos)
Parses text from a string to produce a
Number . |
char |
StringCharacterIterator.previous()
Implements CharacterIterator.previous() for String.
|
char |
StringCharacterIterator.setIndex(int p)
Implements CharacterIterator.setIndex() for String.
|
void |
DecimalFormat.setMaximumFractionDigits(int newValue)
Sets the maximum number of digits allowed in the fraction portion of a
number.
|
void |
DecimalFormat.setMaximumIntegerDigits(int newValue)
Sets the maximum number of digits allowed in the integer portion of a
number.
|
void |
DecimalFormat.setMinimumFractionDigits(int newValue)
Sets the minimum number of digits allowed in the fraction portion of a
number.
|
void |
DecimalFormat.setMinimumIntegerDigits(int newValue)
Sets the minimum number of digits allowed in the integer portion of a
number.
|
String |
ParsePosition.toString()
Return a string representation of this ParsePosition.
|
String |
FieldPosition.toString()
Return a string representation of this FieldPosition.
|
String |
AttributedCharacterIterator.Attribute.toString()
Returns a string representation of the object.
|
String |
Annotation.toString()
Returns the String representation of this Annotation.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Set.add(E o)
Adds the specified element to the set if it is not already present
(optional operation).
|
boolean |
List.add(E o)
Add an element to the end of the list (optional operation).
|
boolean |
Deque.add(E e)
Inserts the specified element into the queue represented by this deque
(in other words, at the tail of this deque) if it is possible to do so
immediately without violating capacity restrictions, returning
true upon success and throwing an
IllegalStateException if no space is currently available.
|
boolean |
ArrayList.add(E e)
Appends the supplied element to the end of this list.
|
boolean |
ArrayDeque.add(E e)
Inserts the specified element at the end of this deque.
|
boolean |
AbstractQueue.add(E e)
Inserts the specified element into this queue if it is possible to do so
immediately without violating capacity restrictions, returning
true upon success and throwing an IllegalStateException
if no space is currently available.
|
boolean |
AbstractList.add(E o)
Add an element to the end of the list (optional operation).
|
boolean |
AbstractCollection.add(E o)
Add an object to the collection (optional operation).
|
void |
ArrayList.add(int index,
E e)
Adds the supplied element at the specified index, shifting all
elements currently at that index or higher one to the right.
|
void |
AbstractSequentialList.add(int index,
E o)
Insert an element into the list at a given position (optional operation).
|
void |
AbstractList.add(int index,
E o)
Insert an element into the list at a given position (optional operation).
|
void |
GregorianCalendar.add(int field,
int amount)
Adds the specified amount of time to the given time field.
|
void |
Vector.add(int index,
T element)
Adds an object at the specified index.
|
void |
LinkedList.add(int index,
T o)
Inserts an element in the given position in the list.
|
boolean |
Vector.add(T o)
Adds an object to the Vector.
|
boolean |
TreeSet.add(T obj)
Adds the spplied Object to the Set if it is not already in the Set;
returns true if the element is added, false otherwise.
|
boolean |
LinkedList.add(T o)
Adds an element to the end of the list.
|
boolean |
HashSet.add(T o)
Adds the given Object to the set if it is not already in the Set.
|
boolean |
Set.addAll(Collection<? extends E> c)
Adds all of the elements of the given collection to this set (optional
operation).
|
boolean |
PriorityQueue.addAll(Collection<? extends E> c) |
boolean |
List.addAll(Collection<? extends E> c)
Add the contents of a collection to the end of the list (optional
operation).
|
boolean |
ArrayList.addAll(Collection<? extends E> c)
Add each element in the supplied Collection to this List.
|
boolean |
AbstractQueue.addAll(Collection<? extends E> c)
Adds all of the elements in the specified collection to this
queue.
|
boolean |
AbstractCollection.addAll(Collection<? extends E> c)
Add all the elements of a given collection to this collection (optional
operation).
|
boolean |
Vector.addAll(Collection<? extends T> c)
Appends all elements of the given collection to the end of this Vector.
|
boolean |
TreeSet.addAll(Collection<? extends T> c)
Adds all of the elements in the supplied Collection to this TreeSet.
|
boolean |
LinkedList.addAll(Collection<? extends T> c)
Append the elements of the collection in iteration order to the end of
this list.
|
boolean |
ArrayList.addAll(int index,
Collection<? extends E> c)
Add all elements in the supplied collection, inserting them beginning
at the specified index.
|
boolean |
AbstractSequentialList.addAll(int index,
Collection<? extends E> c)
Insert the contents of a collection into the list at a given position
(optional operation).
|
boolean |
AbstractList.addAll(int index,
Collection<? extends E> c)
Insert the contents of a collection into the list at a given position
(optional operation).
|
boolean |
Vector.addAll(int index,
Collection<? extends T> c)
Inserts all elements of the given collection at the given index of
this Vector.
|
boolean |
LinkedList.addAll(int index,
Collection<? extends T> c)
Insert the elements of the collection in iteration order at the given
index of this list.
|
void |
ArrayDeque.addFirst(E e)
Inserts the specified element at the front of this deque.
|
void |
LinkedList.addFirst(T o)
Insert an element at the first of the list.
|
void |
ArrayDeque.addLast(E e)
Inserts the specified element at the end of this deque.
|
void |
LinkedList.addLast(T o)
Insert an element at the last of the list.
|
T |
TreeSet.ceiling(T e)
Returns the least or lowest element in the set greater than or
equal to the given element, or
null if there is
no such element. |
Map.Entry<K,V> |
TreeMap.ceilingEntry(K key)
Returns the entry associated with the least or lowest key
that is greater than or equal to the specified key, or
null if there is no such key. |
K |
TreeMap.ceilingKey(K key)
Returns the the least or lowest key that is greater than
or equal to the specified key, or
null if
there is no such key. |
void |
Vector.clear()
Clears all elements in the Vector and sets its size to 0.
|
void |
TreeSet.clear()
Removes all elements in this Set.
|
void |
TreeMap.clear()
Clears the Map so it has no keys.
|
void |
Set.clear()
Removes all elements from this set (optional operation).
|
void |
PriorityQueue.clear() |
void |
List.clear()
Clear the list, such that a subsequent call to isEmpty() would return
true (optional operation).
|
void |
LinkedList.clear()
Remove all elements from this list.
|
void |
LinkedHashMap.clear()
Clears the Map so it has no keys.
|
void |
IdentityHashMap.clear()
Remove all mappings from this map.
|
void |
Hashtable.clear()
Clears the hashtable so it has no keys.
|
void |
HashSet.clear()
Empties this Set of all elements; this takes constant time.
|
void |
HashMap.clear()
Clears the Map so it has no keys.
|
void |
ArrayList.clear()
Removes all elements from this List
|
void |
ArrayDeque.clear()
Removes all of the elements from this deque.
|
void |
AbstractQueue.clear()
Removes all of the elements from this queue.
|
void |
AbstractMap.clear()
Remove all entries from this Map (optional operation).
|
void |
AbstractList.clear()
Clear the list, such that a subsequent call to isEmpty() would return
true (optional operation).
|
void |
AbstractCollection.clear()
Remove all elements from the collection (optional operation).
|
Object |
Vector.clone()
Creates a new Vector with the same contents as this one.
|
Object |
TreeSet.clone()
Returns a shallow copy of this Set.
|
Object |
TreeMap.clone()
Returns a shallow clone of this TreeMap.
|
Object |
Locale.clone()
Does the same as
Object.clone() but does not throw
a CloneNotSupportedException . |
Object |
LinkedList.clone()
Create a shallow copy of this LinkedList (the elements are not cloned).
|
Object |
IdentityHashMap.clone()
Creates a shallow copy where keys and values are not cloned.
|
Object |
Hashtable.clone()
Returns a shallow clone of this Hashtable.
|
Object |
HashSet.clone()
Returns a shallow copy of this Set.
|
Object |
HashMap.clone()
Returns a shallow clone of this HashMap.
|
Object |
Calendar.clone()
Return a clone of this object.
|
Object |
BitSet.clone()
Create a clone of this bit set, that is an instance of the same
class and contains the same elements.
|
Object |
ArrayList.clone()
Creates a shallow copy of this ArrayList (elements are not cloned).
|
ArrayDeque<E> |
ArrayDeque.clone()
Returns a copy of this deque.
|
void |
Formatter.close()
Closes the formatter, so as to release used resources.
|
Comparator<? super T> |
TreeSet.comparator()
Returns this Set's comparator.
|
Comparator<? super K> |
TreeMap.comparator()
Return the comparator used to sort this map, or null if it is by
natural order.
|
int |
Calendar.compareTo(Calendar cal)
Compares the time of two calendar instances.
|
int |
Date.compareTo(Date when)
Compares two dates.
|
int |
UUID.compareTo(UUID o)
Compare this UUID to another.
|
boolean |
Vector.contains(Object elem)
Returns true when
elem is contained in this Vector. |
boolean |
TreeSet.contains(Object obj)
Returns true if this Set contains the supplied Object, false otherwise.
|
boolean |
Set.contains(Object o)
Returns true if the set contains the specified element.
|
boolean |
List.contains(Object o)
Test whether this list contains a given object as one of its elements.
|
boolean |
LinkedList.contains(Object o)
Returns true if the list contains the given object.
|
boolean |
HashSet.contains(Object o)
Returns true if the supplied element is in this Set.
|
boolean |
Deque.contains(Object o)
Returns true if this deque contains the specified element.
|
boolean |
ArrayList.contains(Object e)
Returns true iff element is in this ArrayList.
|
boolean |
ArrayDeque.contains(Object o)
Returns true if this deque contains the specified element.
|
boolean |
AbstractCollection.contains(Object o)
Test whether this collection contains a given object.
|
boolean |
Vector.containsAll(Collection<?> c)
Returns true if this Vector contains all the elements in c.
|
boolean |
Set.containsAll(Collection<?> c)
Returns true if this set contains all elements in the specified
collection.
|
boolean |
List.containsAll(Collection<?> c)
Test whether this list contains every element in a given collection.
|
boolean |
AbstractCollection.containsAll(Collection<?> c)
Tests whether this collection contains all the elements in a given
collection.
|
boolean |
TreeMap.containsKey(Object key)
Returns true if the map contains a mapping for the given key.
|
boolean |
IdentityHashMap.containsKey(Object key)
Tests whether the specified key is in this map.
|
boolean |
Hashtable.containsKey(Object key)
Returns true if the supplied object
equals() a key
in this Hashtable. |
boolean |
HashMap.containsKey(Object key)
Returns true if the supplied object
equals() a key
in this HashMap. |
boolean |
AbstractMap.containsKey(Object key)
Returns true if this contains a mapping for the given key.
|
boolean |
TreeMap.containsValue(Object value)
Returns true if the map contains at least one mapping to the given value.
|
boolean |
LinkedHashMap.containsValue(Object value)
Returns
true if this HashMap contains a value
o , such that o.equals(value) . |
boolean |
IdentityHashMap.containsValue(Object value)
Returns true if this HashMap contains the value.
|
boolean |
Hashtable.containsValue(Object value)
Returns true if this Hashtable contains a value
o , such that
o.equals(value) . |
boolean |
HashMap.containsValue(Object value)
Returns true if this HashMap contains a value
o , such that
o.equals(value) . |
boolean |
AbstractMap.containsValue(Object value)
Returns true if this contains at least one mapping with the given value.
|
Iterator<T> |
TreeSet.descendingIterator()
Returns an iterator over the elements of this set in descending
order.
|
Iterator<T> |
LinkedList.descendingIterator()
Obtain an Iterator over this list in reverse sequential order.
|
Iterator<E> |
ArrayDeque.descendingIterator() |
NavigableSet<K> |
TreeMap.descendingKeySet()
Returns a reverse ordered
NavigableSet view of this
map's keys. |
NavigableMap<K,V> |
TreeMap.descendingMap()
Returns a view of the map in reverse order.
|
NavigableSet<T> |
TreeSet.descendingSet()
Returns a view of the set in reverse order.
|
T |
LinkedList.element()
Returns the first element of the list without removing
it.
|
E |
Deque.element()
Retrieves, but does not remove, the head of the queue represented by
this deque (in other words, the first element of this deque).
|
E |
ArrayDeque.element()
Retrieves, but does not remove, the head of the queue represented by
this deque.
|
E |
AbstractQueue.element()
Retrieves, but does not remove, the head of this queue.
|
Enumeration<V> |
Hashtable.elements()
Return an enumeration of the values of this table.
|
Set<Map.Entry<K,V>> |
TreeMap.entrySet()
Returns a "set view" of this TreeMap's entries.
|
Set<Map.Entry<K,V>> |
IdentityHashMap.entrySet()
Returns a "set view" of this Map's entries.
|
Set<Map.Entry<K,V>> |
Hashtable.entrySet()
Returns a "set view" of this Hashtable's entries.
|
Set<Map.Entry<K,V>> |
HashMap.entrySet()
Returns a "set view" of this HashMap's entries.
|
abstract Set<Map.Entry<K,V>> |
AbstractMap.entrySet()
Returns a set view of the mappings in this Map.
|
boolean |
Vector.equals(Object o)
Compares this to the given object.
|
boolean |
UUID.equals(Object obj)
Compare a (UUID) object to this one
|
boolean |
Set.equals(Object o)
Compares the specified object to this 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.
|
boolean |
Locale.equals(Object obj)
Compares two locales.
|
boolean |
List.equals(Object o)
Test whether this list is equal to another object.
|
boolean |
IdentityHashMap.equals(Object o)
Compares two maps for equality.
|
boolean |
Hashtable.equals(Object o)
Returns true if this Hashtable equals the supplied Object
o . |
boolean |
GregorianCalendar.equals(Object o)
Compares the given calendar with this.
|
boolean |
Date.equals(Object obj)
Compares two dates for equality.
|
boolean |
Comparator.equals(Object obj)
Return true if the object is equal to this object.
|
boolean |
Collection.equals(Object o)
Test whether this collection is equal to some object.
|
boolean |
Calendar.equals(Object o)
Compares the given calendar with this.
|
boolean |
BitSet.equals(Object obj)
Returns true if the
obj is a bit set that contains
exactly the same elements as this bit set, otherwise false. |
boolean |
AbstractSet.equals(Object o)
Tests whether the given object is equal to this Set.
|
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.
|
boolean |
AbstractList.equals(Object o)
Test whether this list is equal to another object.
|
T |
TreeSet.first()
Returns the first (by order) element in this Set.
|
Map.Entry<K,V> |
TreeMap.firstEntry()
Returns the entry associated with the least or lowest key
in the map, or
null if the map is empty. |
K |
TreeMap.firstKey()
Returns the first (lowest) key in the map.
|
T |
TreeSet.floor(T e)
Returns the greatest or highest element in the set less than or
equal to the given element, or
null if there is
no such element. |
Map.Entry<K,V> |
TreeMap.floorEntry(K key)
Returns the entry associated with the greatest or highest key
that is less than or equal to the specified key, or
null if there is no such key. |
K |
TreeMap.floorKey(K key)
Returns the the greatest or highest key that is less than
or equal to the specified key, or
null if
there is no such key. |
void |
Formatter.flush()
Flushes the formatter, writing any cached data to the output
stream.
|
T |
Vector.get(int index)
Returns the element at position
index . |
T |
LinkedList.get(int index)
Return the element at index.
|
E |
ArrayList.get(int index)
Retrieves the element at the user-supplied index.
|
E |
AbstractSequentialList.get(int index)
Get the element at a given index in this list.
|
abstract E |
AbstractList.get(int index)
Returns the elements at the specified position in the list.
|
V |
TreeMap.get(Object key)
Return the value in this TreeMap associated with the supplied key,
or
null if the key maps to nothing. |
V |
LinkedHashMap.get(Object key)
Return the value in this Map associated with the supplied key,
or
null if the key maps to nothing. |
V |
IdentityHashMap.get(Object key)
Return the value in this Map associated with the supplied key, or
null if the key maps to nothing. |
V |
Hashtable.get(Object key)
Return the value in this Hashtable associated with the supplied key,
or
null if the key maps to nothing. |
V |
HashMap.get(Object key)
Return the value in this HashMap associated with the supplied key,
or
null if the key maps to nothing. |
V |
AbstractMap.get(Object key)
Returns the value mapped by the given key.
|
int |
GregorianCalendar.getActualMaximum(int field)
Gets the actual maximum value that is allowed for the specified field.
|
int |
GregorianCalendar.getActualMinimum(int field)
Gets the actual minimum value that is allowed for the specified field.
|
T |
LinkedList.getFirst()
Returns the first element in the list.
|
E |
ArrayDeque.getFirst() |
int |
GregorianCalendar.getGreatestMinimum(int field)
Gets the greatest minimum value that is allowed for the specified field.
|
K |
AbstractMap.SimpleImmutableEntry.getKey() |
K |
AbstractMap.SimpleEntry.getKey()
Get the key corresponding to this entry.
|
T |
LinkedList.getLast()
Returns the last element in the list.
|
E |
ArrayDeque.getLast() |
int |
GregorianCalendar.getLeastMaximum(int field)
Gets the smallest maximum value that is allowed for the
specified field.
|
int |
GregorianCalendar.getMaximum(int field)
Gets the biggest value that is allowed for the specified field.
|
int |
GregorianCalendar.getMinimum(int field)
Gets the smallest value that is allowed for the specified field.
|
V |
AbstractMap.SimpleImmutableEntry.getValue() |
V |
AbstractMap.SimpleEntry.getValue()
Get the value corresponding to this entry.
|
int |
Vector.hashCode()
Computes the hashcode of this object.
|
int |
UUID.hashCode()
Returns a hash of this UUID.
|
int |
Set.hashCode()
Returns the hash code for this set.
|
int |
Map.hashCode()
Returns the hash code for this map.
|
int |
Map.Entry.hashCode()
Returns the hash code of the entry.
|
int |
Locale.hashCode()
Return the hash code for this locale.
|
int |
List.hashCode()
Obtains a hash code for this list.
|
int |
IdentityHashMap.hashCode()
Returns the hashcode of this map.
|
int |
Hashtable.hashCode()
Returns the hashCode for this Hashtable.
|
int |
GregorianCalendar.hashCode()
Return a hash code for this object, following the general contract
specified by
Object.hashCode() . |
int |
Date.hashCode()
Computes the hash code of this
Date as the
XOR of the most significant and the least significant
32 bits of the 64 bit milliseconds value. |
int |
Collection.hashCode()
Obtain a hash code for this collection.
|
int |
Calendar.hashCode()
Returns a hash code for this calendar.
|
int |
BitSet.hashCode()
Returns a hash code value for this bit set.
|
int |
AbstractSet.hashCode()
Returns a hash code for this Set.
|
int |
AbstractMap.hashCode()
Returns the hash code for this map.
|
int |
AbstractMap.SimpleEntry.hashCode()
Returns the hash code of the entry.
|
int |
AbstractList.hashCode()
Obtains a hash code for this list.
|
boolean |
StringTokenizer.hasMoreElements()
This does the same as hasMoreTokens.
|
boolean |
ListIterator.hasNext()
Tests whether there are elements remaining in the list in the forward
direction.
|
SortedMap<K,V> |
TreeMap.headMap(K toKey)
Returns a view of this Map including all entries with keys less than
toKey . |
SortedMap<K,V> |
NavigableMap.headMap(K toKey)
Returns a view of the portion of the map strictly less than toKey.
|
NavigableMap<K,V> |
TreeMap.headMap(K toKey,
boolean inclusive)
Returns a view of this Map including all entries with keys less than
(or equal to, if
inclusive is true) toKey . |
SortedSet<E> |
NavigableSet.headSet(E toElement)
Returns a view of the portion of the set strictly less than toElement.
|
SortedSet<T> |
TreeSet.headSet(T to)
Returns a view of this Set including all elements less than
to . |
NavigableSet<T> |
TreeSet.headSet(T to,
boolean inclusive)
Returns a view of this Set including all elements less than
(or equal to, if
inclusive is true) to . |
T |
TreeSet.higher(T e)
Returns the least or lowest element in the set strictly greater
than the given element, or
null if there is
no such element. |
Map.Entry<K,V> |
TreeMap.higherEntry(K key)
Returns the entry associated with the least or lowest key
that is strictly greater than the specified key, or
null if there is no such key. |
K |
TreeMap.higherKey(K key)
Returns the the least or lowest key that is strictly
greater than the specified key, or
null if
there is no such key. |
int |
Vector.indexOf(Object elem)
Returns the first occurrence of
elem in the Vector, or -1 if
elem is not found. |
int |
LinkedList.indexOf(Object o)
Returns the first index where the element is located in the list, or -1.
|
int |
ArrayList.indexOf(Object e)
Returns the lowest index at which element appears in this List, or
-1 if it does not appear.
|
int |
AbstractList.indexOf(Object o)
Obtain the first index at which a given object is to be found in this
list.
|
boolean |
Vector.isEmpty()
Returns true if this Vector is empty, false otherwise
|
boolean |
TreeSet.isEmpty()
Returns true if this Set has size 0, false otherwise.
|
boolean |
Set.isEmpty()
Returns true if the set contains no elements.
|
boolean |
List.isEmpty()
Test whether this list is empty, that is, if size() == 0.
|
boolean |
IdentityHashMap.isEmpty()
Returns true if there are no key-value mappings currently in this Map
|
boolean |
Hashtable.isEmpty()
Returns true if there are no key-value mappings currently in this table.
|
boolean |
HashSet.isEmpty()
Returns true if this set has no elements in it.
|
boolean |
HashMap.isEmpty()
Returns true if there are no key-value mappings currently in this Map.
|
boolean |
ArrayList.isEmpty()
Checks if the list is empty.
|
boolean |
ArrayDeque.isEmpty()
Returns true if this deque contains no elements.
|
boolean |
AbstractMap.isEmpty()
Returns true if the map contains no mappings.
|
boolean |
AbstractCollection.isEmpty()
Test whether this collection is empty.
|
Iterator<T> |
TreeSet.iterator()
Returns in Iterator over the elements in this TreeSet, which traverses
in ascending order.
|
Iterator<E> |
Set.iterator()
Returns an iterator over the set.
|
Iterator<E> |
PriorityQueue.iterator() |
Iterator<E> |
NavigableSet.iterator()
Returns an iterator over the elements in this set, in ascending order.
|
Iterator<E> |
List.iterator()
Obtain an Iterator over this list, whose sequence is the list order.
|
Iterator<T> |
HashSet.iterator()
Returns an Iterator over the elements of this Set, which visits the
elements in no particular order.
|
Iterator<E> |
Deque.iterator()
Returns an iterator over the elements in this deque in proper sequence.
|
Iterator<E> |
Collection.iterator()
Obtain an Iterator over this collection.
|
Iterator<E> |
ArrayDeque.iterator()
Returns an iterator over the elements in this deque.
|
Iterator<E> |
AbstractSequentialList.iterator()
Obtain an Iterator over this list, whose sequence is the list order.
|
Iterator<E> |
AbstractList.iterator()
Obtain an Iterator over this list, whose sequence is the list order.
|
abstract Iterator<E> |
AbstractCollection.iterator()
Return an Iterator over this collection.
|
Enumeration<K> |
Hashtable.keys()
Return an enumeration of the keys of this table.
|
Set<K> |
TreeMap.keySet()
Returns a "set view" of this TreeMap's keys.
|
Set<K> |
IdentityHashMap.keySet()
Returns a "set view" of this Map's keys.
|
Set<K> |
Hashtable.keySet()
Returns a "set view" of this Hashtable's keys.
|
Set<K> |
HashMap.keySet()
Returns a "set view" of this HashMap's keys.
|
Set<K> |
AbstractMap.keySet()
Returns a set view of this map's keys.
|
T |
TreeSet.last()
Returns the last (by order) element in this Set.
|
Map.Entry<K,V> |
TreeMap.lastEntry()
Returns the entry associated with the greatest or highest key
in the map, or
null if the map is empty. |
int |
Vector.lastIndexOf(Object elem)
Returns the last index of
elem within this Vector, or -1
if the object is not within the Vector. |
int |
LinkedList.lastIndexOf(Object o)
Returns the last index where the element is located in the list, or -1.
|
int |
ArrayList.lastIndexOf(Object e)
Returns the highest index at which element appears in this List, or
-1 if it does not appear.
|
int |
AbstractList.lastIndexOf(Object o)
Obtain the last index at which a given object is to be found in this
list.
|
K |
TreeMap.lastKey()
Returns the last (highest) key in the map.
|
ListIterator<E> |
AbstractList.listIterator()
Obtain a ListIterator over this list, starting at the beginning.
|
ListIterator<T> |
LinkedList.listIterator(int index)
Obtain a ListIterator over this list, starting at a given index.
|
abstract ListIterator<E> |
AbstractSequentialList.listIterator(int index)
Returns a ListIterator over the list, starting from position index.
|
ListIterator<E> |
AbstractList.listIterator(int index)
Obtain a ListIterator over this list, starting at a given position.
|
T |
TreeSet.lower(T e)
Returns the greatest or highest element in the set strictly less
than the given element, or
null if there is
no such element. |
Map.Entry<K,V> |
TreeMap.lowerEntry(K key)
Returns the entry associated with the greatest or highest key
that is strictly less than the specified key, or
null if there is no such key. |
K |
TreeMap.lowerKey(K key)
Returns the the greatest or highest key that is strictly
less than the specified key, or
null if
there is no such key. |
NavigableSet<K> |
TreeMap.navigableKeySet()
Returns a
NavigableSet view of this map's keys. |
E |
ListIterator.next()
Obtain the next element in the list in the forward direction.
|
Object |
StringTokenizer.nextElement()
This does the same as nextTokens.
|
boolean |
PriorityQueue.offer(E o) |
boolean |
Deque.offer(E e)
Inserts the specified element into the queue represented by this deque
(in other words, at the tail of this deque) if it is possible to do so
immediately without violating capacity restrictions, returning
true upon success and false if no space is currently
available.
|
boolean |
ArrayDeque.offer(E e)
Inserts the specified element at the end of this deque.
|
boolean |
LinkedList.offer(T value)
Adds the specified element to the end of the list.
|
boolean |
ArrayDeque.offerFirst(E e)
Inserts the specified element at the front of this deque.
|
boolean |
LinkedList.offerFirst(T value)
Inserts the specified element at the front of the list.
|
boolean |
ArrayDeque.offerLast(E e)
Inserts the specified element at the end of this deque.
|
boolean |
LinkedList.offerLast(T value)
Inserts the specified element at the end of the list.
|
E |
PriorityQueue.peek() |
T |
LinkedList.peek()
Returns the first element of the list without removing
it.
|
E |
Deque.peek()
Retrieves, but does not remove, the head of the queue represented by
this deque (in other words, the first element of this deque), or
returns null if this deque is empty.
|
E |
ArrayDeque.peek()
Retrieves, but does not remove, the head of the queue represented by
this deque, or returns null if this deque is empty.
|
T |
LinkedList.peekFirst()
Returns the first element of the list without removing
it.
|
E |
ArrayDeque.peekFirst() |
T |
LinkedList.peekLast()
Returns the last element of the list without removing
it.
|
E |
ArrayDeque.peekLast() |
E |
PriorityQueue.poll() |
T |
LinkedList.poll()
Removes and returns the first element of the list.
|
E |
Deque.poll()
Retrieves and removes the head of the queue represented by this deque
(in other words, the first element of this deque), or returns
null if this deque is empty.
|
E |
ArrayDeque.poll()
Retrieves and removes the head of the queue represented by this deque
(in other words, the first element of this deque), or returns
null if this deque is empty.
|
T |
TreeSet.pollFirst()
Removes and returns the least or lowest element in the set,
or
null if the map is empty. |
T |
LinkedList.pollFirst()
Removes and returns the first element of the list.
|
E |
ArrayDeque.pollFirst() |
Map.Entry<K,V> |
TreeMap.pollFirstEntry()
Removes and returns the entry associated with the least
or lowest key in the map, or
null if the map
is empty. |
T |
TreeSet.pollLast()
Removes and returns the greatest or highest element in the set,
or
null if the map is empty. |
T |
LinkedList.pollLast()
Removes and returns the last element of the list.
|
E |
ArrayDeque.pollLast() |
Map.Entry<K,V> |
TreeMap.pollLastEntry()
Removes and returns the entry associated with the greatest
or highest key in the map, or
null if the map
is empty. |
T |
LinkedList.pop()
Pops an element from the stack by removing and returning
the first element in the list.
|
E |
ArrayDeque.pop()
Pops an element from the stack represented by this deque.
|
void |
ArrayDeque.push(E e)
Pushes an element onto the stack represented by this deque.
|
void |
LinkedList.push(T value)
Pushes an element on to the stack by adding it to the
front of the list.
|
V |
TreeMap.put(K key,
V value)
Puts the supplied value into the Map, mapped by the supplied key.
|
V |
IdentityHashMap.put(K key,
V value)
Puts the supplied value into the Map, mapped by the supplied key.
|
V |
Hashtable.put(K key,
V value)
Puts the supplied value into the Map, mapped by the supplied key.
|
V |
HashMap.put(K key,
V value)
Puts the supplied value into the Map, mapped by the supplied key.
|
V |
AbstractMap.put(K key,
V value)
Associates the given key to the given value (optional operation).
|
void |
TreeMap.putAll(Map<? extends K,? extends V> m)
Copies all elements of the given map into this TreeMap.
|
void |
IdentityHashMap.putAll(Map<? extends K,? extends V> m)
Copies all of the mappings from the specified map to this.
|
void |
Hashtable.putAll(Map<? extends K,? extends V> m)
Copies all elements of the given map into this hashtable.
|
void |
HashMap.putAll(Map<? extends K,? extends V> m)
Copies all elements of the given map into this hashtable.
|
void |
AbstractMap.putAll(Map<? extends K,? extends V> m)
Copies all entries of the given map to this one (optional operation).
|
void |
ListIterator.remove()
Remove from the list the element last returned by a call to next or
previous (optional operation).
|
T |
LinkedList.remove()
Removes and returns the first element of the list.
|
E |
Deque.remove()
Retrieves and removes the head of the queue represented by this deque
(in other words, the first element of this deque).
|
E |
ArrayDeque.remove()
Retrieves and removes the head of the queue represented by this deque.
|
E |
AbstractQueue.remove()
Retrieves and removes the head of this queue.
|
T |
Vector.remove(int index)
Removes the element at the specified index, and returns it.
|
T |
LinkedList.remove(int index)
Removes the element at the given position from the list.
|
E |
ArrayList.remove(int index)
Removes the element at the user-supplied index.
|
E |
AbstractSequentialList.remove(int index)
Remove the element at a given position in this list (optional operation).
|
E |
AbstractList.remove(int index)
Remove the element at a given position in this list (optional operation).
|
boolean |
Vector.remove(Object o)
Removes the given Object from the Vector.
|
boolean |
TreeSet.remove(Object obj)
If the supplied Object is in this Set, it is removed, and true is
returned; otherwise, false is returned.
|
V |
TreeMap.remove(Object key)
Removes from the TreeMap and returns the value which is mapped by the
supplied key.
|
boolean |
Set.remove(Object o)
Removes the specified element from this set (optional operation).
|
boolean |
PriorityQueue.remove(Object o) |
boolean |
List.remove(Object o)
Remove the first occurence of an object from this list (optional
operation).
|
boolean |
LinkedList.remove(Object o)
Removes the entry at the lowest index in the list that matches the given
object, comparing by
o == null ? e = null : o.equals(e) . |
V |
IdentityHashMap.remove(Object key)
Removes from the HashMap and returns the value which is mapped by
the supplied key.
|
V |
Hashtable.remove(Object key)
Removes from the table and returns the value which is mapped by the
supplied key.
|
boolean |
HashSet.remove(Object o)
Removes the supplied Object from this Set if it is in the Set.
|
V |
HashMap.remove(Object key)
Removes from the HashMap and returns the value which is mapped by the
supplied key.
|
boolean |
Deque.remove(Object o)
Removes the first occurrence of the specified element from this deque.
|
boolean |
ArrayDeque.remove(Object o)
Removes a single instance of the specified element from this deque.
|
V |
AbstractMap.remove(Object key)
Removes the mapping for this key if present (optional operation).
|
boolean |
AbstractCollection.remove(Object o)
Remove a single instance of an object from this collection (optional
operation).
|
boolean |
Vector.removeAll(Collection<?> c)
Remove from this vector all elements contained in the given collection.
|
boolean |
Set.removeAll(Collection<?> c)
Removes from this set all elements contained in the specified collection
(optional operation).
|
boolean |
List.removeAll(Collection<?> c)
Remove all elements of a given collection from this list (optional
operation).
|
boolean |
AbstractSet.removeAll(Collection<?> c)
Removes from this set all elements in the given collection (optional
operation).
|
boolean |
AbstractCollection.removeAll(Collection<?> c)
Remove from this collection all its elements that are contained in a given
collection (optional operation).
|
T |
LinkedList.removeFirst()
Remove and return the first element in the list.
|
E |
ArrayDeque.removeFirst() |
boolean |
LinkedList.removeFirstOccurrence(Object o)
Removes the first occurrence of the specified element
from the list, when traversing the list from head to
tail.
|
boolean |
ArrayDeque.removeFirstOccurrence(Object o)
Removes the first occurrence of the specified element in this
deque (when traversing the deque from head to tail).
|
T |
LinkedList.removeLast()
Remove and return the last element in the list.
|
E |
ArrayDeque.removeLast() |
boolean |
LinkedList.removeLastOccurrence(Object o)
Removes the last occurrence of the specified element
from the list, when traversing the list from head to
tail.
|
boolean |
ArrayDeque.removeLastOccurrence(Object o)
Removes the last occurrence of the specified element in this
deque (when traversing the deque from head to tail).
|
boolean |
Vector.retainAll(Collection<?> c)
Retain in this vector only the elements contained in the given collection.
|
boolean |
Set.retainAll(Collection<?> c)
Retains only the elements in this set that are also in the specified
collection (optional operation).
|
boolean |
List.retainAll(Collection<?> c)
Remove all elements of this list that are not contained in a given
collection (optional operation).
|
boolean |
AbstractCollection.retainAll(Collection<?> c)
Remove from this collection all its elements that are not contained in a
given collection (optional operation).
|
void |
GregorianCalendar.roll(int field,
boolean up)
Rolls the specified time field up or down.
|
void |
GregorianCalendar.roll(int field,
int amount)
Rolls the specified time field by the given amount.
|
abstract void |
TimerTask.run()
Method that is called when this task is scheduled for execution.
|
E |
ArrayList.set(int index,
E e)
Sets the element at the specified index.
|
E |
AbstractSequentialList.set(int index,
E o)
Replace an element of this list with another object (optional operation).
|
E |
AbstractList.set(int index,
E o)
Replace an element of this list with another object (optional operation).
|
T |
Vector.set(int index,
T element)
Puts
element into the Vector at position index
and returns the Object that previously occupied that position. |
T |
LinkedList.set(int index,
T o)
Replace the element at the given location in the list.
|
V |
AbstractMap.SimpleImmutableEntry.setValue(V value) |
V |
AbstractMap.SimpleEntry.setValue(V newVal)
Replaces the value with the specified object.
|
int |
Vector.size()
Returns the number of elements stored in this Vector.
|
int |
TreeSet.size()
Returns the number of elements in this Set
|
int |
TreeMap.size()
Returns the number of key-value mappings currently in this Map.
|
int |
Set.size()
Returns the number of elements in the set.
|
int |
PriorityQueue.size() |
int |
List.size()
Get the number of elements in this list.
|
int |
LinkedList.size()
Returns the size of the list.
|
int |
IdentityHashMap.size()
Returns the number of kay-value mappings currently in this Map
|
int |
Hashtable.size()
Returns the number of key-value mappings currently in this hashtable.
|
int |
HashSet.size()
Returns the number of elements in this Set (its cardinality).
|
int |
HashMap.size()
Returns the number of kay-value mappings currently in this Map.
|
int |
Deque.size()
Returns the number of elements in this deque.
|
int |
ArrayList.size()
Returns the number of elements in this list.
|
int |
ArrayDeque.size()
Returns the number of elements in this deque.
|
int |
AbstractMap.size()
Returns the number of key-value mappings in the map.
|
abstract int |
AbstractCollection.size()
Return the number of elements in this collection.
|
List<T> |
Vector.subList(int fromIndex,
int toIndex)
Obtain a List view of a subsection of this list, from fromIndex
(inclusive) to toIndex (exclusive).
|
List<E> |
AbstractList.subList(int fromIndex,
int toIndex)
Obtain a List view of a subsection of this list, from fromIndex
(inclusive) to toIndex (exclusive).
|
NavigableMap<K,V> |
TreeMap.subMap(K fromKey,
boolean fromInclusive,
K toKey,
boolean toInclusive)
Returns a view of this Map including all entries with keys greater (or
equal to, if
fromInclusive is true) fromKey and
less than (or equal to, if toInclusive is true)
toKey . |
SortedMap<K,V> |
TreeMap.subMap(K fromKey,
K toKey)
Returns a view of this Map including all entries with keys greater or
equal to
fromKey and less than toKey (a
half-open interval). |
SortedMap<K,V> |
NavigableMap.subMap(K fromKey,
K toKey)
Returns a view of the portion of the map greater than or equal to
fromKey, and strictly less than toKey.
|
SortedSet<E> |
NavigableSet.subSet(E fromElement,
E toElement)
Returns a view of the portion of the set greater than or equal to
fromElement, and strictly less than toElement.
|
NavigableSet<T> |
TreeSet.subSet(T from,
boolean fromInclusive,
T to,
boolean toInclusive)
Returns a view of this Set including all elements greater than (or equal to,
if
fromInclusive is true from and less than
(or equal to, if toInclusive is true) to . |
SortedSet<T> |
TreeSet.subSet(T from,
T to)
Returns a view of this Set including all elements greater or equal to
from and less than to (a half-open interval). |
SortedMap<K,V> |
TreeMap.tailMap(K fromKey)
Returns a view of this Map including all entries with keys greater or
equal to
fromKey . |
SortedMap<K,V> |
NavigableMap.tailMap(K fromKey)
Returns a view of the portion of the map greater than or equal to
fromKey.
|
NavigableMap<K,V> |
TreeMap.tailMap(K fromKey,
boolean inclusive)
Returns a view of this Map including all entries with keys greater or
equal to
fromKey . |
SortedSet<E> |
NavigableSet.tailSet(E fromElement)
Returns a view of the portion of the set greater than or equal to
fromElement.
|
SortedSet<T> |
TreeSet.tailSet(T from)
Returns a view of this Set including all elements greater or equal to
from . |
NavigableSet<T> |
TreeSet.tailSet(T from,
boolean inclusive)
Returns a view of this Set including all elements greater (or equal to,
if
inclusive is true) from . |
Object[] |
Vector.toArray()
Returns an Object array with the contents of this Vector, in the order
they are stored within this Vector.
|
Object[] |
Set.toArray()
Returns an array containing the elements of this set.
|
Object[] |
List.toArray()
Copy the current contents of this list into an array.
|
Object[] |
LinkedList.toArray()
Returns an array which contains the elements of the list in order.
|
Object[] |
ArrayList.toArray()
Returns an Object array containing all of the elements in this ArrayList.
|
Object[] |
ArrayDeque.toArray()
Returns an array containing all of the elements in this deque
in proper sequence (from first to last element).
|
Object[] |
AbstractCollection.toArray()
Return an array containing the elements of this collection.
|
<S> S[] |
Vector.toArray(S[] a)
Returns an array containing the contents of this Vector.
|
<S> S[] |
LinkedList.toArray(S[] a)
Returns an Array whose component type is the runtime component type of
the passed-in Array.
|
<T> T[] |
Set.toArray(T[] a)
Returns an array containing the elements of this set, of the same runtime
type of the argument.
|
<T> T[] |
List.toArray(T[] a)
Copy the current contents of this list into an array.
|
<T> T[] |
ArrayList.toArray(T[] a)
Returns an Array whose component type is the runtime component type of
the passed-in Array.
|
<T> T[] |
ArrayDeque.toArray(T[] a)
Returns an array containing all of the elements in this deque in
proper sequence (from first to last element); the runtime type of the
returned array is that of the specified array.
|
<T> T[] |
AbstractCollection.toArray(T[] a)
Copy the collection into a given array if it will fit, or into a
dynamically created array of the same run-time type as the given array if
not.
|
String |
Vector.toString()
Returns a string representation of this Vector in the form
"[element0, element1, ...
|
String |
UUID.toString()
Returns a String representation of the UUID.
|
String |
Locale.toString()
Gets the string representation of the current locale.
|
String |
Hashtable.toString()
Converts this Hashtable to a String, surrounded by braces, and with
key/value pairs listed with an equals sign between, separated by a
comma and space.
|
String |
Formatter.toString()
Returns the result of applying
Object.toString()
to the underlying output stream. |
String |
Date.toString()
Returns a string representation of this date using
the following date format:
|
String |
Calendar.toString()
Returns a string representation of this object.
|
String |
BitSet.toString()
Returns the string representation of this bit set.
|
String |
AbstractMap.toString()
Returns a String representation of this map.
|
String |
AbstractMap.SimpleEntry.toString()
This provides a string representation of the entry.
|
String |
AbstractCollection.toString()
Creates a String representation of the Collection.
|
Collection<V> |
TreeMap.values()
Returns a "collection view" (or "bag view") of this TreeMap's values.
|
Collection<V> |
IdentityHashMap.values()
Returns a "collection view" (or "bag view") of this Map's values.
|
Collection<V> |
Hashtable.values()
Returns a "collection view" (or "bag view") of this Hashtable's values.
|
Collection<V> |
HashMap.values()
Returns a "collection view" (or "bag view") of this HashMap's values.
|
Collection<V> |
AbstractMap.values()
Returns a collection or bag view of this map's values.
|
Modifier and Type | Method and Description |
---|---|
long |
TiKeyboardEvent.getTime() |
long |
TiIOAgentEvent.getTime() |
long |
TiGPIOEvent.getTime() |
TiEventType |
TiKeyboardEvent.getType() |
TiEventType |
TiIOAgentEvent.getType() |
TiEventType |
TiGPIOEvent.getType() |
void |
TiEventService.handleEvent(int slot,
int data0,
int data1,
int data2,
int data3,
long time) |
Modifier and Type | Method and Description |
---|---|
void |
MqttClient.connectAcked(int connResult) |
void |
MqttClient.messageArrived(int msgNum) |
void |
MqttClient.messageCompleted(int completedNum,
int waitNum) |
void |
MqttClient.networkStateChange(int oldState,
int newState) |
String |
MqttConnectOptions.toString() |
Modifier and Type | Method and Description |
---|---|
int |
TimeStamp.compareTo(TimeStamp anotherTimeStamp)
Compares two Timestamps numerically.
|
boolean |
TimeStamp.equals(Object obj)
Compares this object against the specified object.
|
boolean |
TimeInfo.equals(Object obj)
Compares this object against the specified object.
|
boolean |
NtpV3Impl.equals(Object obj)
Compares this object against the specified object.
|
DatagramPacket |
NtpV3Impl.getDatagramPacket()
Returns the datagram packet with the NTP details already filled in.
|
int |
NtpV3Impl.getLeapIndicator()
Returns leap indicator as defined in RFC-1305 which is a two-bit code:
0=no warning
1=last minute has 61 seconds
2=last minute has 59 seconds
3=alarm condition (clock not synchronized)
|
int |
NtpV3Impl.getMode()
Returns mode as defined in RFC-1305 which is a 3-bit integer
whose value is indicated by the MODE_xxx parameters.
|
String |
NtpV3Impl.getModeName()
Return human-readable name of message mode type as described in
RFC 1305.
|
TimeStamp |
NtpV3Impl.getOriginateTimeStamp()
Returns the originate time as defined in RFC-1305.
|
int |
NtpV3Impl.getPoll()
Returns poll interval as defined in RFC-1305, which is an eight-bit
signed integer indicating the maximum interval between successive
messages, in seconds to the nearest power of two (e.g.
|
int |
NtpV3Impl.getPrecision()
Returns precision as defined in RFC-1305 encoded as an 8-bit signed
integer (seconds to nearest power of two).
|
TimeStamp |
NtpV3Impl.getReceiveTimeStamp()
Returns receive timestamp as defined in RFC-1305.
|
int |
NtpV3Impl.getReferenceId()
Returns the reference id as defined in RFC-1305, which is
a 32-bit integer whose value is dependent on several criteria.
|
String |
NtpV3Impl.getReferenceIdString()
Returns the reference id string.
|
TimeStamp |
NtpV3Impl.getReferenceTimeStamp()
Returns the reference time as defined in RFC-1305.
|
int |
NtpV3Impl.getRootDelay()
Return root delay as defined in RFC-1305, which is the total roundtrip delay
to the primary reference source, in seconds.
|
double |
NtpV3Impl.getRootDelayInMillisDouble()
Return root delay as defined in RFC-1305 in milliseconds, which is
the total roundtrip delay to the primary reference source, in
seconds.
|
int |
NtpV3Impl.getRootDispersion()
Returns root dispersion as defined in RFC-1305.
|
long |
NtpV3Impl.getRootDispersionInMillis()
Returns root dispersion (as defined in RFC-1305) in milliseconds.
|
double |
NtpV3Impl.getRootDispersionInMillisDouble()
Returns root dispersion (as defined in RFC-1305) in milliseconds
as double precision value.
|
int |
NtpV3Impl.getStratum()
Returns Stratum as defined in RFC-1305, which indicates the stratum level
of the local clock, with values defined as follows: 0=unspecified,
1=primary ref clock, and all others a secondary reference (via NTP).
|
TimeStamp |
NtpV3Impl.getTransmitTimeStamp()
Returns the transmit timestamp as defined in RFC-1305.
|
String |
NtpV3Impl.getType()
Return type of time packet.
|
int |
NtpV3Impl.getVersion()
Returns NTP version number as defined in RFC-1305.
|
int |
TimeStamp.hashCode()
Computes a hashcode for this Timestamp.
|
int |
TimeInfo.hashCode()
Computes a hashcode for this object.
|
int |
NtpV3Impl.hashCode()
Computes a hashcode for this object.
|
void |
NtpV3Impl.setDatagramPacket(DatagramPacket srcDp)
Set the contents of this object from source datagram packet.
|
void |
NtpV3Impl.setLeapIndicator(int li)
Set leap indicator as defined in RFC-1305.
|
void |
NtpV3Impl.setMode(int mode)
Set mode as defined in RFC-1305.
|
void |
NtpV3Impl.setOriginateTimeStamp(TimeStamp ts)
Set originate timestamp given NTP TimeStamp object.
|
void |
NtpV3Impl.setPoll(int poll)
Set poll interval as defined in RFC-1305.
|
void |
NtpV3Impl.setPrecision(int precision)
Set precision as defined in RFC-1305.
|
void |
NtpV3Impl.setReceiveTimeStamp(TimeStamp ts)
Set receive timestamp given NTP TimeStamp object.
|
void |
NtpV3Impl.setReferenceId(int refId)
Set reference clock identifier field with 32-bit unsigned integer value.
|
void |
NtpV3Impl.setReferenceTime(TimeStamp ts)
Set Reference time with NTP timestamp.
|
void |
NtpV3Impl.setRootDelay(int delay)
Set root delay as defined in RFC-1305.
|
void |
NtpV3Impl.setRootDispersion(int dispersion)
Set root dispersion as defined in RFC-1305.
|
void |
NtpV3Impl.setStratum(int stratum)
Set stratum level as defined in RFC-1305.
|
void |
NtpV3Impl.setTransmitTime(TimeStamp ts)
Set transmit time with NTP timestamp.
|
void |
NtpV3Impl.setVersion(int version)
Set NTP version as defined in RFC-1305.
|
String |
TimeStamp.toString()
Converts this
TimeStamp object to a String . |
String |
NtpV3Impl.toString()
Returns details of NTP packet as a string.
|
Modifier and Type | Method and Description |
---|---|
TiEventType |
TiKeyboard.getType() |
void |
TiKeyboard.onEvent(ITiEvent evt) |
Modifier and Type | Method and Description |
---|---|
TiEventType |
TiButton.getType() |
void |
TiButton.onEvent(ITiEvent evt) |
Modifier and Type | Method and Description |
---|---|
TiEventType |
TiDHT.getType() |
void |
TiDHT.onEvent(ITiEvent evt) |
Modifier and Type | Method and Description |
---|---|
TiEventType |
TiGeneralSensor.getType() |
void |
TiGeneralSensor.onEvent(ITiEvent evt) |
Modifier and Type | Method and Description |
---|---|
TiEventType |
TiHCSR04.getType() |
void |
TiHCSR04.onEvent(ITiEvent evt) |
Modifier and Type | Method and Description |
---|---|
TiEventType |
TiMQ.getType() |
void |
TiMQ.onEvent(ITiEvent evt) |
Modifier and Type | Method and Description |
---|---|
TiEventType |
TiVS1838BNEC.getType() |
void |
TiVS1838BNEC.onEvent(ITiEvent evt) |
Modifier and Type | Method and Description |
---|---|
Iterator<Object> |
JSONArray.iterator() |
String |
JSONTokener.toString()
Make a printable string of this JSONTokener.
|
String |
JSONStringer.toString()
Return the JSON text.
|
String |
JSONObject.toString()
Make a JSON text of this JSONObject.
|