|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
int argument.
long argument.
float argument.
double argument.
FastList.addLast(E)).
null as an anonymous
nested element of unknown type.
null objects are ignored).
null objects are ignored).
null objects are ignored).
null objects are ignored).
getStreamWriter().writeCharacters(text)).
XMLFormat.OutputElement.addText(CharSequence)
(for J2ME compatibility).
AllocatorContext.ObjectFactory.reference
allocated from the current AllocatorContext.boolean
argument.
int
argument.
int
argument.
long
argument.
long
argument.
float.
double;
the number of digits is 17 or 16 when the 16 digits representation
can be parsed back to the same double (mimic the standard
library formatting).
double
according to the specified formatting arguments.
Appendable to be used as
a writer.assertArrayEquals(expected, actual, null).
assertArrayEquals(expected, actual, null).
assertArrayEquals(expected, value, null).
assertArrayEquals(expected, value, null).
assertArrayEquals(expected, actual, delta, null).
assertEquals(expected, actual, null).
assertEquals(new Integer(expected), new Integer(actual), message).
assertEquals(expected, actual, null).
assertEquals(new Long(expected), new Long(actual)).
assertEquals(expected, actual, null).
assertEquals(expected, actual, delta, message) instead
assertEquals(expected, actual, delta) instead
assertEquals(expected, actual, delta, null).
assertException(exceptionClass, logic, null).
assertEquals(false, actual, message).
assertFalse(actual, null).
TestContext.REGRESSION).assertTrue(actual != null, message).
assertNotNull(actual, null).
assertEquals(null, actual, message).
assertNull(actual, null).
assertSame(expected, actual, null).
assertEquals(true, actual, message).
assertTrue(actual, null).
(x == cos(theta)) && (y == sin(theta)).
Boolean, default: FALSE).
long value.
int, excluding a sign bit.
long, excluding a sign bit.
boolean arrays.
byte arrays.
true (or the size of this
set).
double value that is not less than the argument and is
equal to a mathematical integer.
CharSequence
backed up by a char array.char arrays.
CharSequence to be used as
a reader.this.delete(start, this.length())).
false (empty the set).
fromIndex (inclusive) to the
specified toIndex (exclusive) to false.
null).
resets this writer for reuse.
resets this reader for reuse.
resets this reader for reuse.
resets this writer for reuse.
resets this reader for reuse.
resets this writer for reuse.
reset
this reader for potential reuse.
reset this Writer for potential reuse.
ConcurrentException are raised upon exit of
the ConcurrentContext).CONFIG message.
TextBuilder.contentEquals(CharSequence)
(for J2ME compability).
context (Javolution)
of the calling thread (the one making the copy).
1).
new keyword).
new
keyword).
AllocatorContext.current().getAllocator(this)).
allocators belonging to this context
for the current thread.
LogContext.debug(CharSequence) except that formatting
is done only if debug is logged.
LogContext.debug(CharSequence) except that formatting
is done only if debug is logged.
HeapContext instance).
LogContext.STANDARD).
System.out and test errors are sent to System.err).
System.out).
int value, excluding the sign character if any.
long, excluding the sign character if any.
true.
double arrays.
int.
ConcurrentContext.DEFAULT).
factory produced and automatically recycled
upon exit.
LocalContext possibly recycled.
StackContext.DEFAULT stack context.
TestContext.DEFAULT test context.
TimeContext.DEFAULT time context.
UnsupportedOperationException persistent context
are global to all threads (singleton).
java.util.Map, default: null).
FastCollection view of the mappings contained in this
map.
FastCollection view of the mappings contained in this
map.
String or CharSequence).
CharArray.
==).
==).
LogContext.error(Throwable, CharSequence) except that
formatting is done only if error is logged.
LogContext.error(Throwable, CharSequence)
except that formatting is done only if error is logged.
LogContext.error(CharSequence) except that formatting
is done only if error is logged.
LogContext.error(CharSequence)
except that formatting is done only if error is logged.
TestCase.count() method should be overriden).
outer context
becomes the current context).
UnsupportedOperationException persistent context
are global to all threads (singleton).
e raised to the specified power.
assertTrue(false, message).
fail(null).
thread-safe
and/or unmodifiable.are equal, they have the same hashcode),
equality with null values is supported.FastList node; it allows for direct
iteration over the list values.shared.FastMap entry.FastMap;
smooth capacity increase and no rehashing ever performed.FINE message.
FINER message.
FINEST message.
float arrays.
float.
double value that is not greater than the argument and
is equal to a mathematical integer.
ByteBuffer).
closing).
Appendable
TextBuilder (convenience
method which does not raise IOException).
Text instance
(convenience method equivalent to
format(obj, TextBuilder.newInstance()).toText()).
boolean and appends the resulting
text to the Appendable argument.
int and appends the resulting
text (decimal representation) to the Appendable argument.
int in the specified radix and appends
the resulting text to the Appendable argument.
long and appends the resulting
text (decimal representation) to the Appendable argument.
long in the specified radix and
appends the resulting text to the Appendable argument.
float value.
double value (16 or 17 digits output).
double value according to the
specified formatting arguments.
format(obj).toString())
true> if the specified integer is in
this bit set; false otherwise.
String attribute.
boolean attribute.
char attribute.
byte attribute.
short attribute.
int attribute.
long attribute.
float attribute.
double attribute.
-1 if the current context is not a time context.
null if none.
byte buffer.
Reflection.getClass(CharSequence) (for J2ME compatibility).
local concurrency.
public static field.
AllocatorContext.DEFAULT implementation).
LogContext.DEFAULT implementation).
SecurityContext.DEFAULT implementation).
null if unknown.
-1 if the current context is not a time context.
-1 if the current context is not a time context.
"javolution.context.ConcurrentContext#MAXIMUM_CONCURRENCY")
for ConcurrentContext.MAXIMUM_CONCURRENCY.
null
if none (the local name is then the full qualified name).
null if the prefix is unbound.
null).
null
if Context.ROOT or a default context (not entered).
ReentrantLock.
Class objects that represents
the formal parameter types, in declaration order of this constructor.
Class objects that represents
the formal parameter types, in declaration order of this constructor.
null if the namespace URI is unbound.
getStreamReader().getElementText()).
FastComparator.DEFAULT).
CharArray.
FastComparator.areEqual(T, T)).
head().getNext() holds the first collection value.
String, default: null).
java.lang.Integer for primitive data types collections.indexIn(csq, 0)
indexIn(chars, 0)
LogContext.info(CharSequence) except that formatting
is done only if info is logged.
LogContext.info(CharSequence) except that formatting
is done only if info is logged.
-1).
31).
System.getProperty("sun.boot.class.path")) and the
extension .jar in lib/ext directory).
ImmortalMemory.
ImmortalMemory.
true if this bit set shares at least one
common bit with the specified bit set.
int arrays.
int.
null if the method is static (convenience method).
null
if the method is static (convenience method).
null
if the method is static (convenience method).
null
if the method is static.
null
if the method is static.
Boolean, default: FALSE)
Boolean, default: FALSE).
Configurable
(default true).
true all messages are being logged).
Character.isISOControl(char)).
true).
true).
true).
true).
false).
true.
StackContext).
StackContext).
StackContext).
StackContext).
Context to facilitate
separation of concerns and achieve higher level of performance and
code predictability.Struct and Union
for direct interoperability with C/C++).java.lang package or are not available for all platforms (including J2ME CLDC).java.util.* classes (for example, java.util.IdentityHashMap would be
a FastMap with an identity key comparator).XML; and the complementary reconstruction of the
object graph from XML.SAX2 and
SAX2-Like parsers; the later
being several times faster than conventional SAX2 parsers (by avoiding
String allocations while parsing).FastCollection view of the keys contained in this
map.
FastCollection view of the keys contained in this map.
lastIndexIn(csq, csq.length()-1)
lastIndexIn(chars, chars.length-1)
CharSequence or
String instances.
String, default: "\n").
StackContext).
StackContext).
StackContext).
StackContext).
LocalContext.null).
scoped changes).e) of the specified
value.
long arrays.
long.
int values.
long values.
float values.
double values.
4).
int values.
long values.
float values.
double values.
StackContext.
recycled
after usage.
recycled text builder
(on the stack when executing in a StackContext).
recycled set instance
(on the stack when executing in a StackContext).
recycled list instance
(on the stack when executing in a StackContext).
recycled map instance.
recycled set instance
(on the stack when executing in a StackContext).
recycled table instance
(on the stack when executing in a StackContext).
XMLInputFactory.CLASS input factory
implementation which may be configurated by the user
(see XMLInputFactory.setProperty(String, Object)).
XMLOutputFactory.CLASS output factory
implementation which may be configurated by the user
(see XMLOutputFactory.setProperty(String, Object)).
Allocator.allocate() one if none available.
false bit, from the specified bit
(inclusive).
true bit, from the specified bit
(inclusive).
Boolean, default: FALSE).
long value.
long value.
Object arrays.
null if this struct
is not an inner struct.
CharSequence from the
specified position to produce an object.
boolean.
TypeFormat.parseBoolean(CharSequence)
(for J2ME compatibility).
boolean.
byte.
byte
in the specified radix.
byte in the specified radix.
double.
TypeFormat.parseDouble(CharSequence)
(for J2ME compatibility).
double.
float.
TypeFormat.parseFloat(CharSequence)
(for J2ME compatibility).
float.
int.
TypeFormat.parseInt(CharSequence) (for J2ME compatibility).
int
in the specified radix.
TypeFormat.parseInt(CharSequence, int)
(for J2ME compatibility).
int in the specified radix.
long.
TypeFormat.parseLong(CharSequence)
(for J2ME compatibility).
long
in the specified radix.
TypeFormat.parseLong(CharSequence, int)
(for J2ME compatibility).
long in the specified radix.
short.
short
in the specified radix.
short in the specified radix.
MathLib.PI * MathLib.PI.
String (optimization).
System.out (UTF-8 encoding).
System.out (UTF-8 encoding).
System.out and then terminates the
line.
System.out and then
terminates the line.
int value in the range
[min, max] (fast and thread-safe without synchronization).
long value in the range
[min, max] (fast and thread-safe without synchronization).
float value in the range
[min, max] (fast and thread-safe without synchronization).
double value in the range
[min, max] (fast and thread-safe without synchronization).
start
but less than end.
allocation policies (e.g.
"stack" allocations).produced cursor.
instance immediately
(on the stack when executing in a StackContext).
instance immediately
(on the stack when executing in a StackContext).
instance immediately
(on the stack when executing in a StackContext).
instance immediately
(on the stack when executing in a StackContext).
instance immediately
(on the stack when executing in a StackContext).
AssertionException when an assertion fails.
AssertionException when an assertion fails, including any timing
assertion.
null).
[fromIndex..toIndex[ from
this table.
- REPAIRING_PREFIX -
Static variable in class 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 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 Text
- Replaces the specified characters in this text with the specified
replacement sequence.
- require(int, CharSequence, CharSequence) -
Method in interface 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 XMLStreamReaderImpl
-
- reset() -
Method in class AppendableWriter
-
- reset() -
Method in class CharSequenceReader
-
- reset() -
Method in class UTF8ByteBufferReader
-
- reset() -
Method in class UTF8ByteBufferWriter
-
- reset() -
Method in class UTF8StreamReader
-
- reset() -
Method in class UTF8StreamWriter
-
- reset() -
Method in interface Reusable
- Resets the internal state of this object to its default values.
- reset() -
Method in class Cursor
- Resets this cursor instance.
- reset() -
Method in class TextBuilder
- Resets this text builder for reuse (equivalent to
TextBuilder.clear()).
- reset() -
Method in class FastBitSet
-
- reset() -
Method in class FastList
-
- reset() -
Method in class FastMap
-
- reset() -
Method in class FastSet
-
- reset() -
Method in class FastTable
-
- reset() -
Method in class SAX2ReaderImpl
-
- reset() -
Method in class XMLReaderImpl
-
- reset() -
Method in class XMLStreamReaderImpl
-
- reset() -
Method in class XMLStreamWriterImpl
-
- reset() -
Method in class XMLBinding
-
- reset() -
Method in class XMLObjectReader
- Resets this object reader for reuse.
- reset() -
Method in class XMLObjectWriter
- Resets this object writer for reuse.
- reset() -
Method in class XMLReferenceResolver
-
- retainAll(Collection<?>) -
Method in class FastCollection
- Retains only the values in this collection that are contained in the
specified collection.
- 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 TextBuilder
- Reverses this character sequence.
- reverse() -
Method in class 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 Context
- Holds the root context.
- round(float) -
Static method in class MathLib
- Returns the closest
int to the specified argument.
- round(double) -
Static method in class MathLib
- Returns the closest
long to the specified argument.
- run(TestSuite) -
Static method in class TestContext
- Executes the specified test suite and logs the results to the
current test context.
- run(TestCase) -
Static method in class TestContext
- Executes the specified test case and logs the results to the current
test context.
XMLReaderImpl.true.
fromIndex (inclusive) to the
specified toIndex (exclusive) to true.
setAlias(cls, QName.valueOf(alias)).
CharSequence attribute
(null values are ignored).
String attribute
(null values are ignored).
boolean attribute.
char attribute.
byte attribute.
short attribute.
int attribute.
long attribute.
float attribute.
double attribute.
TextFormat.
false).
UTF8ByteBufferReader.setInput(ByteBuffer)
UTF8ByteBufferWriter.setOutput(ByteBuffer)
setClassAttribute(QName.valueOf(name)).
local concurrency.
ConcurrentContext
exclusively.
"id").
null).
ByteBuffer to use for reading available bytes
from current buffer position.
UTF8StreamReader.setInput(InputStream)
ObjectFactory.getInstance(java.lang.Class) ).
local setting).
setLength(newLength, ' ').
"\n").
(value.compareTo(this.get()) < 0).
(value.compareTo(this.get()) > 0).
false).
UTF8StreamWriter.setOutput(OutputStream)
"ref").
false).
"ns").
FastMap.shared()
FastTable.sort()).
SEVERE message.
short arrays.
FastMap.
value comparator
(smallest first).
Character.isSpaceChar(char)).
allocator context;
(using thread-local pools or RTSJ ScopedMemory).java.util.logging.Logger (default logging context).
java.util.logging.Logger).Logger.getLogger("")).
startElement is not
correctly overriden.
java.lang.String.
C/C++ struct; it confers
interoperability between Java classes and C/C++ struct.struct container.
true represented
by 1 and false represented by 0.Enum.Enum.Enum.Enum.float).double).Struct
members.Struct object (other types may require a Struct
wrapper).Struct object (other types may require a Struct
wrapper).StackContext).
FastList allocated from the "stack" when
executing in a StackContext).
subtext(start, end).
CharSequence corresponding
to the character sequence between the specified indexes.
System.out.
tail().getPrevious() holds the last collection value.
parallelizabletest cases.concatenation, insertion and
deletion capabilities (O[Log(n)]) instead of
O[n] for StringBuffer/StringBuilder).String
.
Appendable text whose capacity expands
gently without incurring expensive resize/copy operations ever.String
(convenience method).
CharSequence and Appendable interfaces
for greater flexibility.test context specialized
for measuring execution time.boolean represented by this character array.
CharArray representation of this
TextBuilder.
double represented by this character array.
double representation of the
specified long number multiplied by a power of ten.
double representation of the
specified long number multiplied by a power of two.
float represented by this character array.
int represented by this character array.
int represented by this character array
in the specified radix.
long represented by this character
array.
long represented by this character
array in the specified radix.
long representation of the
specified double number multiplied by a power of ten.
long representation of the
specified double number multiplied by a power of two.
"Instance of " + this.getClass().getName()).
String representation of this struct
in the form of its constituing bytes (hexadecimal).
String representation of this test case.
String representation of this test suite.
String corresponding to this character
sequence.
- toString() -
Method in class CharSet
- Returns the textual representation of this character set.
- toString() -
Method in class Cursor
- Returns the string representation of this cursor.
- toString() -
Method in class Text
- Returns the
String representation of this text.
- toString() -
Method in class TextBuilder
- Returns the
String representation of this
TextBuilder.
- toString() -
Method in class FastCollection
- Returns the
String representation of this
FastCollection.
- toString() -
Method in class FastMap
- Returns the
String representation of this
FastMap.
- toString() -
Method in class Index
- Returns the
String representation of this index.
- toString() -
Method in class QName
- Returns the
String representation of this qualified name.
- toString() -
Method in exception XMLStreamException
- Returns the textual representation of this exception.
- toString() -
Method in class XMLStreamReaderImpl
- Returns the textual representation of this reader current state.
- toString() -
Method in class XMLFormat
- Returns textual information about this format.
- toText() -
Method in interface Realtime
- Returns the textual representation of this real-time object
(equivalent to
toString except that the returned value
can be "stack" allocated and
supports fast concatenation).
- toText() -
Method in class Text
- Returns
this (implements
Realtime interface).
- toText() -
Method in class TextBuilder
- Returns the
Text corresponding to this TextBuilder
(allocated on the "stack" when executing in a
StackContext).
- toText() -
Method in class FastCollection
- Returns the textual representation of this collection.
- toText() -
Method in class FastMap.Entry
-
- toText() -
Method in class FastMap
- Returns the textual representation of this map.
- toText() -
Method in class Index
-
- toUpperCase() -
Method in class Text
- Converts the characters of this text to upper case.
- trim() -
Method in class Text
- Returns a copy of this text, with leading and trailing
whitespace omitted.
- trimEnd() -
Method in class Text
- Returns a copy of this text, with trailing
whitespace omitted.
- trimStart() -
Method in class Text
- Returns a copy of this text, with leading whitespace omitted.
- trimToSize() -
Method in class FastTable
- Reduces the capacity of this table to the current size (minimize
storage space).
- tryLock() -
Method in class ReentrantLock
- Acquires the lock only if it not held by another thread.
- TWO_PI -
Static variable in class MathLib
- Twice the ratio of the circumference of a circle to its diameter.
- TypeFormat - Class in javolution.text
- This class provides utility methods to parse
CharSequence into primitive types and to format
primitive types into any Appendable. C/C++ union; it works in the same
way as Struct (sub-class) except that all members are mapped
to the same location in memory.null if deactivated.
j2me.nio.ByteBuffer reader.j2me.nio.ByteBuffer
writer.boolean argument.
int
argument.
int
argument.
long
argument.
long
argument.
float
instance.
double
argument.
double
argument formatted as specified.
int value
(creating it as well as the indices toward zero
if they do not exist).
QName.valueOf(CharSequence) (for J2ME compatibility).
FastCollection view of the values contained in this
map.
FastCollection view of the values contained in this
map.
LogContext.warning(CharSequence) except that formatting
is done only if warning is logged.
LogContext.warning(CharSequence) except that formatting
is done only if warning is logged.
XML marshalling/unmarshalling.Character.isWhitespace(char)).
null objects are ignored).
null objects are ignored).
null objects are ignored).
null objects are ignored).
XMLFormat).XMLStreamReader
intances.XMLObjectWriter.XMLObjectReader.XMLStreamWriter
intances.XMLBinding though).javax.xml.stream.XMLStreamReader; but it does not forces
dynamic allocation when parsing (its methods returns
CharArray instances instead of String).reusable
implementation of XMLStreamWriter.javax.xml.stream.XMLStreamWriter; but it does not forces
dynamic allocation when formatting (any CharSequence
can be used instead of String).reusable
implementation of XMLStreamWriter.0).
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||