- random(int, int) - Static method in class javolution.lang.MathLib
-
Returns a pseudo random int
value in the range
[min, max]
(fast and thread-safe without synchronization).
- random(long, long) - Static method in class javolution.lang.MathLib
-
Returns a pseudo random long
value in the range
[min, max]
(fast and thread-safe without synchronization).
- random(float, float) - Static method in class javolution.lang.MathLib
-
Returns a pseudo random float
value in the range
[min, max]
(fast and thread-safe without synchronization).
- random(double, double) - Static method in class javolution.lang.MathLib
-
Returns a pseudo random double
value in the range
[min, max]
(fast and thread-safe without synchronization).
- random() - Static method in class javolution.lang.MathLib
-
Returns a random number between zero and one.
- rangeOf(char, char) - Static method in class javolution.text.CharSet
-
Returns the character set holding the characters in the specified
range.
- rangeOf(int, int) - Static method in class javolution.util.Index
-
Returns all the indices greater or equal to start
but less than end
.
- read() - Method in class javolution.io.CharSequenceReader
-
Reads a single character.
- read(char[], int, int) - Method in class javolution.io.CharSequenceReader
-
Reads characters into a portion of an array.
- read(Appendable) - Method in class javolution.io.CharSequenceReader
-
Reads characters into the specified appendable.
- read(InputStream) - Method in class javolution.io.Struct
-
Reads this struct from the specified input stream
(convenience method when using Stream I/O).
- read() - Method in class javolution.io.UTF8ByteBufferReader
-
Reads a single character.
- read(char[], int, int) - Method in class javolution.io.UTF8ByteBufferReader
-
Reads characters into a portion of an array.
- read(Appendable) - Method in class javolution.io.UTF8ByteBufferReader
-
Reads characters into the specified appendable.
- read() - Method in class javolution.io.UTF8StreamReader
-
Reads a single character.
- read(char[], int, int) - Method in class javolution.io.UTF8StreamReader
-
Reads characters into a portion of an array.
- read(Appendable) - Method in class javolution.io.UTF8StreamReader
-
Reads characters into the specified appendable.
- read(Properties) - Static method in class javolution.lang.Configurable
-
Convenience method to read the specified properties and reconfigure
accordingly.
- read(InputStream) - Static method in class javolution.lang.Configurable
-
Convenience method to read configurable values from the specified
XML stream.
- read(XMLFormat.InputElement, T) - Method in class javolution.xml.XMLFormat
-
Parses an XML input element into the specified object.
- read() - Method in class javolution.xml.XMLObjectReader
-
Returns the object corresponding to the next element/data.
- read(String) - Method in class javolution.xml.XMLObjectReader
-
Returns the object corresponding to the next nested element only
if it has the specified local name.
- read(String, String) - Method in class javolution.xml.XMLObjectReader
-
Returns the object corresponding to the next nested element only
if it has the specified local name and namespace URI.
- read(String, Class<T>) - Method in class javolution.xml.XMLObjectReader
-
Returns the object corresponding to the next nested element only
if it has the specified local name; the actual object type is identified
by the specified class parameter.
- read(String, String, Class<T>) - Method in class javolution.xml.XMLObjectReader
-
Returns the object corresponding to the next nested element only
if it has the specified local name and namespace URI; the
actual object type is identified by the specified class parameter.
- readBits(int, int) - Method in class javolution.io.Struct
-
Reads the specified bits from this Struct as an long (signed) integer
value.
- readClass(XMLStreamReader, boolean) - Method in class javolution.xml.XMLBinding
-
Reads the class corresponding to the current XML element.
- readLock - Variable in class javolution.util.internal.ReadWriteLockImpl
-
- readLock() - Method in class javolution.util.internal.ReadWriteLockImpl
-
- ReadLock() - Constructor for class javolution.util.internal.ReadWriteLockImpl.ReadLock
-
- readReference(XMLFormat.InputElement) - Method in class javolution.xml.XMLReferenceResolver
-
Reads the object referenced by the specified xml input element if any.
- readResolve() - Method in class javolution.util.Index
-
Ensures index unicity during deserialization.
- readResponse(XMLObjectReader) - Method in class javolution.xml.ws.WebServiceClient
-
Reads the web service response (SOAP body).
- ReadWriteLockImpl - Class in javolution.util.internal
-
Simple and efficient read/write lock implementation giving
preferences to writers.
- ReadWriteLockImpl() - Constructor for class javolution.util.internal.ReadWriteLockImpl
-
- ReadWriteLockImpl.ReadLock - Class in javolution.util.internal
-
Read-Lock Implementation.
- ReadWriteLockImpl.WriteLock - Class in javolution.util.internal
-
Write-Lock Implementation.
- ready() - Method in class javolution.io.CharSequenceReader
-
Indicates if this stream is ready to be read.
- ready() - Method in class javolution.io.UTF8ByteBufferReader
-
Indicates if this stream is ready to be read.
- ready() - Method in class javolution.io.UTF8StreamReader
-
Indicates if this stream is ready to be read.
- Realtime - Interface in javolution.lang
-
This interface identifies
RTSJ safe
classes with predictable response time and supporting custom
allocation
policies (e.g.
- RealtimeThread - Class in javax.realtime
-
Stub for non-rtsj vms.
- RealtimeThread() - Constructor for class javax.realtime.RealtimeThread
-
- recycle(T) - Method in class javolution.context.Allocator
-
Recycles the specified object to this queue.
- recycle(T) - Method in class javolution.context.ArrayFactory
-
Recycles the specified arrays.
- recycle(T) - Method in class javolution.context.ObjectFactory
-
Recycles the specified object.
- recycle(Cursor) - Static method in class javolution.text.Cursor
-
Recycles the specified factory
produced
cursor.
- recycle(TextBuilder) - Static method in class javolution.text.TextBuilder
-
- recycle(FastBitSet) - Static method in class javolution.util.FastBitSet
-
- recycle(FastList) - Static method in class javolution.util.FastList
-
- recycle(FastMap) - Static method in class javolution.util.FastMap
-
Recycles the specified map instance.
- recycle(FastSet) - Static method in class javolution.util.FastSet
-
- recycle(FastTable) - Static method in class javolution.util.FastTable
-
- recycle(XMLObjectReader) - Static method in class javolution.xml.XMLObjectReader
-
Recycles the specified XMLObjectReader.
- ReentrantLock - Class in javolution.util
-
This class represents a reentrant lock with the same semantics as
built-in Java synchronized locks: Once a thread has a lock, it can
re-obtain it any number of times without blocking.
- ReentrantLock() - Constructor for class javolution.util.ReentrantLock
-
Default constructor.
- Reference() - Constructor for class javolution.context.AllocatorContext.Reference
-
Default constructor.
- Reference() - Constructor for class javolution.context.LocalContext.Reference
-
Default constructor (default referent is null
).
- Reference(T) - Constructor for class javolution.context.LocalContext.Reference
-
Creates a local reference having the specified default value.
- Reference(String, T) - Constructor for class javolution.context.PersistentContext.Reference
-
Creates a persistent reference identified by the specified name and
having the specified default value.
- Reference<T> - Interface in javolution.lang
-
This interface represents an object reference, the reachability level
of a reference varies based on the actual reference implementation.
- Reference32() - Constructor for class javolution.io.Struct.Reference32
-
- Reference64() - Constructor for class javolution.io.Struct.Reference64
-
- Reflection - Class in javolution.lang
-
This utility class greatly facilitates the use of reflection to invoke
constructors or methods which may or may not exist at runtime or
may be loaded/unloaded dynamically such as when running on a
OSGi Platform.
- Reflection() - Constructor for class javolution.lang.Reflection
-
Default constructor.
- Reflection.Constructor - Interface in javolution.lang
-
This interface represents a run-time constructor obtained through reflection.
- Reflection.Method - Interface in javolution.lang
-
This interface represents a run-time method obtained through reflection.
- REGRESSION - Static variable in class javolution.testing.TestContext
-
Holds an implementation which does not perform any logging but raises
an
AssertionException
when an assertion fails.
- REGRESSION - Static variable in class javolution.testing.TimeContext
-
Holds an implementation which does not perform any logging but raises an
AssertionException
when an assertion fails, including any timing
assertion.
- REHASH - Static variable in class javolution.util.internal.FastComparator
-
Holds the comparator for objects with uneven hash distribution; objects
hashcodes are rehashed.
- REHASH_SYSTEM_HASHCODE - Static variable in class javolution.util.internal.FastComparator
-
- rem(double, double) - Static method in class javolution.lang.MathLib
-
Returns the remainder of the division of the specified two arguments.
- remove(Object) - Method in class javolution.lang.Reflection
-
Removes the specified class loader from the research tree.
- remove(Object) - Method in class javolution.util.FastCollection
-
Removes the first occurrence in this collection of the specified value
(optional operation).
- remove(Object) - Method in class javolution.util.FastList
-
- remove(int) - Method in class javolution.util.FastList
-
Removes the value at the specified position in this list.
- remove(Object) - Method in class javolution.util.FastMap
-
Removes the entry for the specified key if present.
- remove(Object) - Method in class javolution.util.FastSet
-
- remove(Object) - Method in class javolution.util.FastTable
-
- remove(int) - Method in class javolution.util.FastTable
-
Removes the value at the specified position from this table.
- remove(Object) - Method in class javolution.util.internal.collection.SharedCollectionImpl
-
- remove(int) - Method in class javolution.util.internal.collection.SharedCollectionImpl
-
- remove(int) - Method in class javolution.util.internal.collection.UnmodifiableCollectionImpl
-
- remove(Object) - Method in class javolution.util.internal.collection.UnmodifiableCollectionImpl
-
- remove(Object) - Method in class javolution.util.LocalMap
-
Removes the mapping for this key from this map if present
(sets the local value to null
).
- remove(Object) - Method in class javolution.util.MutableList
-
- remove(int) - Method in class javolution.util.MutableList
-
- removeAll(Collection<?>) - Method in class javolution.util.FastCollection
-
Removes from this collection all the values that are contained in the
specified collection.
- removeAll(Collection<?>) - Method in class javolution.util.internal.collection.SharedCollectionImpl
-
- removeAll(Collection<?>) - Method in class javolution.util.internal.collection.UnmodifiableCollectionImpl
-
- removeFirst() - Method in class javolution.util.FastList
-
Removes and returns the first value of this list.
- removeLast() - Method in class javolution.util.FastList
-
Removes and returns the last value of this list (fast).
- removeLast() - Method in class javolution.util.FastTable
-
Removes and returns the last value of this table (fast).
- removeRange(int, int) - Method in class javolution.util.FastTable
-
Removes the values between [fromIndex..toIndex[ from
this table.
- REPAIRING_PREFIX - Static variable in class javolution.xml.stream.XMLOutputFactory
-
Property used to specify the prefix to be appended by a trailing
part (a sequence number) in order to make it unique to be usable as
a temporary non-colliding prefix when repairing namespaces
(type: String
, default: "ns"
).
- replace(CharSequence, CharSequence) - Method in class javolution.text.Text
-
Replaces each character sequence of this text that matches the specified
target sequence with the specified replacement sequence.
- replace(CharSet, CharSequence) - Method in class javolution.text.Text
-
Replaces the specified characters in this text with the specified
replacement sequence.
- require(int, CharSequence, CharSequence) - Method in interface javolution.xml.stream.XMLStreamReader
-
Tests if the current event is of the given type and if the namespace and
name match the current namespace and name of the current event.
- require(int, CharSequence, CharSequence) - Method in class javolution.xml.stream.XMLStreamReaderImpl
-
- reset() - Method in class javolution.io.AppendableWriter
-
- reset() - Method in class javolution.io.CharSequenceReader
-
- reset() - Method in class javolution.io.UTF8ByteBufferReader
-
- reset() - Method in class javolution.io.UTF8ByteBufferWriter
-
- reset() - Method in class javolution.io.UTF8StreamReader
-
- reset() - Method in class javolution.io.UTF8StreamWriter
-
- reset() - Method in interface javolution.lang.Reusable
-
Resets the internal state of this object to its default values.
- reset() - Method in class javolution.text.Cursor
-
Resets this cursor instance.
- reset() - Method in class javolution.text.TextBuilder
-
- reset() - Method in class javolution.util.FastBitSet
-
- reset() - Method in class javolution.util.FastList
-
- reset() - Method in class javolution.util.FastMap
-
- reset() - Method in class javolution.util.FastSet
-
- reset() - Method in class javolution.util.FastTable
-
- reset() - Method in class javolution.util.internal.collection.SharedCollectionImpl
-
- reset() - Method in class javolution.util.internal.collection.UnmodifiableCollectionImpl
-
- reset() - Method in class javolution.xml.sax.SAX2ReaderImpl
-
- reset() - Method in class javolution.xml.sax.XMLReaderImpl
-
- reset() - Method in class javolution.xml.stream.XMLStreamReaderImpl
-
- reset() - Method in class javolution.xml.stream.XMLStreamWriterImpl
-
- reset() - Method in class javolution.xml.XMLBinding
-
- reset() - Method in class javolution.xml.XMLObjectReader
-
Resets this object reader for reuse.
- reset() - Method in class javolution.xml.XMLObjectWriter
-
Resets this object writer for reuse.
- reset() - Method in class javolution.xml.XMLReferenceResolver
-
- resolveEntity(String, String) - Method in interface org.xml.sax.EntityResolver
-
Allow the application to resolve external entities.
- resolveEntity(String, String) - Method in class org.xml.sax.HandlerBase
-
Deprecated.
Resolve an external entity.
- retainAll(Collection<?>) - Method in class javolution.util.FastCollection
-
Retains only the values in this collection that are contained in the
specified collection.
- retainAll(Collection<?>) - Method in class javolution.util.internal.collection.SharedCollectionImpl
-
- retainAll(Collection<?>) - Method in class javolution.util.internal.collection.UnmodifiableCollectionImpl
-
- Reusable - Interface in javolution.lang
-
This interfaces identifies mutable objects capable of being used again
or repeatedly; once
reset
, reusable objects behave as if
they were brand-new.
- reverse() - Method in class javolution.text.TextBuilder
-
Reverses this character sequence.
- reverse() - Method in class javolution.util.FastMap
-
Returns the reverse mapping of this map (for which the keys are this
map's values and the values are this map's keys).
- ROOT - Static variable in class javolution.context.Context
-
Holds the root context.
- round(float) - Static method in class javolution.lang.MathLib
-
Returns the closest int
to the specified argument.
- round(double) - Static method in class javolution.lang.MathLib
-
Returns the closest long
to the specified argument.
- run(TestSuite) - Static method in class javolution.testing.TestContext
-
Executes the specified test suite and logs the results to the
current test context.
- run(TestCase) - Static method in class javolution.testing.TestContext
-
Executes the specified test case and logs the results to the current
test context.