- random() - Static method in class java.lang.Math
-
Random number generator.
- Random - Class in java.util
-
This class generates pseudorandom numbers.
- Random() - Constructor for class java.util.Random
-
Creates a new pseudorandom number generator.
- Random(long) - Constructor for class java.util.Random
-
Creates a new pseudorandom number generator, starting with the
specified seed, using setSeed(seed);
.
- RandomAccess - Interface in java.util
-
Marker interface used to inform List
implementations that
they support fast (usually constant time) random access.
- randomUUID() - Static method in class java.util.UUID
-
Generate a Leach-Salz (Variant 2) randomly generated (version 4)
UUID.
- read() - Method in class java.io.BufferedInputStream
-
This method reads an unsigned byte from the input stream and returns it
as an int in the range of 0-255.
- read(byte[], int, int) - Method in class java.io.BufferedInputStream
-
This method reads bytes from a stream and stores them into a caller
supplied buffer.
- read() - Method in class java.io.BufferedReader
-
Reads a single character.
- read(char[], int, int) - Method in class java.io.BufferedReader
-
Reads characters into a portion of an array.
- read() - Method in class java.io.ByteArrayInputStream
-
Reads the next byte of data from this input stream.
- read(byte[], int, int) - Method in class java.io.ByteArrayInputStream
-
Reads up to len
bytes of data into an array of bytes
from this input stream.
- read() - Method in class java.io.CharArrayReader
-
This method reads one char from the stream.
- read(char[], int, int) - Method in class java.io.CharArrayReader
-
This method reads chars from the stream and stores them into a
caller supplied buffer.
- read(byte[]) - Method in class java.io.DataInputStream
-
Reads some number of bytes from the contained input stream and
stores them into the buffer array b
.
- read(byte[], int, int) - Method in class java.io.DataInputStream
-
Reads up to len
bytes of data from the contained
input stream into an array of bytes.
- read() - Method in class java.io.FileInputStream
-
- read(byte[], int, int) - Method in class java.io.FileInputStream
-
- read() - Method in class java.io.FilterInputStream
-
Calls the in.read()
method
- read(byte[]) - Method in class java.io.FilterInputStream
-
Calls the read(byte[], int, int)
overloaded method.
- read(byte[], int, int) - Method in class java.io.FilterInputStream
-
Calls the in.read(byte[], int, int)
method.
- read() - Method in class java.io.FilterReader
-
Calls the in.read()
method
- read(char[], int, int) - Method in class java.io.FilterReader
-
Calls the in.read(char[], int, int)
method.
- read() - Method in class java.io.InputStream
-
This method reads an unsigned byte from the input stream and returns it
as an int in the range of 0-255.
- read(byte[]) - Method in class java.io.InputStream
-
This method reads bytes from a stream and stores them into a caller
supplied buffer.
- read(byte[], int, int) - Method in class java.io.InputStream
-
This method read bytes from a stream and stores them into a
caller supplied buffer.
- read() - Method in class java.io.LineNumberReader
-
Read a single character.
- read(char[], int, int) - Method in class java.io.LineNumberReader
-
Read characters into a portion of an array.
- read() - Method in class java.io.PipedInputStream
-
This method reads one byte from the stream.
- read(byte[], int, int) - Method in class java.io.PipedInputStream
-
This method reads bytes from the stream into a caller supplied buffer.
- read() - Method in class java.io.PipedReader
-
This method reads chars from the stream into a caller supplied buffer.
- read(char[], int, int) - Method in class java.io.PipedReader
-
This method reads characters from the stream into a caller supplied
buffer.
- read() - Method in class java.io.PushbackInputStream
-
This method reads an unsigned byte from the input stream and returns it
as an int in the range of 0-255.
- read(byte[], int, int) - Method in class java.io.PushbackInputStream
-
This method read bytes from a stream and stores them into a
caller supplied buffer.
- read() - Method in class java.io.PushbackReader
-
This method reads an unsigned char from the input stream and returns it
as an int in the range of 0-65535.
- read(char[], int, int) - Method in class java.io.PushbackReader
-
This method read chars from a stream and stores them into a caller
supplied buffer.
- read(char[], int, int) - Method in class java.io.Reader
-
Read chars from a stream and stores them into a caller
supplied buffer.
- read(char[]) - Method in class java.io.Reader
-
Reads chars from a stream and stores them into a caller
supplied buffer.
- read() - Method in class java.io.Reader
-
Reads an char from the input stream and returns it
as an int in the range of 0-65535.
- read() - Method in class java.io.SequenceInputStream
-
This method reads an unsigned byte from the input stream and returns it
as an int in the range of 0-255.
- read(byte[], int, int) - Method in class java.io.SequenceInputStream
-
This method reads bytes from a stream and stores them into a caller
supplied buffer.
- read() - Method in class java.io.StringReader
-
Reads a single character.
- read(char[], int, int) - Method in class java.io.StringReader
-
Reads characters into a portion of an array.
- read() - Method in class java.net.Socket
-
Reads the next byte of data and returns it as an int.
- read(byte[], int, int) - Method in class java.net.Socket
-
Reads up to len bytes of data into the caller supplied buffer starting
at offset bytes from the start of the buffer
- read(int, byte[], int, int, boolean) - Method in class tijos.framework.devicecenter.TiI2CMaster
-
Read the bytes data from salve with address
- read(int, byte[], int, int) - Method in class tijos.framework.devicecenter.TiI2CMaster
-
Read the bytes data from salve with address
- read(int, int, byte[], int, int) - Method in class tijos.framework.devicecenter.TiI2CMaster
-
Read the bytes data from salve with address and sub address
- read(byte[], int, int) - Method in class tijos.framework.devicecenter.TiSPIMaster
-
Read the data from salve
- read(byte[], int, int) - Method in class tijos.framework.devicecenter.TiUART
-
Read date from receive data buffer
- readBits(int, int) - Method in class tijos.framework.devicecenter.TiOWMaster
-
Read bits from slave on io
- readBoolean() - Method in interface java.io.DataInput
-
This method reads a Java boolean value from an input stream.
- readBoolean() - Method in class java.io.DataInputStream
-
See the general contract of the readBoolean
method of DataInput
.
- readByte() - Method in interface java.io.DataInput
-
This method reads a Java byte value from an input stream.
- readByte() - Method in class java.io.DataInputStream
-
See the general contract of the readByte
method of DataInput
.
- readChar() - Method in interface java.io.DataInput
-
This method reads a Java char
value from an input stream.
- readChar() - Method in class java.io.DataInputStream
-
See the general contract of the readChar
method of DataInput
.
- readDouble() - Method in interface java.io.DataInput
-
This method reads a Java double value from an input stream.
- readDouble() - Method in class java.io.DataInputStream
-
See the general contract of the readDouble
method of DataInput
.
- Reader - Class in java.io
-
This abstract class forms the base of the hierarchy of classes that read
input as a stream of characters.
- readFloat() - Method in interface java.io.DataInput
-
This method reads a Java float value from an input stream.
- readFloat() - Method in class java.io.DataInputStream
-
See the general contract of the readFloat
method of DataInput
.
- readFully(byte[]) - Method in interface java.io.DataInput
-
This method reads raw bytes into the passed array until the array is
full.
- readFully(byte[], int, int) - Method in interface java.io.DataInput
-
This method reads raw bytes into the passed array buf
starting
offset
bytes into the buffer.
- readFully(byte[]) - Method in class java.io.DataInputStream
-
See the general contract of the readFully
method of DataInput
.
- readFully(byte[], int, int) - Method in class java.io.DataInputStream
-
See the general contract of the readFully
method of DataInput
.
- readInt() - Method in interface java.io.DataInput
-
This method reads a Java int
value from an input stream
It operates by reading four bytes from the stream and converting them to
a single Java int
.
- readInt() - Method in class java.io.DataInputStream
-
See the general contract of the readInt
method of DataInput
.
- readLine() - Method in class java.io.BufferedReader
-
Reads a line of text.
- readLine() - Method in interface java.io.DataInput
-
This method reads the next line of text data from an input stream.
- readLine() - Method in class java.io.LineNumberReader
-
Read a line of text.
- readLong() - Method in interface java.io.DataInput
-
This method reads a Java long
value from an input stream
It operates by reading eight bytes from the stream and converting them to
a single Java long
.
- readLong() - Method in class java.io.DataInputStream
-
See the general contract of the readLong
method of DataInput
.
- readPin(int) - Method in class tijos.framework.devicecenter.TiGPIO
-
Read the pin level value
- readPort() - Method in class tijos.framework.devicecenter.TiGPIO
-
Read the port value
- readShort() - Method in interface java.io.DataInput
-
This method reads a signed 16-bit value into a Java in from the stream.
- readShort() - Method in class java.io.DataInputStream
-
See the general contract of the readShort
method of DataInput
.
- readUnsignedByte() - Method in interface java.io.DataInput
-
This method reads 8 unsigned bits into a Java int
value from
the stream.
- readUnsignedByte() - Method in class java.io.DataInputStream
-
See the general contract of the readUnsignedByte
method of DataInput
.
- readUnsignedShort() - Method in interface java.io.DataInput
-
This method reads 16 unsigned bits into a Java int value from the stream.
- readUnsignedShort() - Method in class java.io.DataInputStream
-
See the general contract of the readUnsignedShort
method of DataInput
.
- readUTF() - Method in interface java.io.DataInput
-
This method reads a String
from an input stream that is
encoded in a modified UTF-8 format.
- readUTF() - Method in class java.io.DataInputStream
-
See the general contract of the readUTF
method of DataInput
.
- readUTF(DataInput) - Static method in class java.io.DataInputStream
-
Reads from the
stream
in
a representation
of a Unicode character string encoded in
modified UTF-8 format;
this string of characters is then returned as a
String
.
- ready() - Method in class java.io.BufferedReader
-
Tells whether this stream is ready to be read.
- ready() - Method in class java.io.CharArrayReader
-
Return true if more characters are available to be read.
- ready() - Method in class java.io.FilterReader
-
Calls the in.read()
method.
- ready() - Method in class java.io.PipedReader
-
- ready() - Method in class java.io.PushbackReader
-
This method determines whether or not this stream is ready to be read.
- ready() - Method in class java.io.Reader
-
Determines whether or not this stream is ready to be
read.
- ready() - Method in class java.io.StringReader
-
Tells whether this stream is ready to be read.
- receive(DatagramPacket) - Method in class java.net.DatagramSocket
-
Reads a datagram packet from the socket.
- reconnect() - Method in class tijos.framework.networkcenter.mqtt.MqttClient
-
User triggered attempt to reconnect
- recordSystemThreads() - Method in class tijos.framework.platform.TiDebugger
-
Take a snapshot of the current set of threads.
- regionMatches(int, String, int, int) - Method in class java.lang.String
-
Tests if two string regions are equal.
- regionMatches(boolean, int, String, int, int) - Method in class java.lang.String
-
Tests if two string regions are equal.
- relativize(URI) - Method in class java.net.URI
-
Relativizes the given URI against this URI.
- remove(Object) - Method in class java.util.AbstractCollection
-
Remove a single instance of an object from this collection (optional
operation).
- remove(int) - Method in class java.util.AbstractList
-
Remove the element at a given position in this list (optional operation).
- remove(Object) - Method in class java.util.AbstractMap
-
Removes the mapping for this key if present (optional operation).
- remove() - Method in class java.util.AbstractQueue
-
Retrieves and removes the head of this queue.
- remove(int) - Method in class java.util.AbstractSequentialList
-
Remove the element at a given position in this list (optional operation).
- remove() - Method in class java.util.ArrayDeque
-
Retrieves and removes the head of the queue represented by this deque.
- remove(Object) - Method in class java.util.ArrayDeque
-
Removes a single instance of the specified element from this deque.
- remove(int) - Method in class java.util.ArrayList
-
Removes the element at the user-supplied index.
- remove(Object) - Method in interface java.util.Collection
-
Remove a single occurrence of an object from this collection.
- remove() - Method in interface java.util.Deque
-
Retrieves and removes the head of the queue represented by this deque
(in other words, the first element of this deque).
- remove(Object) - Method in interface java.util.Deque
-
Removes the first occurrence of the specified element from this deque.
- remove(Object) - Method in class java.util.Dictionary
-
Removes from the Dictionary the value located by the given key.
- remove(Object) - Method in class java.util.HashMap
-
Removes from the HashMap and returns the value which is mapped by the
supplied key.
- remove(Object) - Method in class java.util.HashSet
-
Removes the supplied Object from this Set if it is in the Set.
- remove(Object) - Method in class java.util.Hashtable
-
Removes from the table and returns the value which is mapped by the
supplied key.
- remove(Object) - Method in class java.util.IdentityHashMap
-
Removes from the HashMap and returns the value which is mapped by
the supplied key.
- remove() - Method in interface java.util.Iterator
-
Remove from the underlying collection the last element returned by next
(optional operation).
- remove(Object) - Method in class java.util.LinkedList
-
Removes the entry at the lowest index in the list that matches the given
object, comparing by o == null ? e = null : o.equals(e)
.
- remove(int) - Method in class java.util.LinkedList
-
Removes the element at the given position from the list.
- remove() - Method in class java.util.LinkedList
-
Removes and returns the first element of the list.
- remove(int) - Method in interface java.util.List
-
Remove the element at a given position in this list (optional operation).
- remove(Object) - Method in interface java.util.List
-
Remove the first occurence of an object from this list (optional
operation).
- remove() - Method in interface java.util.ListIterator
-
Remove from the list the element last returned by a call to next or
previous (optional operation).
- remove(Object) - Method in interface java.util.Map
-
Removes the mapping for this key if present (optional operation).
- remove(Object) - Method in class java.util.PriorityQueue
-
- remove() - Method in interface java.util.Queue
-
Retrieves and removes the head of this queue.
- remove(Object) - Method in interface java.util.Set
-
Removes the specified element from this set (optional operation).
- remove(Object) - Method in class java.util.TreeMap
-
Removes from the TreeMap and returns the value which is mapped by the
supplied key.
- remove(Object) - Method in class java.util.TreeSet
-
If the supplied Object is in this Set, it is removed, and true is
returned; otherwise, false is returned.
- remove(Object) - Method in class java.util.Vector
-
Removes the given Object from the Vector.
- remove(int) - Method in class java.util.Vector
-
Removes the element at the specified index, and returns it.
- remove(int) - Method in class tijos.framework.util.json.JSONArray
-
Remove an index and close the hole.
- remove(String) - Method in class tijos.framework.util.json.JSONObject
-
Remove a name and its value, if present.
- removeAll(Collection<?>) - Method in class java.util.AbstractCollection
-
Remove from this collection all its elements that are contained in a given
collection (optional operation).
- removeAll(Collection<?>) - Method in class java.util.AbstractSet
-
Removes from this set all elements in the given collection (optional
operation).
- removeAll(Collection<?>) - Method in interface java.util.Collection
-
Remove all elements of a given collection from this collection.
- removeAll(Collection<?>) - Method in interface java.util.List
-
Remove all elements of a given collection from this list (optional
operation).
- removeAll(Collection<?>) - Method in interface java.util.Set
-
Removes from this set all elements contained in the specified collection
(optional operation).
- removeAll(Collection<?>) - Method in class java.util.Vector
-
Remove from this vector all elements contained in the given collection.
- removeAllElements() - Method in class java.util.Vector
-
Removes all elements from the Vector.
- removeElement(Object) - Method in class java.util.Vector
-
Removes the first (the lowest index) occurrence of the given object from
the Vector.
- removeElementAt(int) - Method in class java.util.Vector
-
Removes the element at index
, and shifts all elements at
positions greater than index to their index - 1.
- removeFirst() - Method in class java.util.ArrayDeque
-
- removeFirst() - Method in interface java.util.Deque
-
Retrieves and removes the first element of this deque.
- removeFirst() - Method in class java.util.LinkedList
-
Remove and return the first element in the list.
- removeFirstOccurrence(Object) - Method in class java.util.ArrayDeque
-
Removes the first occurrence of the specified element in this
deque (when traversing the deque from head to tail).
- removeFirstOccurrence(Object) - Method in interface java.util.Deque
-
Removes the first occurrence of the specified element from this deque.
- removeFirstOccurrence(Object) - Method in class java.util.LinkedList
-
Removes the first occurrence of the specified element
from the list, when traversing the list from head to
tail.
- removeLast() - Method in class java.util.ArrayDeque
-
- removeLast() - Method in interface java.util.Deque
-
Retrieves and removes the last element of this deque.
- removeLast() - Method in class java.util.LinkedList
-
Remove and return the last element in the list.
- removeLastOccurrence(Object) - Method in class java.util.ArrayDeque
-
Removes the last occurrence of the specified element in this
deque (when traversing the deque from head to tail).
- removeLastOccurrence(Object) - Method in interface java.util.Deque
-
Removes the last occurrence of the specified element from this deque.
- removeLastOccurrence(Object) - Method in class java.util.LinkedList
-
Removes the last occurrence of the specified element
from the list, when traversing the list from head to
tail.
- removeShutdownHook(Thread) - Method in class java.lang.Runtime
-
Remove a previously installed shutdown hook from the system.
- renameHost(String) - Method in class tijos.framework.platform.TiSettings
-
Rename the host
- replace(char, char) - Method in class java.lang.String
-
- replace(int, int, String) - Method in class java.lang.StringBuffer
-
Replace characters between index start
(inclusive) and
end
(exclusive) with str
.
- replace(int, int, String) - Method in class java.lang.StringBuilder
-
Replace characters between index start
(inclusive) and
end
(exclusive) with str
.
- replaceAll(List<T>, T, T) - Static method in class java.util.Collections
-
Replace all instances of one object with another in the specified list.
- reset() - Method in class java.io.BufferedInputStream
-
This method resets a stream to the point where the mark()
method was called.
- reset() - Method in class java.io.BufferedReader
-
Resets the stream to the most recent mark.
- reset() - Method in class java.io.ByteArrayInputStream
-
Resets the buffer to the marked position.
- reset() - Method in class java.io.ByteArrayOutputStream
-
This method discards all of the bytes that have been written to
the internal buffer so far by setting the count
variable to 0.
- reset() - Method in class java.io.CharArrayReader
-
This method sets the read position in the stream to the mark
point by setting the pos
variable equal to the
mark
variable.
- reset() - Method in class java.io.CharArrayWriter
-
This method discards all of the chars that have been written to the
internal buffer so far by setting the count
variable to
0.
- reset() - Static method in class java.io.File
-
Reset the files array after an error.
- reset() - Method in class java.io.FilterInputStream
-
Calls the in.reset()
method.
- reset() - Method in class java.io.FilterReader
-
Calls the in.reset()
method.
- reset() - Method in class java.io.InputStream
-
This method resets a stream to the point where the
mark()
method was called.
- reset() - Method in class java.io.LineNumberReader
-
Reset the stream to the most recent mark.
- reset() - Method in class java.io.PushbackInputStream
-
This method always throws an IOException in this class because
mark/reset functionality is not supported.
- reset() - Method in class java.io.PushbackReader
-
This method always throws an IOException in this class because
mark/reset functionality is not supported.
- reset() - Method in class java.io.Reader
-
Resets a stream to the point where the mark()
method was called.
- reset() - Method in class java.io.StringReader
-
Resets the stream to the most recent mark, or to the beginning of the
string if it has never been marked.
- reset(int) - Method in class tijos.framework.devicecenter.TiOWMaster
-
Reset the slave on io
- reset() - Method in class tijos.framework.util.crc.CRC16_CCITT_FALSE
-
Resets CRC to initial value.
- reset() - Method in class tijos.framework.util.crc.CRC16_IBM
-
Resets CRC to initial value.
- resetLoggerLevel(int) - Method in class tijos.framework.platform.TiSettings
-
Reset the global logger level
- resetSyntax() - Method in class java.io.StreamTokenizer
-
Resets this tokenizer's syntax table so that all characters are
"ordinary." See the ordinaryChar
method
for more information on a character being ordinary.
- resolve(URI) - Method in class java.net.URI
-
Resolves the given URI against this URI
- resolve(String) - Method in class java.net.URI
-
Resolves the given URI string against this URI
- resumeProgram() - Method in class tijos.framework.platform.TiDebugger
-
Allow the monitored program to continue running.
- resumeSystemThreads() - Method in class tijos.framework.platform.TiDebugger
-
Resume essential system threads.
- retainAll(Collection<?>) - Method in class java.util.AbstractCollection
-
Remove from this collection all its elements that are not contained in a
given collection (optional operation).
- retainAll(Collection<?>) - Method in interface java.util.Collection
-
Remove all elements of this collection that are not contained in a given
collection.
- retainAll(Collection<?>) - Method in interface java.util.List
-
Remove all elements of this list that are not contained in a given
collection (optional operation).
- retainAll(Collection<?>) - Method in interface java.util.Set
-
Retains only the elements in this set that are also in the specified
collection (optional operation).
- retainAll(Collection<?>) - Method in class java.util.Vector
-
Retain in this vector only the elements contained in the given collection.
- Retention - Annotation Type in java.lang.annotation
-
- RetentionPolicy - Enum in java.lang.annotation
-
- reverse(int) - Static method in class java.lang.Integer
-
- reverse(long) - Static method in class java.lang.Long
-
- reverse() - Method in class java.lang.StringBuffer
-
Reverse the characters in this StringBuffer.
- reverse() - Method in class java.lang.StringBuilder
-
Reverse the characters in this StringBuffer.
- reverse(List<?>) - Static method in class java.util.Collections
-
Reverse a given list.
- reverseBytes(char) - Static method in class java.lang.Character
-
- reverseBytes(int) - Static method in class java.lang.Integer
-
- reverseBytes(long) - Static method in class java.lang.Long
-
- reverseBytes(short) - Static method in class java.lang.Short
-
- reverseOrder(Comparator<T>) - Static method in class java.util.Collections
-
Get a comparator that implements the reverse of the ordering
specified by the given Comparator.
- reverseOrder() - Static method in class java.util.Collections
-
Get a comparator that implements the reverse of natural ordering.
- rint(double) - Static method in class java.lang.Math
-
Returns the closest mathematical integer to the argument.
- roll(int, boolean) - Method in class java.util.Calendar
-
Rolls the specified time field up or down.
- roll(int, int) - Method in class java.util.Calendar
-
Rolls up or down the specified time field by the given amount.
- roll(int, boolean) - Method in class java.util.GregorianCalendar
-
Rolls the specified time field up or down.
- roll(int, int) - Method in class java.util.GregorianCalendar
-
Rolls the specified time field by the given amount.
- ROOT - Static variable in class java.util.Locale
-
The root locale, used as the base case in lookups by
locale-sensitive operations.
- rotate(List<?>, int) - Static method in class java.util.Collections
-
Rotate the elements in a list by a specified distance.
- rotateLeft(int, int) - Static method in class java.lang.Integer
-
- rotateLeft(long, int) - Static method in class java.lang.Long
-
- rotateRight(int, int) - Static method in class java.lang.Integer
-
- rotateRight(long, int) - Static method in class java.lang.Long
-
- round(float) - Static method in class java.lang.Math
-
Returns the closest int to the argument.
- round(double) - Static method in class java.lang.Math
-
Returns the closest long to the argument.
- RoundingMode - Enum in java.math
-
Specifies a rounding behavior for numerical operations
capable of discarding precision.
- run() - Method in interface java.lang.Runnable
-
When an object implementing interface Runnable
is used
to create a thread, starting the thread causes the object's
run
method to be called in that separately executing
thread.
- run() - Method in class java.lang.Thread
-
- run() - Method in class java.util.TimerTask
-
Method that is called when this task is scheduled for execution.
- Runnable - Interface in java.lang
-
Class to allow an object to execute code.
- Runtime - Class in java.lang
-
Minimalist version of the standard Java Runtime class.
- RuntimeException - Exception in java.lang
-
- RuntimeException() - Constructor for exception java.lang.RuntimeException
-
Constructs a new runtime exception with null
as its
detail message.
- RuntimeException(String) - Constructor for exception java.lang.RuntimeException
-
Constructs a new runtime exception with the specified detail message.
- RuntimeException(String, Throwable) - Constructor for exception java.lang.RuntimeException
-
Constructs a new runtime exception with the specified detail message
and cause.
- RuntimeException(Throwable) - Constructor for exception java.lang.RuntimeException
-
Constructs a new runtime exception with the specified cause.