Index

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

abort() - Method in class com.codename1.backend.WebSocketSession
Drops the connection with no closing handshake.
abs(double) - Static method in class java.lang.Math
Returns the absolute value of a double value.
abs(float) - Static method in class java.lang.Math
Returns the absolute value of a float value.
abs(int) - Static method in class java.lang.Math
Returns the absolute value of an int value.
abs(long) - Static method in class java.lang.Math
Returns the absolute value of a long value.
AbstractCollection<E> - Class in java.util
Class AbstractCollection is an abstract implementation of the Collection interface.
AbstractCollection() - Constructor for class java.util.AbstractCollection
Constructs a new instance of this AbstractCollection.
AbstractList<E> - Class in java.util
AbstractList is an abstract implementation of the List interface, optimized for a backing store which supports random access.
AbstractList() - Constructor for class java.util.AbstractList
Constructs a new instance of this AbstractList.
AbstractMap<K,V> - Class in java.util
This class is an abstract implementation of the Map interface.
AbstractMap() - Constructor for class java.util.AbstractMap
Constructs a new instance of this AbstractMap.
AbstractMap.SimpleEntry<K,V> - Class in java.util
A key-value mapping.
AbstractMap.SimpleImmutableEntry<K,V> - Class in java.util
An immutable key-value mapping.
AbstractMethodError - Exception Class in java.lang
Exception thrown when an attempt is made to call an abstract method.
AbstractQueue<E> - Class in java.util
AbstractQueue is an abstract class which implements some of the methods in Queue.
AbstractQueue() - Constructor for class java.util.AbstractQueue
Constructor to be used by subclasses.
AbstractSequentialList<E> - Class in java.util
AbstractSequentialList is an abstract implementation of the List interface.
AbstractSequentialList() - Constructor for class java.util.AbstractSequentialList
Constructs a new instance of this AbstractSequentialList.
AbstractSet<E> - Class in java.util
An AbstractSet is an abstract implementation of the Set interface.
AbstractSet() - Constructor for class java.util.AbstractSet
Constructs a new instance of this AbstractSet.
accept() - Method in class com.codename1.backend.ServerSocket
The accepted descriptor, or -1 when nothing was waiting.
accept(int, long) - Method in class com.codename1.backend.Tls
Runs the handshake on an already-blocking descriptor, giving it budgetMillis in total.
accept(T) - Method in interface java.util.function.Consumer
 
accept(T, U) - Method in interface java.util.function.BiConsumer
 
accumulator() - Method in interface java.util.stream.Collector
 
activeCount() - Static method in class java.lang.Thread
Returns the current number of active threads in the virtual machine.
add(int, int) - Method in class com.codename1.backend.Reactor
 
add(int, int) - Method in class java.util.Calendar
Adds the specified amount to a Calendar field.
add(int, E) - Method in class java.util.AbstractList
Inserts the specified object into this List at the specified location.
add(int, E) - Method in class java.util.AbstractSequentialList
 
add(int, E) - Method in class java.util.ArrayList
Inserts the specified object into this ArrayList at the specified location.
add(int, E) - Method in class java.util.LinkedList
Inserts the specified object into this LinkedList at the specified location.
add(int, E) - Method in interface java.util.List
Inserts the specified object into this List at the specified location.
add(int, E) - Method in class java.util.Vector
Adds the specified object into this vector at the specified location.
add(E) - Method in class java.util.AbstractCollection
 
add(E) - Method in class java.util.AbstractList
Adds the specified object at the end of this List.
add(E) - Method in class java.util.AbstractQueue
Adds an element to the queue.
add(E) - Method in class java.util.ArrayDeque
Inserts the element to the tail of the deque.
add(E) - Method in class java.util.ArrayList
Adds the specified object at the end of this ArrayList.
add(E) - Method in interface java.util.Collection
Attempts to add object to the contents of this Collection (optional).
add(E) - Method in class java.util.HashSet
Adds the specified object to this HashSet if not already present.
add(E) - Method in class java.util.LinkedList
Adds the specified object at the end of this LinkedList.
add(E) - Method in interface java.util.List
Adds the specified object at the end of this List.
add(E) - Method in interface java.util.ListIterator
Inserts the specified object into the list between next and previous.
add(E) - Method in class java.util.PriorityQueue
Adds the specified object to the priority queue.
add(E) - Method in interface java.util.Set
Adds the specified object to this set.
add(E) - Method in class java.util.TreeSet
Adds the specified object to this TreeSet.
add(E) - Method in class java.util.Vector
Adds the specified object at the end of this vector.
addAll(int, Collection) - Method in class java.util.AbstractList
Inserts the objects in the specified Collection at the specified location in this List.
addAll(int, Collection) - Method in class java.util.AbstractSequentialList
 
addAll(int, Collection) - Method in class java.util.ArrayList
Inserts the objects in the specified collection at the specified location in this List.
addAll(int, Collection) - Method in class java.util.LinkedList
Inserts the objects in the specified collection at the specified location in this LinkedList.
addAll(int, Collection) - Method in interface java.util.List
Inserts the objects in the specified collection at the specified location in this List.
addAll(int, Collection) - Method in class java.util.Vector
Inserts the objects in the specified collection at the specified location in this vector.
addAll(Collection) - Method in class java.util.AbstractCollection
Attempts to add all of the objects contained in collection to the contents of this Collection (optional).
addAll(Collection) - Method in class java.util.AbstractQueue
Adds all the elements of a collection to the queue.
addAll(Collection) - Method in class java.util.ArrayList
Adds the objects in the specified collection to this ArrayList.
addAll(Collection) - Method in interface java.util.Collection
Attempts to add all of the objects contained in Collection to the contents of this Collection (optional).
addAll(Collection) - Method in class java.util.LinkedList
Adds the objects in the specified Collection to this LinkedList.
addAll(Collection) - Method in interface java.util.List
Adds the objects in the specified collection to the end of this List.
addAll(Collection) - Method in interface java.util.Set
Adds the objects in the specified collection which do not exist yet in this set.
addAll(Collection) - Method in class java.util.TreeSet
Adds the objects in the specified collection to this TreeSet.
addAll(Collection) - Method in class java.util.Vector
Adds the objects in the specified collection to the end of this vector.
addAll(Collection, T...) - Static method in class java.util.Collections
Adds all the specified elements to the specified collection.
addAndGet(int) - Method in class java.util.concurrent.atomic.AtomicInteger
 
addAndGet(long) - Method in class java.util.concurrent.atomic.AtomicLong
 
addElement(E) - Method in class java.util.Vector
Adds the specified object at the end of this vector.
addFirst(E) - Method in class java.util.ArrayDeque
Inserts an element at the head of this deque if it dose not violate size limit immediately.
addFirst(E) - Method in interface java.util.Deque
Inserts an element at the head of this deque if it dose not violate size limit immediately.
addFirst(E) - Method in class java.util.LinkedList
Adds the specified object at the beginning of this LinkedList.
addLast(E) - Method in class java.util.ArrayDeque
Inserts an element at the tail of this deque if it dose not violate size limit immediately.
addLast(E) - Method in interface java.util.Deque
Inserts an element at the tail of this deque if it dose not violate size limit immediately.
addLast(E) - Method in class java.util.LinkedList
Adds the specified object at the end of this LinkedList.
addObserver(Observer) - Method in class java.util.Observable
Adds the specified observer to the list of observers.
addSuppressed(Throwable) - Method in exception class java.lang.Throwable
 
addTo(LocalDate) - Method in class java.time.Period
 
after(Object) - Method in class java.util.Calendar
Compares the time field records.
ALL - Enum constant in enum com.codename1.annotations.db.CascadeType
Propagates all supported cascade operations.
allMatch(Predicate) - Method in interface java.util.stream.Stream
 
ALPN - Static variable in class com.codename1.backend.Http2
The ALPN identifier.
altMetafactory(MethodHandles.Lookup, String, MethodType, Object...) - Static method in class java.lang.invoke.LambdaMetafactory
 
AM - Static variable in class java.util.Calendar
Value of the AM_PM field indicating the period of the day from midnight to just before noon.
AM_PM - Static variable in class java.util.Calendar
Field number for get and set indicating whether the HOUR is before or after noon.
and(BitSet) - Method in class java.util.BitSet
Performs the logical AND of this BitSet with another BitSet.
andNot(BitSet) - Method in class java.util.BitSet
Clears all bits in the receiver which are also set in the parameter BitSet.
Annotation - Interface in java.lang.annotation
A mirror of java.lang.Annotation.
ANNOTATION_TYPE - Enum constant in enum java.lang.annotation.ElementType
 
AnnotationFormatError - Exception Class in java.lang.annotation
A mirror of java.lang.annotation.AnnotationFormatError.
AnnotationFormatError(String) - Constructor for exception class java.lang.annotation.AnnotationFormatError
 
AnnotationFormatError(String, Throwable) - Constructor for exception class java.lang.annotation.AnnotationFormatError
 
AnnotationFormatError(Throwable) - Constructor for exception class java.lang.annotation.AnnotationFormatError
 
annotationType() - Method in interface java.lang.annotation.Annotation
Returns the annotation type of this annotation.
annotationType() - Method in exception class java.lang.annotation.IncompleteAnnotationException
 
anyMatch(Predicate) - Method in interface java.util.stream.Stream
 
append(boolean) - Method in class java.lang.StringBuffer
Appends the string representation of the boolean argument to the string buffer.
append(boolean) - Method in class java.lang.StringBuilder
Appends the string representation of the boolean argument to the string builder.
append(char) - Method in class java.io.StringWriter
 
append(char) - Method in interface java.lang.Appendable
Appends the specified character.
append(char) - Method in class java.lang.StringBuffer
Appends the string representation of the char argument to this string buffer.
append(char) - Method in class java.lang.StringBuilder
Appends the string representation of the char argument to this string builder.
append(char[]) - Method in class java.lang.StringBuilder
 
append(char[], int, int) - Method in class java.lang.StringBuffer
Appends the string representation of a subarray of the char array argument to this string buffer.
append(char[], int, int) - Method in class java.lang.StringBuilder
Appends the string representation of a subarray of the char array argument to this string builder.
append(double) - Method in class java.lang.StringBuffer
Appends the string representation of the double argument to this string buffer.
append(double) - Method in class java.lang.StringBuilder
Appends the string representation of the double argument to this string builder.
append(float) - Method in class java.lang.StringBuffer
Appends the string representation of the float argument to this string buffer.
append(float) - Method in class java.lang.StringBuilder
Appends the string representation of the float argument to this string builder.
append(int) - Method in class java.lang.StringBuffer
Appends the string representation of the int argument to this string buffer.
append(int) - Method in class java.lang.StringBuilder
Appends the string representation of the int argument to this string builder.
append(long) - Method in class java.lang.StringBuffer
Appends the string representation of the long argument to this string buffer.
append(long) - Method in class java.lang.StringBuilder
Appends the string representation of the long argument to this string builder.
append(CharSequence) - Method in class java.io.StringWriter
 
append(CharSequence) - Method in interface java.lang.Appendable
Appends the character sequence csq.
append(CharSequence) - Method in class java.lang.StringBuffer
 
append(CharSequence) - Method in class java.lang.StringBuilder
 
append(CharSequence, int, int) - Method in class java.io.StringWriter
 
append(CharSequence, int, int) - Method in interface java.lang.Appendable
Appends a subsequence of csq.
append(CharSequence, int, int) - Method in class java.lang.StringBuffer
 
append(CharSequence, int, int) - Method in class java.lang.StringBuilder
 
append(Object) - Method in class java.lang.StringBuffer
Appends the string representation of the Object argument to this string buffer.
append(Object) - Method in class java.lang.StringBuilder
Appends the string representation of the Object argument to this string builder.
append(String) - Method in class java.lang.StringBuffer
Appends the string to this string buffer.
append(String) - Method in class java.lang.StringBuilder
Appends the string to this string builder.
append(StringBuffer) - Method in class java.lang.StringBuilder
Appends StringBuffer to end of builder.
Appendable - Interface in java.lang
Declares methods to append characters or character sequences.
appendParameterTypes(Class...) - Method in class java.lang.invoke.MethodType
 
appendParameterTypes(List) - Method in class java.lang.invoke.MethodType
 
apply(T) - Method in interface java.util.function.Function
 
apply(T, T) - Method in interface java.util.function.BinaryOperator
 
apply(T, U) - Method in interface java.util.function.BiFunction
 
applyPattern(String) - Method in class java.text.SimpleDateFormat
Apply a new pattern.
APRIL - Static variable in class java.util.Calendar
Value of the MONTH field indicating the fourth month of the year.
ArithmeticException - Exception Class in java.lang
Thrown when an exceptional arithmetic condition has occurred.
ArithmeticException() - Constructor for exception class java.lang.ArithmeticException
Constructs an ArithmeticException with no detail message.
ArithmeticException(String) - Constructor for exception class java.lang.ArithmeticException
Constructs an ArithmeticException with the specified detail message.
Array - Class in java.lang.reflect
Added this for Kotlin
Array() - Constructor for class java.lang.reflect.Array
 
arraycopy(Object, int, Object, int, int) - Static method in class java.lang.System
Copies an array from the specified source array, beginning at the specified position, to the specified position of the destination array.
ArrayDeque<E> - Class in java.util
An implementation of Deque, backed by an array.
ArrayDeque() - Constructor for class java.util.ArrayDeque
Constructs a new empty instance of ArrayDeque big enough for 16 elements.
ArrayDeque(int) - Constructor for class java.util.ArrayDeque
Constructs a new empty instance of ArrayDeque big enough for specified number of elements.
ArrayDeque(Collection) - Constructor for class java.util.ArrayDeque
Constructs a new instance of ArrayDeque containing the elements of the specified collection, with the order returned by the collection's iterator.
arrayElementGetter(Class) - Static method in class java.lang.invoke.MethodHandles
 
arrayElementSetter(Class) - Static method in class java.lang.invoke.MethodHandles
 
ArrayIndexOutOfBoundsException - Exception Class in java.lang
Thrown to indicate that an array has been accessed with an illegal index.
ArrayIndexOutOfBoundsException() - Constructor for exception class java.lang.ArrayIndexOutOfBoundsException
Constructs an ArrayIndexOutOfBoundsException with no detail message.
ArrayIndexOutOfBoundsException(int) - Constructor for exception class java.lang.ArrayIndexOutOfBoundsException
Constructs a new ArrayIndexOutOfBoundsException class with an argument indicating the illegal index.
ArrayIndexOutOfBoundsException(String) - Constructor for exception class java.lang.ArrayIndexOutOfBoundsException
Constructs an ArrayIndexOutOfBoundsException class with the specified detail message.
ArrayList<E> - Class in java.util
ArrayList is an implementation of List, backed by an array.
ArrayList() - Constructor for class java.util.ArrayList
Constructs a new instance of ArrayList with ten capacity.
ArrayList(int) - Constructor for class java.util.ArrayList
Constructs a new instance of ArrayList with the specified capacity.
ArrayList(Collection) - Constructor for class java.util.ArrayList
Constructs a new instance of ArrayList containing the elements of the specified collection.
Arrays - Class in java.util
Arrays contains static methods which operate on arrays.
ArrayStoreException - Exception Class in java.lang
Thrown to indicate that an attempt has been made to store the wrong type of object into an array of objects.
ArrayStoreException() - Constructor for exception class java.lang.ArrayStoreException
Constructs an ArrayStoreException with no detail message.
ArrayStoreException(String) - Constructor for exception class java.lang.ArrayStoreException
Constructs an ArrayStoreException with the specified detail message.
asCollector(Class, int) - Method in class java.lang.invoke.MethodHandle
 
asFixedArity() - Method in class java.lang.invoke.MethodHandle
 
asLifoQueue(Deque) - Static method in class java.util.Collections
Answers a LIFO Queue as a view of a Deque.
asList(T...) - Static method in class java.util.Arrays
Returns a List of the objects in the specified array.
AssertionError - Exception Class in java.lang
 
AssertionError() - Constructor for exception class java.lang.AssertionError
 
AssertionError(boolean) - Constructor for exception class java.lang.AssertionError
 
AssertionError(char) - Constructor for exception class java.lang.AssertionError
 
AssertionError(double) - Constructor for exception class java.lang.AssertionError
 
AssertionError(float) - Constructor for exception class java.lang.AssertionError
 
AssertionError(int) - Constructor for exception class java.lang.AssertionError
 
AssertionError(long) - Constructor for exception class java.lang.AssertionError
 
AssertionError(Object) - Constructor for exception class java.lang.AssertionError
 
AssertionError(String) - Constructor for exception class java.lang.AssertionError
 
AssertionError(String, Throwable) - Constructor for exception class java.lang.AssertionError
 
assignedKeyColumn(int) - Method in class com.codename1.backend.sql.Dialect
The declaration of a primary key column whose value the APPLICATION assigns -- a UUID, a key issued by another service.
asSpreader(Class, int) - Method in class java.lang.invoke.MethodHandle
 
asSqlite() - Method in class com.codename1.backend.Database
The underlying SQLite handle, or null when this is a server engine.
asSubclass(Class) - Method in class java.lang.Class
Replacement for Class.asSubclass(Class).
asType(MethodType) - Method in class java.lang.invoke.MethodHandle
 
asVarargsCollector(Class) - Method in class java.lang.invoke.MethodHandle
 
AtomicBoolean - Class in java.util.concurrent.atomic
CLDC11 subset stub.
AtomicBoolean() - Constructor for class java.util.concurrent.atomic.AtomicBoolean
 
AtomicBoolean(boolean) - Constructor for class java.util.concurrent.atomic.AtomicBoolean
 
AtomicInteger - Class in java.util.concurrent.atomic
CLDC11 subset stub.
AtomicInteger() - Constructor for class java.util.concurrent.atomic.AtomicInteger
 
AtomicInteger(int) - Constructor for class java.util.concurrent.atomic.AtomicInteger
 
AtomicLong - Class in java.util.concurrent.atomic
CLDC11 subset stub.
AtomicLong() - Constructor for class java.util.concurrent.atomic.AtomicLong
 
AtomicLong(long) - Constructor for class java.util.concurrent.atomic.AtomicLong
 
AtomicReference<V> - Class in java.util.concurrent.atomic
CLDC11 subset stub.
AtomicReference() - Constructor for class java.util.concurrent.atomic.AtomicReference
 
AtomicReference(V) - Constructor for class java.util.concurrent.atomic.AtomicReference
 
atStartOfDay(ZoneId) - Method in class java.time.LocalDate
 
atTime(int, int) - Method in class java.time.LocalDate
 
atTime(int, int, int) - Method in class java.time.LocalDate
 
atTime(int, int, int, int) - Method in class java.time.LocalDate
 
atTime(LocalTime) - Method in class java.time.LocalDate
 
AttributeConverter<T,S> - Interface in com.codename1.orm.session
Reflection-free conversion between a domain value and one SQL scalar.
ATTRIBUTES_EXCLUDE - Static variable in class com.codename1.backend.otel.OtlpTracer
 
AUGUST - Static variable in class java.util.Calendar
Value of the MONTH field indicating the eighth month of the year.
authorization(Credentials, String, String, String, String, Map, Map, String, String) - Static method in class com.codename1.backend.aws.Aws
The Authorization header value for one request.
AutoCloseable - Interface in java.lang
 
autoIncrement() - Element in annotation type com.codename1.annotations.Id
When true (the default) the database assigns the key and the generated dao reads it back into the field after an insert.
available() - Method in class java.io.ByteArrayInputStream
Returns the number of bytes that can be read from this input stream without blocking.
available() - Method in class java.io.DataInputStream
Returns the number of bytes that can be read from this input stream without blocking.
available() - Method in class java.io.InputStream
Returns the number of bytes that can be read (or skipped over) from this input stream without blocking by the next caller of a method for this input stream.
availableProcessors() - Static method in class com.codename1.backend.ServerSocket
Cores available to this process.
await(int[], int) - Method in class com.codename1.backend.Reactor
Blocks until something is ready, then fills readyFds and returns how many.
awaitReadable(int, int) - Static method in class com.codename1.backend.ServerSocket
Waits for the socket to become readable, for at most timeoutMillis.
awaitShutdownSignal() - Static method in class com.codename1.backend.Signals
Blocks until SIGINT or SIGTERM arrives.
awaitTermination() - Method in class com.codename1.backend.Backend
Blocks until the server stops.
awaitTermination() - Method in class com.codename1.backend.HttpServer
Blocks until the server has fully stopped, draining included.
Aws - Class in com.codename1.backend.aws
AWS Signature Version 4, and the request plumbing every AWS service shares.

B

Backend - Class in com.codename1.backend
A configured, running server: the twenty lines every main used to open with, written once.
Backend.Builder - Class in com.codename1.backend
Collects what a server needs and starts one.
Backend.Handlers - Interface in com.codename1.backend
Where the handlers are built, once the things they need exist.
Backend.WebSocketEndpoints - Interface in com.codename1.backend
Where a server's websocket endpoints come from.
backlog(int) - Method in class com.codename1.backend.Backend.Builder
The listen backlog.
Base64 - Class in com.codename1.backend
Standard base64 (RFC 4648 section 4), with padding.
Base64Url - Class in com.codename1.backend
Base64url without padding, as JSON Web Tokens use it.
BaseStream<T,S> - Interface in java.util.stream
 
BATCH_SIZE - Static variable in class com.codename1.backend.otel.OtlpTracer
 
bearer(String) - Static method in class com.codename1.backend.Jwt
Pulls the token out of an "Authorization: Bearer ..." header.
before(Object) - Method in class java.util.Calendar
Compares the time field records.
begin() - Method in class com.codename1.backend.sql.MySql
Opens a transaction.
beginExclusiveTransaction() - Method in class com.codename1.backend.Database
Begins a transaction reserved to the calling thread until commit, rollback, or close.
beginTransaction() - Method in class com.codename1.backend.Database
Begins a transaction reserved to the calling thread until commit, rollback, or close.
beginTransaction() - Method in interface com.codename1.orm.session.Session
Starts a transaction for this session.
BENEATH_UNSUPPORTED - Static variable in class com.codename1.backend.FileIo
openBeneath cannot answer here; fall back to open plus a resolved-path check.
BiConsumer<T,U> - Interface in java.util.function
 
BiFunction<T,U,R> - Interface in java.util.function
 
BIGINT - Static variable in class com.codename1.backend.sql.Dialect
A 64-bit integer.
BinaryOperator<T> - Interface in java.util.function
 
binarySearch(byte[], byte) - Static method in class java.util.Arrays
Performs a binary search for the specified element in the specified ascending sorted array.
binarySearch(byte[], int, int, byte) - Static method in class java.util.Arrays
Performs a binary search for the specified element in a part of the specified sorted array.
binarySearch(char[], char) - Static method in class java.util.Arrays
Performs a binary search for the specified element in the specified sorted array.
binarySearch(char[], int, int, char) - Static method in class java.util.Arrays
Performs a binary search for the specified element in a part of the specified sorted array.
binarySearch(double[], double) - Static method in class java.util.Arrays
Performs a binary search for the specified element in the specified sorted array.
binarySearch(double[], int, int, double) - Static method in class java.util.Arrays
Performs a binary search for the specified element in a part of the specified sorted array.
binarySearch(float[], float) - Static method in class java.util.Arrays
Performs a binary search for the specified element in the specified sorted array.
binarySearch(float[], int, int, float) - Static method in class java.util.Arrays
Performs a binary search for the specified element in a part of the specified sorted array.
binarySearch(int[], int) - Static method in class java.util.Arrays
Performs a binary search for the specified element in the specified sorted array.
binarySearch(int[], int, int, int) - Static method in class java.util.Arrays
Performs a binary search for the specified element in a part of the specified sorted array.
binarySearch(long[], int, int, long) - Static method in class java.util.Arrays
Performs a binary search for the specified element in a part of the specified sorted array.
binarySearch(long[], long) - Static method in class java.util.Arrays
Performs a binary search for the specified element in the specified sorted array.
binarySearch(short[], int, int, short) - Static method in class java.util.Arrays
Performs a binary search for the specified element in a part of the specified sorted array.
binarySearch(short[], short) - Static method in class java.util.Arrays
Performs a binary search for the specified element in the specified sorted array.
binarySearch(Object[], int, int, Object) - Static method in class java.util.Arrays
Performs a binary search for the specified element in a part of the specified sorted array.
binarySearch(Object[], Object) - Static method in class java.util.Arrays
Performs a binary search for the specified element in the specified sorted array.
binarySearch(List, T) - Static method in class java.util.Collections
Performs a binary search for the specified element in the specified sorted list.
binarySearch(List, T, Comparator) - Static method in class java.util.Collections
Performs a binary search for the specified element in the specified sorted list using the specified comparator.
binarySearch(T[], int, int, T, Comparator) - Static method in class java.util.Arrays
Performs a binary search for the specified element in a part of the specified sorted array using the Comparator to compare elements.
binarySearch(T[], T, Comparator) - Static method in class java.util.Arrays
Performs a binary search for the specified element in the specified sorted array using the Comparator to compare elements.
bind(Object, String, MethodType) - Method in class java.lang.invoke.MethodHandles.Lookup
 
bind(String, int) - Method in class com.codename1.backend.sql.Dialect
sql written in the portable form, rendered for this engine.
bind(String, int, int) - Static method in class com.codename1.backend.ServerSocket
  • host: null or "0.0.0.0" to listen on every interface
bindTo(Object) - Method in class java.lang.invoke.MethodHandle
 
BitSet - Class in java.util
The BitSet class implements a bit field.
BitSet() - Constructor for class java.util.BitSet
Create a new BitSet with size equal to 64 bits.
BitSet(int) - Constructor for class java.util.BitSet
Create a new BitSet with size equal to nbits.
BLOB - Static variable in class com.codename1.backend.sql.Dialect
Arbitrary bytes.
Boolean - Class in java.lang
The Boolean class wraps a value of the primitive type boolean in an object.
Boolean(boolean) - Constructor for class java.lang.Boolean
Allocates a Boolean object representing the value argument.
BOOLEAN - Static variable in class com.codename1.backend.sql.Dialect
True or false, stored as 0 or 1.
booleanValue() - Method in class java.lang.Boolean
Returns the value of this Boolean object as a boolean primitive.
borrow() - Method in class com.codename1.backend.DataSource
Takes a connection, blocking until one is free.
borrow() - Method in class com.codename1.backend.DbPool
Takes a connection, blocking until one is free.
buf - Variable in class java.io.ByteArrayInputStream
An array of bytes that was provided by the creator of the stream.
buf - Variable in class java.io.ByteArrayOutputStream
The buffer where data is stored.
builder() - Static method in class com.codename1.backend.Backend
A builder whose defaults come from the configuration this process sees.
builder(Config) - Static method in class com.codename1.backend.Backend
A builder over a configuration the caller already loaded or built.
Byte - Class in java.lang
The Byte class is the standard wrapper for byte values.
Byte(byte) - Constructor for class java.lang.Byte
Constructs a Byte object initialized to the specified byte value.
ByteArrayInputStream - Class in java.io
A ByteArrayInputStream contains an internal buffer that contains bytes that may be read from the stream.
ByteArrayInputStream(byte[]) - Constructor for class java.io.ByteArrayInputStream
Creates a ByteArrayInputStream so that it uses buf as its buffer array.
ByteArrayInputStream(byte[], int, int) - Constructor for class java.io.ByteArrayInputStream
Creates ByteArrayInputStream that uses buf as its buffer array.
ByteArrayOutputStream - Class in java.io
This class implements an output stream in which the data is written into a byte array.
ByteArrayOutputStream() - Constructor for class java.io.ByteArrayOutputStream
Creates a new byte array output stream.
ByteArrayOutputStream(int) - Constructor for class java.io.ByteArrayOutputStream
Creates a new byte array output stream, with a buffer capacity of the specified size, in bytes.
bytes() - Method in class com.codename1.backend.ByteSink
The backing array.
ByteSink - Class in com.codename1.backend
A growable byte buffer that callers reuse.
ByteSink(int) - Constructor for class com.codename1.backend.ByteSink
 
bytesTransferred - Variable in exception class java.io.InterruptedIOException
Reports how many bytes had been transferred as part of the I/O operation before it was interrupted.
byteValue() - Method in class java.lang.Byte
Returns the value of this Byte as a byte.
byteValue() - Method in class java.lang.Double
Returns the value of this Double as a byte (by casting to a byte).
byteValue() - Method in class java.lang.Float
Returns the value of this Float as a byte (by casting to a byte).
byteValue() - Method in class java.lang.Integer
Returns the value of this Integer as a byte.
byteValue() - Method in class java.lang.Long
Returns the value of this Long as a byte value.
byteValue() - Method in class java.lang.Number
 

C

Calendar - Class in java.util
Calendar is an abstract base class for converting between a Date object and a set of integer fields such as YEAR, MONTH, DAY, HOUR, and so on.
Calendar() - Constructor for class java.util.Calendar
Constructs a Calendar with the default time zone.
CallSite - Class in java.lang.invoke
Deprecated
CallSite() - Constructor for class java.lang.invoke.CallSite
 
cancel() - Method in class java.util.Timer
 
cancel() - Method in class java.util.TimerTask
 
canonicalQuery(Map) - Static method in class com.codename1.backend.aws.Aws
Query parameters sorted by name, each name and value percent-encoded.
capacity() - Method in class java.lang.StringBuffer
Returns the current capacity of the String buffer.
capacity() - Method in class java.lang.StringBuilder
Returns the current capacity of the String builder.
capacity() - Method in class java.util.Vector
Returns the number of elements this vector can hold without growing.
capacityIncrement - Variable in class java.util.Vector
How many elements should be added to the vector when it is detected that it needs to grow to accommodate extra entries.
cardinality() - Method in class java.util.BitSet
Returns the number of bits that are true in this BitSet.
cascade() - Element in annotation type com.codename1.annotations.db.ManyToMany
Chooses operations to propagate to related entities.
cascade() - Element in annotation type com.codename1.annotations.db.ManyToOne
Chooses operations to propagate to related entities.
cascade() - Element in annotation type com.codename1.annotations.db.OneToMany
Chooses operations to propagate to related entities.
cascade() - Element in annotation type com.codename1.annotations.db.OneToOne
Chooses operations to propagate to related entities.
CascadeType - Enum in com.codename1.annotations.db
Operations propagated from an entity to its related entities.
CASE_INSENSITIVE_ORDER - Static variable in class java.lang.String
 
cast(Object) - Method in class java.lang.Class
Replacement for Class.cast(Object).
catchException(MethodHandle, Class, MethodHandle) - Static method in class java.lang.invoke.MethodHandles
 
ceil(double) - Static method in class java.lang.Math
Returns the smallest (closest to negative infinity) double value that is not less than the argument and is equal to a mathematical integer.
ceiling(E) - Method in interface java.util.NavigableSet
Answers the smallest element bigger than or equal to the specified one, or null if no such element.
ceiling(E) - Method in class java.util.TreeSet
Answers the smallest element bigger than or equal to the specified one, or null if no such element.
ceilingEntry(K) - Method in interface java.util.NavigableMap
Answers an entry related with the smallest key greater than or equal to the specified key, or null if no such key.
ceilingEntry(K) - Method in class java.util.TreeMap
Answers an entry related with the smallest key greater than or equal to the specified key, or null if no such key.
ceilingKey(K) - Method in interface java.util.NavigableMap
Answers the smallest key greater than or equal to the specified key, or null if no such key.
ceilingKey(K) - Method in class java.util.TreeMap
Answers the smallest key greater than or equal to the specified key, or null if no such key.
changeParameterType(int, Class) - Method in class java.lang.invoke.MethodType
 
changeReturnType(Class) - Method in class java.lang.invoke.MethodType
 
Character - Class in java.lang
The Character class wraps a value of the primitive type char in an object.
Character(char) - Constructor for class java.lang.Character
Constructs a Character object and initializes it so that it represents the primitive value argument.
charAt(int) - Method in interface java.lang.CharSequence
Returns the character at the specified index, with the first character having index zero.
charAt(int) - Method in class java.lang.String
Returns the character at the specified index.
charAt(int) - Method in class java.lang.StringBuffer
The specified character of the sequence currently represented by the string buffer, as indicated by the index argument, is returned.
charAt(int) - Method in class java.lang.StringBuilder
The specified character of the sequence currently represented by the string builder, as indicated by the index argument, is returned.
charCount(int) - Static method in class java.lang.Character
Calculates the number of char values required to represent the Unicode code point.
CharSequence - Interface in java.lang
This interface represents an ordered set of characters and defines the methods to probe them.
Charset - Class in java.nio.charset
Added this for Kotlin
Charset(String, String[]) - Constructor for class java.nio.charset.Charset
 
charValue() - Method in class java.lang.Character
Returns the value of this Character object.
checkedCollection(Collection, Class) - Static method in class java.util.Collections
Returns a dynamically typesafe view of the specified collection.
checkError() - Method in class java.io.PrintStream
Flush the stream and check its error state.
checkHeaderLines(List) - Static method in class com.codename1.backend.Tracing
Applies the rules Web enforces on request header lines to lines an exporter will send, so a tracer can refuse a bad configuration when it is opened.
Class<T> - Class in java.lang
Instances of the class Class represent classes and interfaces in a running Java application.
Class() - Constructor for class java.lang.Class
 
CLASS - Enum constant in enum java.lang.annotation.RetentionPolicy
 
ClassCastException - Exception Class in java.lang
Thrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance.
ClassCastException() - Constructor for exception class java.lang.ClassCastException
Constructs a ClassCastException with no detail message.
ClassCastException(String) - Constructor for exception class java.lang.ClassCastException
Constructs a ClassCastException with the specified detail message.
ClassLoader - Class in java.lang
 
ClassLoader() - Constructor for class java.lang.ClassLoader
 
ClassLoader(ClassLoader) - Constructor for class java.lang.ClassLoader
 
ClassNotFoundException - Exception Class in java.lang
Thrown when an application tries to load in a class through its string name using the forName method in class Class but no definition for the class with the specified name could be found.
ClassNotFoundException() - Constructor for exception class java.lang.ClassNotFoundException
Constructs a ClassNotFoundException with no detail message.
ClassNotFoundException(String) - Constructor for exception class java.lang.ClassNotFoundException
Constructs a ClassNotFoundException with the specified detail message.
clear() - Method in interface com.codename1.orm.session.Session
Detaches every entity and discards all unflushed changes.
clear() - Method in class java.lang.ref.Reference
Clears this reference object.
clear() - Method in class java.util.AbstractCollection
Removes all elements from this Collection, leaving it empty (optional).
clear() - Method in class java.util.AbstractList
Removes all elements from this list, leaving it empty.
clear() - Method in class java.util.AbstractMap
Removes all elements from this map, leaving it empty.
clear() - Method in class java.util.AbstractQueue
Removes all elements of the queue, leaving it empty.
clear() - Method in class java.util.ArrayDeque
Empty the deque.
clear() - Method in class java.util.ArrayList
Removes all elements from this ArrayList, leaving it empty.
clear() - Method in class java.util.BitSet
Clears all the bits in this BitSet.
clear() - Method in interface java.util.Collection
Removes all elements from this Collection, leaving it empty (optional).
clear() - Method in class java.util.HashMap
Removes all mappings from this hash map, leaving it empty.
clear() - Method in class java.util.HashSet
Removes all elements from this HashSet, leaving it empty.
clear() - Method in class java.util.Hashtable
Removes all key/value pairs from this Hashtable, leaving the size zero and the capacity unchanged.
clear() - Method in class java.util.IdentityHashMap
Removes all elements from this map, leaving it empty.
clear() - Method in class java.util.LinkedHashMap
Removes all elements from this map, leaving it empty.
clear() - Method in class java.util.LinkedList
Removes all elements from this LinkedList, leaving it empty.
clear() - Method in interface java.util.List
Removes all elements from this List, leaving it empty.
clear() - Method in interface java.util.Map
Removes all elements from this Map, leaving it empty.
clear() - Method in class java.util.PriorityQueue
Removes all the elements of the priority queue.
clear() - Method in interface java.util.Set
Removes all elements from this set, leaving it empty.
clear() - Method in class java.util.TreeMap
Removes all mappings from this TreeMap, leaving it empty.
clear() - Method in class java.util.TreeSet
Removes all elements from this TreeSet, leaving it empty.
clear() - Method in class java.util.Vector
Removes all elements from this vector, leaving it empty.
clear(int) - Method in class java.util.BitSet
Clears the bit at index pos.
clear(int, int) - Method in class java.util.BitSet
Clears the bits starting from pos1 to pos2.
clearChanged() - Method in class java.util.Observable
Clears the changed flag for this Observable.
Clock - Class in java.time
 
Clock() - Constructor for class java.time.Clock
 
clone() - Method in class java.lang.Enum
 
clone() - Method in class java.lang.Object
 
clone() - Method in class java.text.DateFormat
 
clone() - Method in class java.text.DateFormatSymbols
 
clone() - Method in class java.text.SimpleDateFormat
 
Cloneable - Interface in java.lang
This (empty) interface must be implemented by all classes that wish to support cloning.
CloneNotSupportedException - Exception Class in java.lang
Thrown when a program attempts to clone an object which does not support the Cloneable interface.
CloneNotSupportedException() - Constructor for exception class java.lang.CloneNotSupportedException
Constructs a new CloneNotSupportedException that includes the current stack trace.
CloneNotSupportedException(String) - Constructor for exception class java.lang.CloneNotSupportedException
Constructs a new CloneNotSupportedException with the current stack trace and the specified detail message.
close() - Method in class com.codename1.backend.Database
SYNCHRONIZED, like execute, query and transaction on this class.
close() - Method in class com.codename1.backend.DataSource
Closes every connection.
close() - Method in class com.codename1.backend.Db
SYNCHRONIZED, like execute, query and transaction, and it keeps the handle when the close does not take.
close() - Method in class com.codename1.backend.DbPool
 
close() - Method in class com.codename1.backend.Http2
 
close() - Method in class com.codename1.backend.orm.EntityManager
Closes the pool, or the connection, this manager was opened over.
close() - Method in class com.codename1.backend.Reactor
 
close() - Method in class com.codename1.backend.ServerSocket
 
close() - Method in class com.codename1.backend.sql.MySql
 
close() - Method in class com.codename1.backend.sql.Postgres
 
close() - Method in class com.codename1.backend.Tcp
Closes the connection, and does not release anything an operation still holds.
close() - Method in class com.codename1.backend.Tls
 
close() - Method in class com.codename1.backend.WebSocketSession
A normal close, code 1000, no reason.
close() - Method in interface com.codename1.orm.session.Session
Rolls back any active transaction, detaches entities, and releases session resources.
close() - Method in class java.io.ByteArrayInputStream
Closes this input stream and releases any system resources associated with the stream.
close() - Method in class java.io.ByteArrayOutputStream
Closes this output stream and releases any system resources associated with this stream.
close() - Method in class java.io.DataInputStream
Closes this input stream and releases any system resources associated with the stream.
close() - Method in class java.io.DataOutputStream
Closes this output stream and releases any system resources associated with the stream.
close() - Method in class java.io.InputStream
Closes this input stream and releases any system resources associated with the stream.
close() - Method in class java.io.InputStreamReader
Close the stream.
close() - Method in class java.io.OutputStream
Closes this output stream and releases any system resources associated with this stream.
close() - Method in class java.io.OutputStreamWriter
Close the stream.
close() - Method in class java.io.PrintStream
Close the stream.
close() - Method in class java.io.Reader
Close the stream.
close() - Method in class java.io.StringReader
Closes this reader.
close() - Method in class java.io.StringWriter
 
close() - Method in class java.io.Writer
Close the stream, flushing it first.
close() - Method in interface java.lang.AutoCloseable
 
close() - Method in interface java.util.stream.BaseStream
 
close(int) - Static method in class com.codename1.backend.FileIo
 
close(int, String) - Method in class com.codename1.backend.WebSocketSession
Starts the closing handshake.
closedStreams() - Method in class com.codename1.backend.Http2
The streams that have closed since the last call, as (stream id, HTTP/2 error code) pairs; null when none have.
closeFd(int) - Static method in class com.codename1.backend.ServerSocket
 
codePointAt(char[], int) - Static method in class java.lang.Character
Returns the code point at the index in the char[].
codePointAt(char[], int, int) - Static method in class java.lang.Character
Returns the code point at the index in the char[] that's within the limit.
codePointAt(CharSequence, int) - Static method in class java.lang.Character
Returns the code point at the index in the CharSequence.
codePointBefore(char[], int) - Static method in class java.lang.Character
Returns the Unicode code point that proceeds the index in the char[].
codePointBefore(char[], int, int) - Static method in class java.lang.Character
Returns the Unicode code point that proceeds the index in the char[] and isn't less than start.
codePointBefore(CharSequence, int) - Static method in class java.lang.Character
Returns the Unicode code point that proceeds the index in the CharSequence.
codePointCount(char[], int, int) - Static method in class java.lang.Character
Counts the number of Unicode code points in the subsequence of the char[], as delineated by the offset and count.
codePointCount(CharSequence, int, int) - Static method in class java.lang.Character
Counts the number of Unicode code points in the subsequence of the CharSequence, as delineated by the beginIndex and endIndex.
collapse(String) - Static method in class com.codename1.backend.aws.Aws
Leading and trailing space removed, internal runs collapsed to one space.
collect(Collector) - Method in interface java.util.stream.Stream
 
collectArguments(MethodHandle, int, MethodHandle) - Static method in class java.lang.invoke.MethodHandles
 
Collection<E> - Interface in java.util
Collection is the root of the collection hierarchy.
Collections - Class in java.util
Collections contains static methods which operate on Collection classes.
Collector<T,A,R> - Interface in java.util.stream
 
Collectors - Class in java.util.stream
 
column() - Element in annotation type com.codename1.annotations.db.ElementCollection
Names the scalar value column in the collection table.
Column - Annotation Type in com.codename1.annotations
Renames or constrains an @Entity field's column.
ColumnDefinition - Class in com.codename1.backend.orm
One persisted field of an entity: what it is called in Java, what it is called in the database, and what kind of value it holds.
ColumnDefinition(String, String, int, boolean, String, boolean, boolean) - Constructor for class com.codename1.backend.orm.ColumnDefinition
 
columns() - Method in class com.codename1.backend.orm.EntityDefinition
Every persisted column, in a fixed order that indexes into get and set.
columnType(int) - Method in class com.codename1.backend.sql.Dialect
What this engine calls one of the portable kinds above.
com.codename1.annotations - package com.codename1.annotations
Codename One specific Java annotations used by the build pipeline and the ParparVM bytecode translator to mark methods and classes for special treatment -- e.g.
com.codename1.annotations.db - package com.codename1.annotations.db
Mapping annotations for managed database persistence.
com.codename1.backend - package com.codename1.backend
The Codename One backend runtime: the server side of an application, written in the same Java as the app and compiled to a native server binary.
com.codename1.backend.annotations - package com.codename1.backend.annotations
Annotations that turn an ordinary class into an HTTP or websocket endpoint.
com.codename1.backend.aws - package com.codename1.backend.aws
Amazon Web Services from a backend: request signing, credentials, and S3.
com.codename1.backend.orm - package com.codename1.backend.orm
The build-time ORM on the server: entity classes in, typed data access objects out.
com.codename1.backend.otel - package com.codename1.backend.otel
OpenTelemetry tracing for a backend, exported over OTLP/HTTP without an OpenTelemetry library.
com.codename1.backend.sql - package com.codename1.backend.sql
The database engines a backend talks to, and what they spell differently.
com.codename1.orm.session - package com.codename1.orm.session
Managed persistence contexts and queries for the client and backend ORMs.
combiner() - Method in interface java.util.stream.Collector
 
commit() - Method in class com.codename1.backend.sql.MySql
 
commitTransaction() - Method in class com.codename1.backend.Database
Commits the transaction opened through this API.
commitTransaction() - Method in interface com.codename1.orm.session.Session
Flushes pending changes and commits the active transaction.
Comparable<T> - Interface in java.lang
This interface should be implemented by all classes that wish to define a
comparator() - Method in class java.util.PriorityQueue
Gets the comparator of the priority queue.
comparator() - Method in interface java.util.SortedMap
Returns the comparator used to compare keys in this sorted map.
comparator() - Method in interface java.util.SortedSet
Returns the comparator used to compare elements in this SortedSet.
comparator() - Method in class java.util.TreeMap
Returns the comparator used to compare elements in this map.
comparator() - Method in class java.util.TreeSet
Returns the comparator used to compare elements in this TreeSet.
Comparator<T> - Interface in java.util
A Comparator is used to compare two objects to determine their ordering with respect to each other.
compare(byte, byte) - Method in class java.lang.Byte
 
compare(double, double) - Static method in class java.lang.Double
 
compare(float, float) - Static method in class java.lang.Float
 
compare(int, int) - Static method in class java.lang.Integer
 
compare(long, long) - Static method in class java.lang.Long
 
compare(short, short) - Static method in class java.lang.Short
 
compare(T, T) - Method in interface java.util.Comparator
Compares the two specified objects to determine their relative ordering.
compare(T, T, Comparator) - Static method in class java.util.Objects
 
compareAndSet(boolean, boolean) - Method in class java.util.concurrent.atomic.AtomicBoolean
 
compareAndSet(int, int) - Method in class java.util.concurrent.atomic.AtomicInteger
 
compareAndSet(long, long) - Method in class java.util.concurrent.atomic.AtomicLong
 
compareAndSet(V, V) - Method in class java.util.concurrent.atomic.AtomicReference
 
compareTo(E) - Method in class java.lang.Enum
 
compareTo(Boolean) - Method in class java.lang.Boolean
 
compareTo(Byte) - Method in class java.lang.Byte
 
compareTo(Double) - Method in class java.lang.Double
 
compareTo(Float) - Method in class java.lang.Float
 
compareTo(Integer) - Method in class java.lang.Integer
 
compareTo(Long) - Method in class java.lang.Long
 
compareTo(Short) - Method in class java.lang.Short
 
compareTo(String) - Method in class java.lang.String
Compares two strings lexicographically.
compareTo(Charset) - Method in class java.nio.charset.Charset
 
compareTo(Duration) - Method in class java.time.Duration
 
compareTo(Instant) - Method in class java.time.Instant
 
compareTo(LocalDate) - Method in class java.time.LocalDate
 
compareTo(LocalDateTime) - Method in class java.time.LocalDateTime
 
compareTo(LocalTime) - Method in class java.time.LocalTime
 
compareTo(OffsetDateTime) - Method in class java.time.OffsetDateTime
 
compareTo(ZonedDateTime) - Method in class java.time.ZonedDateTime
 
compareTo(Date) - Method in class java.util.Date
 
compareTo(T) - Method in interface java.lang.Comparable
Compares this object to the specified object to determine their relative order.
compareToIgnoreCase(String) - Method in class java.lang.String
 
comparison(String, boolean) - Method in class com.codename1.backend.sql.Dialect
The left side of an ORDERING comparison -- >, >=, <, <= -- on a column of this kind.
compute(K, BiFunction) - Method in interface java.util.Map
Attempts to compute a mapping for the specified key and its current mapped value (or null if there is no current mapping).
computeFields() - Method in class java.util.Calendar
Converts the current millisecond time value time to field values in fields[].
computeIfAbsent(K, Function) - Method in interface java.util.Map
If the specified key is not already associated with a value (or is mapped to null), attempts to compute its value using the given mapping function and enters it into this map unless null.
computeIfPresent(K, BiFunction) - Method in interface java.util.Map
If the value for the specified key is present and non-null, attempts to compute a new mapping given the key and its current mapped value.
computeTime() - Method in class java.util.Calendar
Converts the current field values in fields[] to the millisecond time value time.
concat(String) - Method in class java.lang.String
Concatenates the specified string to the end of this string.
ConcurrentModificationException - Exception Class in java.util
An ConcurrentModificationException is thrown when a Collection is modified and an existing iterator on the Collection is used to modify the Collection as well.
ConcurrentModificationException() - Constructor for exception class java.util.ConcurrentModificationException
Constructs a new ConcurrentModificationException with the current stack trace filled in.
ConcurrentModificationException(String) - Constructor for exception class java.util.ConcurrentModificationException
Constructs a new ConcurrentModificationException with the current stack trace and message filled in.
Config - Class in com.codename1.backend
Where a server's settings come from, in one resolution order.
connect(String, int, int) - Static method in class com.codename1.backend.Tcp
 
connect(String, int, String, String, String, String, String, int, int) - Static method in class com.codename1.backend.sql.MySql
Connects, optionally upgrades to TLS, and authenticates.
connect(String, int, String, String, String, String, String, int, int) - Static method in class com.codename1.backend.sql.Postgres
Connects, negotiates TLS when asked, authenticates, and returns a session ready for queries.
constant(Class, Object) - Static method in class java.lang.invoke.MethodHandles
 
Constructor - Class in java.lang.reflect
 
Constructor() - Constructor for class java.lang.reflect.Constructor
 
CONSTRUCTOR - Enum constant in enum java.lang.annotation.ElementType
 
Consumer<T> - Interface in java.util.function
 
contains(CharSequence) - Method in class java.lang.String
Checks if string contains the given char sequence.
contains(Object) - Method in interface com.codename1.orm.session.Session
Tests whether this session manages an entity that is not scheduled for removal.
contains(Object) - Method in class java.util.AbstractCollection
Tests whether this Collection contains the specified object.
contains(Object) - Method in class java.util.ArrayDeque
Returns true if the specified element is in the deque.
contains(Object) - Method in class java.util.ArrayList
Searches this ArrayList for the specified object.
contains(Object) - Method in interface java.util.Collection
Tests whether this Collection contains the specified object.
contains(Object) - Method in class java.util.HashSet
Searches this HashSet for the specified object.
contains(Object) - Method in class java.util.Hashtable
Returns true if this Hashtable contains the specified object as the value of at least one of the key/value pairs.
contains(Object) - Method in class java.util.LinkedList
Searches this LinkedList for the specified object.
contains(Object) - Method in interface java.util.List
Tests whether this List contains the specified object.
contains(Object) - Method in class java.util.PriorityQueue
Answers if there is an element in this queue equals to the object.
contains(Object) - Method in interface java.util.Set
Searches this set for the specified object.
contains(Object) - Method in class java.util.TreeSet
Searches this TreeSet for the specified object.
contains(Object) - Method in class java.util.Vector
Searches this vector for the specified object.
containsAll(Collection) - Method in class java.util.AbstractCollection
Tests whether this Collection contains all objects contained in the specified Collection.
containsAll(Collection) - Method in interface java.util.Collection
Tests whether this Collection contains all objects contained in the specified Collection.
containsAll(Collection) - Method in interface java.util.List
Tests whether this List contains all objects contained in the specified collection.
containsAll(Collection) - Method in interface java.util.Set
Searches this set for all objects in the specified collection.
containsAll(Collection) - Method in class java.util.Vector
Searches this vector for all objects in the specified collection.
containsElement(String, Object) - Method in interface com.codename1.orm.session.Query
Adds a scalar collection membership predicate without loading the collection.
containsKey(Object) - Method in class java.util.AbstractMap
Returns whether this map contains the specified key.
containsKey(Object) - Method in class java.util.HashMap
Returns whether this map contains the specified key.
containsKey(Object) - Method in class java.util.Hashtable
Returns true if this Hashtable contains the specified object as a key of one of the key/value pairs.
containsKey(Object) - Method in class java.util.IdentityHashMap
Returns whether this map contains the specified key.
containsKey(Object) - Method in interface java.util.Map
Returns whether this Map contains the specified key.
containsKey(Object) - Method in class java.util.TreeMap
Returns whether this map contains the specified key.
containsValue(Object) - Method in class java.util.AbstractMap
Returns whether this map contains the specified value.
containsValue(Object) - Method in class java.util.HashMap
Returns whether this map contains the specified value.
containsValue(Object) - Method in class java.util.Hashtable
Searches this Hashtable for the specified value.
containsValue(Object) - Method in class java.util.IdentityHashMap
Returns whether this map contains the specified value.
containsValue(Object) - Method in class java.util.LinkedHashMap
 
containsValue(Object) - Method in interface java.util.Map
Returns whether this Map contains the specified value.
containsValue(Object) - Method in class java.util.TreeMap
Returns whether this map contains the specified value.
contentEquals(CharSequence) - Method in class java.lang.String
 
contentEquals(StringBuffer) - Method in class java.lang.String
 
Convert - Annotation Type in com.codename1.annotations.db
A public no-arg converter for a basic field; converters also receive null values.
converter() - Element in annotation type com.codename1.annotations.db.Convert
Selects the domain converter.
copy(List, List) - Static method in class java.util.Collections
Copies the elements from the source list to the destination list.
copyInto(Object[]) - Method in class java.util.Vector
Attempts to copy elements contained by this Vector into the corresponding elements of the supplied Object array.
copyOf(boolean[], int) - Static method in class java.util.Arrays
 
copyOf(byte[], int) - Static method in class java.util.Arrays
 
copyOf(char[], int) - Static method in class java.util.Arrays
 
copyOf(double[], int) - Static method in class java.util.Arrays
 
copyOf(float[], int) - Static method in class java.util.Arrays
 
copyOf(int[], int) - Static method in class java.util.Arrays
 
copyOf(long[], int) - Static method in class java.util.Arrays
 
copyOf(short[], int) - Static method in class java.util.Arrays
 
copyOf(T[], int) - Static method in class java.util.Arrays
 
copyOf(T[], int, Class) - Static method in class java.util.Arrays
 
copyOfRange(boolean[], int, int) - Static method in class java.util.Arrays
Copies elements in original array to a new array, from index start(inclusive) to end(exclusive).
copyOfRange(byte[], int, int) - Static method in class java.util.Arrays
Copies elements in original array to a new array, from index start(inclusive) to end(exclusive).
copyOfRange(char[], int, int) - Static method in class java.util.Arrays
Copies elements in original array to a new array, from index start(inclusive) to end(exclusive).
copyOfRange(double[], int, int) - Static method in class java.util.Arrays
Copies elements in original array to a new array, from index start(inclusive) to end(exclusive).
copyOfRange(float[], int, int) - Static method in class java.util.Arrays
Copies elements in original array to a new array, from index start(inclusive) to end(exclusive).
copyOfRange(int[], int, int) - Static method in class java.util.Arrays
Copies elements in original array to a new array, from index start(inclusive) to end(exclusive).
copyOfRange(long[], int, int) - Static method in class java.util.Arrays
Copies elements in original array to a new array, from index start(inclusive) to end(exclusive).
copyOfRange(short[], int, int) - Static method in class java.util.Arrays
Copies elements in original array to a new array, from index start(inclusive) to end(exclusive).
copyOfRange(T[], int, int) - Static method in class java.util.Arrays
 
copyOfRange(U[], int, int, Class) - Static method in class java.util.Arrays
 
copyValueOf(char[]) - Static method in class java.lang.String
 
copyValueOf(char[], int, int) - Static method in class java.lang.String
 
cos(double) - Static method in class java.lang.Math
Returns the trigonometric cosine of an angle.
count - Variable in class java.io.ByteArrayInputStream
The index one greater than the last valid character in the input stream buffer.
count - Variable in class java.io.ByteArrayOutputStream
The number of valid bytes in the buffer.
count() - Method in class com.codename1.backend.orm.Dao
How many rows the table holds.
count() - Method in class com.codename1.backend.orm.Query
How many rows match.
count() - Method in interface com.codename1.orm.session.Query
Counts matching root entities, ignoring ordering and pagination.
count() - Method in interface java.util.stream.Stream
 
count(Object, String) - Method in interface com.codename1.orm.session.Session
Counts stored related rows without loading the relationship's entities.
countInsertRows(String) - Method in class com.codename1.backend.sql.Dialect
How many rows an INSERT's VALUES clause writes, or -1 when the shape does not say -- an INSERT ...
countObservers() - Method in class java.util.Observable
Returns the number of observers registered to this Observable.
countTokens() - Method in class java.util.StringTokenizer
Returns the number of unprocessed tokens remaining in the string.
create() - Static method in class com.codename1.backend.Http2
A new server session, with the SETTINGS preface already queued.
create() - Static method in class com.codename1.backend.Reactor
 
create(int, int) - Static method in class com.codename1.backend.VirtualThread
A virtual thread that will serve fd when first resumed.
create(DataSource, EntityManager) - Method in interface com.codename1.backend.Backend.Handlers
 
create(String) - Static method in class java.net.URI
A convenience factory method, intended to be used when the URI string is known to be valid (ie. a static application URI), so it is not needed for the caller to handle invalid syntax.
create(String, String) - Static method in class com.codename1.backend.Tls
  • certPath: PEM certificate chain, leaf first
create(String, String, boolean) - Static method in class com.codename1.backend.Tls
  • offerHttp2: advertise "h2" in ALPN.
createBucket(String) - Method in class com.codename1.backend.aws.S3
Creates a bucket, and says nothing when it already exists.
createQuery(String) - Method in interface com.codename1.orm.session.Session
Creates an untyped JPQL query, including bulk update or delete statements.
createQuery(String, Class) - Method in interface com.codename1.orm.session.Session
Creates a typed query using the supported JPQL subset.
createTable() - Method in class com.codename1.backend.orm.Dao
CREATE TABLE IF NOT EXISTS, in this engine's spelling.
createTables() - Method in class com.codename1.backend.orm.EntityManager
Creates the table of every registered entity that has none.
createTables() - Method in interface com.codename1.orm.session.Session
Creates missing tables, indexes, and constraints for registered mappings.
createTables(boolean) - Method in class com.codename1.backend.Backend.Builder
Whether to create the table of every generated entity at start-up.
Credentials - Class in com.codename1.backend.aws
AWS credentials, and the ways a server actually obtains them.
Credentials(String, String, String) - Constructor for class com.codename1.backend.aws.Credentials
 
Credentials(String, String, String, long) - Constructor for class com.codename1.backend.aws.Credentials
 
Crypto - Class in com.codename1.backend
The crypto a server needs to authenticate a request.
current() - Static method in class com.codename1.backend.Tracing
The span of the work this thread is doing: the request's, inside a handler.
current() - Static method in class java.util.concurrent.ThreadLocalRandom
 
currentThread() - Static method in class java.lang.Thread
Returns a reference to the currently executing Thread object.
currentTimeMillis() - Static method in class java.lang.System
Returns the current time in milliseconds.
currentTraceparent() - Static method in class com.codename1.backend.Tracing
The current trace as a W3C traceparent value, for a transport the server does not instrument itself -- a message queue, a raw socket.

D

dao(Class) - Method in class com.codename1.backend.orm.EntityManager
The dao for an entity class.
Dao<T> - Class in com.codename1.backend.orm
Typed access to one entity's table.
database() - Method in class com.codename1.backend.orm.EntityManager
The connection this manager is pinned to, or null when it holds a pool.
Database - Class in com.codename1.backend
One database API over SQLite, PostgreSQL and MySQL, chosen by URL.
Database.Work - Interface in com.codename1.backend
A unit of work run inside Database.transaction(Database.Work).
DataInput - Interface in java.io
The DataInput interface provides for reading bytes from a binary stream and reconstructing from them data in any of the Java primitive types.
DataInputStream - Class in java.io
A data input stream lets an application read primitive Java data types from an underlying input stream in a machine-independent way.
DataInputStream(InputStream) - Constructor for class java.io.DataInputStream
Creates a DataInputStream and saves its argument, the input stream in, for later use.
DataOutput - Interface in java.io
The DataOutput interface provides for converting data from any of the Java primitive types to a series of bytes and writing these bytes to a binary stream.
DataOutputStream - Class in java.io
A data output stream lets an application write primitive Java data types to an output stream in a portable way.
DataOutputStream(OutputStream) - Constructor for class java.io.DataOutputStream
Creates a new data output stream to write data to the specified underlying output stream.
dataSource() - Method in class com.codename1.backend.orm.EntityManager
The pool behind this manager, or null when it is pinned to one connection.
dataSource(DataSource) - Method in class com.codename1.backend.Backend.Builder
A pool the caller opened.
dataSource(String) - Method in class com.codename1.backend.Backend.Builder
The database, as a SQLite path or a postgres:// or mysql:// URL.
DataSource - Class in com.codename1.backend
A pool of connections to ONE database, whichever engine that database is.
DATASOURCE_BORROW_MILLIS - Static variable in class com.codename1.backend.Config
How long a borrow waits for a free connection, in milliseconds.
DATASOURCE_BUSY_MILLIS - Static variable in class com.codename1.backend.Config
How long SQLite waits on a locked database, in milliseconds.
DATASOURCE_POOL_SIZE - Static variable in class com.codename1.backend.Config
How many connections the pool holds.
DATASOURCE_URL - Static variable in class com.codename1.backend.Config
The database, as a SQLite path or a PostgreSQL or MySQL URL.
DataSource.Work - Interface in com.codename1.backend
A unit of work run against one borrowed connection.
Date - Class in java.util
The class Date represents a specific instant in time, with millisecond precision.
Date() - Constructor for class java.util.Date
Allocates a Date object and initializes it to represent the current time specified number of milliseconds since the standard base time known as "the epoch", namely January 1, 1970, 00:00:00 GMT.
Date(long) - Constructor for class java.util.Date
Allocates a Date object and initializes it to represent the specified number of milliseconds since the standard base time known as "the epoch", namely January 1, 1970, 00:00:00 GMT.
DATE - Static variable in class java.util.Calendar
Field number for get and set indicating the day of the month.
DateFormat - Class in java.text
A class for parsing and formatting localisation sensitive dates, compatible with Jave 6 SDK.
DateFormatSymbols - Class in java.text
 
DateFormatSymbols() - Constructor for class java.text.DateFormatSymbols
 
DateTimeException - Exception Class in java.time
 
DateTimeException(String) - Constructor for exception class java.time.DateTimeException
 
DateTimeException(String, Throwable) - Constructor for exception class java.time.DateTimeException
 
DateTimeFormatter - Class in java.time.format
 
DateTimeParseException - Exception Class in java.time.format
 
DateTimeParseException(String, CharSequence, int) - Constructor for exception class java.time.format.DateTimeParseException
 
DateTimeParseException(String, CharSequence, int, Throwable) - Constructor for exception class java.time.format.DateTimeParseException
 
DAY_OF_MONTH - Static variable in class java.util.Calendar
Field number for get and set indicating the day of the month.
DAY_OF_WEEK - Static variable in class java.util.Calendar
Field number for get and set indicating the day of the week.
DAY_OF_WEEK_IN_MONTH - Static variable in class java.util.Calendar
Field number for get and set indicating the ordinal number of the day of the week within the current month.
Db - Class in com.codename1.backend
SQLite persistence for server-side binaries, on the engine the translator already bundles.
Db.Work - Interface in com.codename1.backend
A unit of work run inside Db.transaction(Db.Work).
DbPool - Class in com.codename1.backend
A fixed pool of connections to one SQLite database.
DbTransient - Annotation Type in com.codename1.annotations
Excludes an @Entity field from the generated table.
DECEMBER - Static variable in class java.util.Calendar
Value of the MONTH field indicating the twelfth month of the year.
decode(String) - Static method in class com.codename1.backend.Base64
The decoded bytes, or null when the input is not valid base64.
decode(String) - Static method in class com.codename1.backend.Base64Url
Null for anything that is not valid base64url, rather than a partial result.
decrementAndGet() - Method in class java.util.concurrent.atomic.AtomicInteger
 
decrementAndGet() - Method in class java.util.concurrent.atomic.AtomicLong
 
deepEquals(Object[], Object[]) - Static method in class java.util.Arrays
Returns true if the two given arrays are deeply equal to one another.
deepEquals(Object, Object) - Static method in class java.util.Objects
 
deepHashCode(Object[]) - Static method in class java.util.Arrays
Returns a hash code based on the "deep contents" of the given array.
deepToString(Object[]) - Static method in class java.util.Arrays
Creates a "deep" String representation of the Object[] passed, such that if the array contains other arrays, the String representation of those arrays is generated as well.
DEFAULT - Static variable in class java.text.DateFormat
Constant for default style (MEDIUM) parsing/formatting pattern.
defaultValue() - Element in annotation type com.codename1.backend.annotations.PathVariable
Used when the request omits it.
defaultValue() - Element in annotation type com.codename1.backend.annotations.RequestHeader
Used when the request omits it.
defaultValue() - Element in annotation type com.codename1.backend.annotations.RequestParam
Used when the request omits it.
delete() - Method in class com.codename1.backend.orm.Query
Deletes every matching row and answers how many.
delete(int, int) - Method in class java.lang.StringBuffer
Removes the characters in a substring of this StringBuffer.
delete(int, int) - Method in class java.lang.StringBuilder
Removes the characters in a substring of this StringBuilder.
delete(T) - Method in class com.codename1.backend.orm.Dao
Deletes the row whose key entity carries.
deleteById(Object) - Method in class com.codename1.backend.orm.Dao
Deletes the row with this key.
deleteCharAt(int) - Method in class java.lang.StringBuffer
Removes the character at the specified position in this StringBuffer (shortening the StringBuffer by one character).
deleteCharAt(int) - Method in class java.lang.StringBuilder
Removes the character at the specified position in this StringBuilder (shortening the StringBuilder by one character).
DeleteMapping - Annotation Type in com.codename1.backend.annotations
Maps an HTTP DELETE to this method.
deleteObject(String, String) - Method in class com.codename1.backend.aws.S3
 
deleteObserver(Observer) - Method in class java.util.Observable
Removes the specified observer from the list of observers.
deleteObservers() - Method in class java.util.Observable
Removes all observers from the list of observers.
Deprecated - Annotation Type in java.lang
An annotation for marking an element as deprecated.
Deque<E> - Interface in java.util
A kind of collection that can insert or remove element at both ends("double ended queue").
descendingIterator() - Method in class java.util.ArrayDeque
Returns the iterator in reverse order, from tail to head.
descendingIterator() - Method in interface java.util.Deque
Returns the iterator in reverse order, from tail to head.
descendingIterator() - Method in class java.util.LinkedList
Returns the iterator in reverse order, from tail to head.
descendingIterator() - Method in interface java.util.NavigableSet
Answers a descending iterator of this set.
descendingIterator() - Method in class java.util.TreeSet
Answers a descending iterator of this set.
descendingKeySet() - Method in interface java.util.NavigableMap
Answers a NavigableSet view of the keys in descending order.
descendingKeySet() - Method in class java.util.TreeMap
Answers a NavigableSet view of the keys in descending order.
descendingMap() - Method in interface java.util.NavigableMap
Answers a reverse order view of the map.
descendingMap() - Method in class java.util.TreeMap
Answers a reverse order view of the map.
descendingSet() - Method in interface java.util.NavigableSet
Answers a reverse order view of this set.
descendingSet() - Method in class java.util.TreeSet
Answers a reverse order view of this set.
describe() - Method in class com.codename1.backend.Config
What was read, for a start-up line.
descriptorOf(long) - Static method in class com.codename1.backend.VirtualThread
The descriptor this virtual thread serves, or -1.
desiredAssertionStatus() - Method in class java.lang.Class
Deprecated
detach(Object) - Method in interface com.codename1.orm.session.Session
Stops tracking an instance, discarding its unflushed changes.
DETACH - Enum constant in enum com.codename1.annotations.db.CascadeType
Detaches already loaded related entities.
dialect() - Method in class com.codename1.backend.Database
How this connection's engine spells what the three of them spell differently: parameter placeholders, identifier quoting, column types, the declaration of a generated key.
dialect() - Method in class com.codename1.backend.DataSource
How this pool's engine spells things.
dialect() - Method in class com.codename1.backend.orm.EntityManager
How this manager's engine spells things.
Dialect - Class in com.codename1.backend.sql
What the three engines spell differently, in one place.
Dictionary<K,V> - Class in java.util
**Note: Do not use this class since it is obsolete.
Dictionary() - Constructor for class java.util.Dictionary
Constructs a new instance of this class.
digit(char, int) - Static method in class java.lang.Character
Returns the numeric value of the character ch in the specified radix.
DISABLED - Static variable in class com.codename1.backend.otel.OtlpTracer
 
discard() - Method in class com.codename1.backend.Span
Drops the span: it ends normally but is never exported.
discriminatorColumn() - Element in annotation type com.codename1.annotations.db.Inheritance
Names the column distinguishing concrete classes in this single-table hierarchy.
DiscriminatorValue - Annotation Type in com.codename1.annotations.db
The persistent discriminator for a concrete class in an entity hierarchy.
disjoint(Collection, Collection) - Static method in class java.util.Collections
Returns whether the specified collections have no elements in common.
displayName() - Method in class java.nio.charset.Charset
 
distinct() - Method in interface java.util.stream.Stream
 
Documented - Annotation Type in java.lang.annotation
 
Double - Class in java.lang
The Double class wraps a value of the primitive type double in an object.
Double(double) - Constructor for class java.lang.Double
Constructs a newly allocated Double object that represents the primitive double argument.
doubleToLongBits(double) - Static method in class java.lang.Double
Returns a representation of the specified floating-point value according to the IEEE 754 floating-point "double format" bit layout.
doubleValue() - Method in class java.lang.Byte
 
doubleValue() - Method in class java.lang.Double
Returns the double value of this Double.
doubleValue() - Method in class java.lang.Float
Returns the double value of this Float object.
doubleValue() - Method in class java.lang.Integer
Returns the value of this Integer as a double.
doubleValue() - Method in class java.lang.Long
Returns the value of this Long as a double.
doubleValue() - Method in class java.lang.Number
 
doubleValue() - Method in class java.lang.Short
 
doubleValue() - Method in class java.util.concurrent.atomic.AtomicInteger
 
doubleValue() - Method in class java.util.concurrent.atomic.AtomicLong
 
drain() - Method in class com.codename1.backend.Http2
Runs the session's output side and returns the bytes to put on the wire.
dropArguments(MethodHandle, int, Class...) - Static method in class java.lang.invoke.MethodHandles
 
dropArguments(MethodHandle, int, List) - Static method in class java.lang.invoke.MethodHandles
 
dropParameterTypes(int, int) - Method in class java.lang.invoke.MethodType
 
dropTable() - Method in class com.codename1.backend.orm.Dao
DROP TABLE IF EXISTS.
Duration - Class in java.time
 
dynamicInvoker() - Method in class java.lang.invoke.CallSite
 

E

E - Static variable in class java.lang.Math
The double value that is closer than any other to e, the base of the natural logarithms.
EAGER - Enum constant in enum com.codename1.annotations.db.FetchType
Initializes the relationship when its owner is loaded.
element() - Method in class java.util.AbstractQueue
Returns but does not remove the element at the head of the queue.
element() - Method in class java.util.ArrayDeque
Gets but does not remove the head element of this deque.
element() - Method in class java.util.LinkedList
 
element() - Method in interface java.util.Queue
Gets but does not remove the element at the head of the queue.
elementAt(int) - Method in class java.util.Vector
Returns the element at the specified location in this vector.
ElementCollection - Annotation Type in com.codename1.annotations.db
Mapping for an owned collection of scalar values.
elementCount - Variable in class java.util.Vector
The number of elements or the size of the vector.
elementData - Variable in class java.util.Vector
The elements of the vector.
elementName() - Method in exception class java.lang.annotation.IncompleteAnnotationException
 
elements() - Method in class java.util.Dictionary
Returns an enumeration on the elements of this dictionary.
elements() - Method in class java.util.Hashtable
Returns an enumeration on the values of this Hashtable.
elements() - Method in class java.util.Vector
Returns an enumeration on the elements of this vector.
ElementType - Enum in java.lang.annotation
A mirror of java.lang.annotation.ElementType.
Embeddable - Annotation Type in com.codename1.annotations.db
A reusable value object whose scalar fields are stored in its owner table.
Embedded - Annotation Type in com.codename1.annotations.db
Flattens an embeddable value into the owner table using a field-name prefix.
EmbeddedId - Annotation Type in com.codename1.annotations.db
Flattens an embeddable identifier into the owner table using a field-name prefix.
empty() - Method in class java.util.Stack
Returns whether the stack is empty or not.
empty() - Static method in interface java.util.stream.Stream
 
empty(int, String, Map) - Static method in class com.codename1.backend.HttpServer.Response
A response with headers but no body, for 304 and for HEAD.
EMPTY_LIST - Static variable in class java.util.Collections
An empty immutable instance of List.
EMPTY_MAP - Static variable in class java.util.Collections
An empty immutable instance of Map.
EMPTY_SET - Static variable in class java.util.Collections
An empty immutable instance of Set.
emptyList() - Static method in class java.util.Collections
Returns a type-safe empty, immutable List.
emptyMap() - Static method in class java.util.Collections
Returns a type-safe empty, immutable Map.
emptySet() - Static method in class java.util.Collections
Returns a type-safe empty, immutable Set.
EmptyStackException - Exception Class in java.util
Thrown by methods in the Stack class to indicate that the stack is empty.
EmptyStackException() - Constructor for exception class java.util.EmptyStackException
Constructs a new EmptyStackException with null as its error message string.
enableWriteAheadLog() - Method in class com.codename1.backend.Db
Switches the database to write-ahead logging, which is what lets readers run while a writer is active.
encode(byte[]) - Static method in class com.codename1.backend.Base64
 
encode(byte[]) - Static method in class com.codename1.backend.Base64Url
 
encode(String) - Static method in class com.codename1.backend.aws.Aws
RFC 3986 unreserved characters pass; everything else becomes %XX with UPPER case hex.
encodePath(String) - Static method in class com.codename1.backend.aws.Aws
The path, percent-encoded segment by segment.
end() - Method in class com.codename1.backend.Span
Ends the span.
endOfStatement(String) - Method in class com.codename1.backend.sql.Dialect
Where sql stops being the statement and starts being its terminator, its trailing comment or trailing space.
ENDPOINT - Static variable in class com.codename1.backend.otel.OtlpTracer
 
endsWith(String) - Method in class java.lang.String
Tests if this string ends with the specified suffix.
ensure(int) - Method in class com.codename1.backend.ByteSink
 
ensureCapacity(int) - Method in class java.lang.StringBuffer
Ensures that the capacity of the buffer is at least equal to the specified minimum.
ensureCapacity(int) - Method in class java.lang.StringBuilder
Ensures that the capacity of the builder is at least equal to the specified minimum.
ensureCapacity(int) - Method in class java.util.ArrayList
Ensures that after this operation the ArrayList can hold the specified number of elements without further growing.
ensureCapacity(int) - Method in class java.util.Vector
Ensures that this vector can hold the specified number of elements without growing.
Entity - Annotation Type in com.codename1.annotations
Marks a POJO or PropertyBusinessObject as a persistent entity, in the app and on the Codename One backend alike.
EntityDefinition - Class in com.codename1.backend.orm
What the build generated about one entity class: its table, its columns, and reflection-free access to its fields.
EntityDefinition() - Constructor for class com.codename1.backend.orm.EntityDefinition
 
EntityManager - Class in com.codename1.backend.orm
The entry point to the build-time ORM: entities in, daos out.
EntityManager.Work - Interface in com.codename1.backend.orm
entrySet() - Method in class java.util.AbstractMap
Returns a set containing all of the mappings in this map.
entrySet() - Method in class java.util.HashMap
Returns a set containing all of the mappings in this map.
entrySet() - Method in class java.util.Hashtable
Returns a set of the mappings contained in this Hashtable.
entrySet() - Method in class java.util.IdentityHashMap
Returns a set containing all of the mappings in this map.
entrySet() - Method in class java.util.LinkedHashMap
Returns a set containing all of the mappings in this map.
entrySet() - Method in interface java.util.Map
Returns a Set containing all of the mappings in this Map.
entrySet() - Method in class java.util.TreeMap
Returns a set containing all of the mappings in this map.
Enum<E> - Class in java.lang
Implementation class required to compile enums
Enum(String, int) - Constructor for class java.lang.Enum
 
enumeration(Collection) - Static method in class java.util.Collections
Returns an Enumeration on the specified collection.
Enumeration<T> - Interface in java.util
An object that implements the Enumeration interface generates a series of elements, one at a time.
EOFException - Exception Class in java.io
Signals that an end of file or end of stream has been reached unexpectedly during input.
EOFException() - Constructor for exception class java.io.EOFException
Constructs an EOFException with null as its error detail message.
EOFException(String) - Constructor for exception class java.io.EOFException
Constructs an EOFException with the specified detail message.
eq(String, Object) - Method in class com.codename1.backend.orm.Query
field = value, or field IS NULL when the value is null.
eq(String, Object) - Method in interface com.codename1.orm.session.Query
Adds an equality predicate; null matches SQL NULL.
equals(boolean[], boolean[]) - Static method in class java.util.Arrays
Compares the two arrays.
equals(byte[], byte[]) - Static method in class java.util.Arrays
Compares the two arrays.
equals(char[], char[]) - Static method in class java.util.Arrays
Compares the two arrays.
equals(double[], double[]) - Static method in class java.util.Arrays
Compares the two arrays.
equals(float[], float[]) - Static method in class java.util.Arrays
Compares the two arrays.
equals(int[], int[]) - Static method in class java.util.Arrays
Compares the two arrays.
equals(long[], long[]) - Static method in class java.util.Arrays
Compares the two arrays.
equals(short[], short[]) - Static method in class java.util.Arrays
Compares the two arrays.
equals(Object) - Method in class com.codename1.orm.session.Identifier
Compares normalized components in identifier-field order.
equals(Object) - Method in interface java.lang.annotation.Annotation
Returns true if the specified object represents an annotation that is logically equivalent to this one.
equals(Object) - Method in class java.lang.Boolean
Returns true if and only if the argument is not null and is a Boolean object that represents the same boolean value as this object.
equals(Object) - Method in class java.lang.Byte
Compares this object to the specified object.
equals(Object) - Method in class java.lang.Character
Compares this object against the specified object.
equals(Object) - Method in class java.lang.Double
Compares this object against the specified object.
equals(Object) - Method in class java.lang.Enum
 
equals(Object) - Method in class java.lang.Float
Compares this object against some other object.
equals(Object) - Method in class java.lang.Integer
Compares this object to the specified object.
equals(Object) - Method in class java.lang.Long
Compares this object against the specified object.
equals(Object) - Method in class java.lang.Object
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class java.lang.Record
 
equals(Object) - Method in class java.lang.Short
Compares this object to the specified object.
equals(Object) - Method in class java.lang.String
Compares this string to the specified object.
equals(Object) - Method in class java.net.URI
 
equals(Object) - Method in class java.text.DateFormat
 
equals(Object) - Method in class java.time.Duration
 
equals(Object) - Method in class java.time.Instant
 
equals(Object) - Method in class java.time.LocalDate
 
equals(Object) - Method in class java.time.LocalDateTime
 
equals(Object) - Method in class java.time.LocalTime
 
equals(Object) - Method in class java.time.OffsetDateTime
 
equals(Object) - Method in class java.time.ZonedDateTime
 
equals(Object) - Method in class java.time.ZoneId
 
equals(Object) - Method in class java.util.AbstractList
Compares the specified object to this list and return true if they are equal.
equals(Object) - Method in class java.util.AbstractMap
Compares the specified object to this instance, and returns true if the specified object is a map and both maps contain the same mappings.
equals(Object) - Method in class java.util.AbstractMap.SimpleEntry
Answers whether the object is equal to this entry.
equals(Object) - Method in class java.util.AbstractMap.SimpleImmutableEntry
Answers whether the object is equal to this entry.
equals(Object) - Method in class java.util.AbstractSet
Compares the specified object to this Set and returns true if they are equal.
equals(Object) - Method in class java.util.BitSet
Compares the argument to this BitSet and returns whether they are equal.
equals(Object) - Method in class java.util.Calendar
Compares this calendar to the specified object.
equals(Object) - Method in interface java.util.Collection
Compares the argument to the receiver, and returns true if they represent the same object using a class specific comparison.
equals(Object) - Method in interface java.util.Comparator
Compares this Comparator with the specified Object and indicates whether they are equal.
equals(Object) - Method in class java.util.Date
Compares two dates for equality.
equals(Object) - Method in class java.util.Hashtable
Compares this Hashtable with the specified object and indicates if they are equal.
equals(Object) - Method in class java.util.IdentityHashMap
Compares this map with other objects.
equals(Object) - Method in interface java.util.List
Compares the given object with the List, and returns true if they represent the same object using a class specific comparison.
equals(Object) - Method in interface java.util.Map.Entry
Compares the specified object to this Map.Entry and returns if they are equal.
equals(Object) - Method in interface java.util.Map
Compares the argument to the receiver, and returns true if the specified object is a Map and both Maps contain the same mappings.
equals(Object) - Method in interface java.util.Set
Compares the specified object to this set, and returns true if they represent the same object using a class specific comparison.
equals(Object) - Method in class java.util.Vector
Compares the specified object to this vector and returns if they are equal.
equals(Object[], Object[]) - Static method in class java.util.Arrays
Compares the two arrays.
equals(Object, Object) - Static method in class java.util.Objects
Returns true if the arguments are equal to each other and false otherwise.
equalsConstantTime(byte[], byte[]) - Static method in class com.codename1.backend.Crypto
Compares without leaking where two values first differ.
equalsIgnoreCase(String) - Method in class java.lang.String
Compares this String to another String, ignoring case considerations.
erase() - Method in class java.lang.invoke.MethodType
 
err - Static variable in class java.lang.System
The "standard" error output stream.
Error - Exception Class in java.lang
An Error is a subclass of Throwable that indicates serious problems that a reasonable application should not try to catch.
Error() - Constructor for exception class java.lang.Error
Constructs an Error with no specified detail message.
Error(String) - Constructor for exception class java.lang.Error
Constructs an Error with the specified detail message.
EventListener - Interface in java.util
EventListener is the superclass of all event listener interfaces.
EventListenerProxy - Class in java.util
This abstract class provides a simple wrapper for objects of type EventListener.
EventListenerProxy(EventListener) - Constructor for class java.util.EventListenerProxy
Creates a new EventListener proxy instance.
exactInvoker(MethodType) - Static method in class java.lang.invoke.MethodHandles
 
Exception - Exception Class in java.lang
The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
Exception() - Constructor for exception class java.lang.Exception
Constructs an Exception with no specified detail message.
Exception(String) - Constructor for exception class java.lang.Exception
Constructs an Exception with the specified detail message.
Exception(String, Throwable) - Constructor for exception class java.lang.Exception
Constructs a new exception with message and cause.
Exception(Throwable) - Constructor for exception class java.lang.Exception
Constructs a new exception with the provided cause.
execute(String, Object[]) - Method in class com.codename1.backend.Database
Synchronized, like the two below, because a shared session is not safe to interleave -- and for the network engines it is worse than interleaved transactions.
execute(String, Object[]) - Method in class com.codename1.backend.DataSource
One statement on a borrowed connection.
execute(String, Object[]) - Method in class com.codename1.backend.Db
Runs a statement that returns no rows.
execute(String, Object[]) - Method in class com.codename1.backend.sql.MySql
 
execute(String, Object[]) - Method in class com.codename1.backend.sql.Postgres
Runs a statement that returns no rows, and returns the number affected.
executeUpdate() - Method in interface com.codename1.orm.session.JpqlQuery
Executes a bulk update or delete in an active transaction.
exit(int) - Method in class java.lang.Runtime
Terminates the currently running Java application.
exit(int) - Static method in class java.lang.System
Terminates the currently running Java application.
explicitCastArguments(MethodHandle, MethodType) - Static method in class java.lang.invoke.MethodHandles
 
EXPORT_DELAY - Static variable in class com.codename1.backend.otel.OtlpTracer
 

F

fallback(HttpServer.WebSocketHandler) - Method in interface com.codename1.backend.HttpServer.WebSocketRegistry
Consulted for any upgrade HttpServer.WebSocketRegistry.route(String, WebSocket) did not claim.
FALSE - Static variable in class java.lang.Boolean
The Boolean object corresponding to the primitive value false.
FEBRUARY - Static variable in class java.util.Calendar
Value of the MONTH field indicating the second month of the year.
fetch() - Element in annotation type com.codename1.annotations.db.ElementCollection
Controls relationship initialization.
fetch() - Element in annotation type com.codename1.annotations.db.ManyToMany
Controls relationship initialization.
fetch() - Element in annotation type com.codename1.annotations.db.ManyToOne
Controls relationship initialization.
fetch() - Element in annotation type com.codename1.annotations.db.OneToMany
Controls relationship initialization.
fetch() - Element in annotation type com.codename1.annotations.db.OneToOne
Controls relationship initialization.
fetch(String) - Method in interface com.codename1.orm.session.Query
Initializes a direct relationship for returned entities, overriding lazy mapping.
FetchType - Enum in com.codename1.annotations.db
Controls when a mapped relationship is loaded.
FIELD - Enum constant in enum java.lang.annotation.ElementType
 
fields - Variable in class java.util.Calendar
The field values for the currently set time for this calendar.
fields() - Element in annotation type com.codename1.annotations.db.Index
Lists Java attribute names in index order, not SQL column names.
file(int, String, int, long, long, Map) - Static method in class com.codename1.backend.HttpServer.Response
A response whose body is a file.
FileIo - Class in com.codename1.backend
The file-system calls a static handler needs, isolated so that everything else in StaticFiles -- ranges, conditional requests, MIME types, the containment check -- is pure Java and shared by every target.
FileNotFoundException - Exception Class in java.io
Signals that an attempt to open the file denoted by a specified pathname has failed.
FileNotFoundException() - Constructor for exception class java.io.FileNotFoundException
 
FileNotFoundException(String) - Constructor for exception class java.io.FileNotFoundException
 
fill(boolean[], boolean) - Static method in class java.util.Arrays
Fills the specified array with the specified element.
fill(boolean[], int, int, boolean) - Static method in class java.util.Arrays
Fills the specified range in the array with the specified element.
fill(byte[], byte) - Static method in class java.util.Arrays
Fills the specified array with the specified element.
fill(byte[], int, int, byte) - Static method in class java.util.Arrays
Fills the specified range in the array with the specified element.
fill(char[], char) - Static method in class java.util.Arrays
Fills the specified array with the specified element.
fill(char[], int, int, char) - Static method in class java.util.Arrays
Fills the specified range in the array with the specified element.
fill(double[], double) - Static method in class java.util.Arrays
Fills the specified array with the specified element.
fill(double[], int, int, double) - Static method in class java.util.Arrays
Fills the specified range in the array with the specified element.
fill(float[], float) - Static method in class java.util.Arrays
Fills the specified array with the specified element.
fill(float[], int, int, float) - Static method in class java.util.Arrays
Fills the specified range in the array with the specified element.
fill(int[], int) - Static method in class java.util.Arrays
Fills the specified array with the specified element.
fill(int[], int, int, int) - Static method in class java.util.Arrays
Fills the specified range in the array with the specified element.
fill(long[], int, int, long) - Static method in class java.util.Arrays
Fills the specified range in the array with the specified element.
fill(long[], long) - Static method in class java.util.Arrays
Fills the specified array with the specified element.
fill(short[], int, int, short) - Static method in class java.util.Arrays
Fills the specified range in the array with the specified element.
fill(short[], short) - Static method in class java.util.Arrays
Fills the specified array with the specified element.
fill(Object[], int, int, Object) - Static method in class java.util.Arrays
Fills the specified range in the array with the specified element.
fill(Object[], Object) - Static method in class java.util.Arrays
Fills the specified array with the specified element.
fill(List, T) - Static method in class java.util.Collections
Fills the specified list with the specified element.
filter(Predicate) - Method in interface java.util.stream.Stream
 
filterArguments(MethodHandle, int, MethodHandle...) - Static method in class java.lang.invoke.MethodHandles
 
filterReturnValue(MethodHandle, MethodHandle) - Static method in class java.lang.invoke.MethodHandles
 
find(Class, Object) - Method in interface com.codename1.orm.session.Session
Finds an entity, reusing its managed instance when present.
find(Class, Object, LockMode) - Method in interface com.codename1.orm.session.Session
Finds an entity and optionally locks its database row.
find(String, Object[]) - Method in class com.codename1.backend.orm.Dao
Rows matching a WHERE clause written by hand, for the query the builder cannot express.
findAll() - Method in class com.codename1.backend.orm.Dao
Every row.
findById(Object) - Method in class com.codename1.backend.orm.Dao
The row with this key, or null.
findConstructor(Class, MethodType) - Method in class java.lang.invoke.MethodHandles.Lookup
 
findGetter(Class, String, Class) - Method in class java.lang.invoke.MethodHandles.Lookup
 
findOne(String, Object[]) - Method in class com.codename1.backend.orm.Dao
The first row matching a hand-written WHERE clause, or null.
findSetter(Class, String, Class) - Method in class java.lang.invoke.MethodHandles.Lookup
 
findSpecial(Class, String, MethodType, Class) - Method in class java.lang.invoke.MethodHandles.Lookup
 
findStatic(Class, String, MethodType) - Method in class java.lang.invoke.MethodHandles.Lookup
 
findStaticGetter(Class, String, Class) - Method in class java.lang.invoke.MethodHandles.Lookup
 
findStaticSetter(Class, String, Class) - Method in class java.lang.invoke.MethodHandles.Lookup
 
findVirtual(Class, String, MethodType) - Method in class java.lang.invoke.MethodHandles.Lookup
 
FINISHED - Static variable in class com.codename1.backend.VirtualThread
VirtualThread.resume(long): the connection is done and the handle should be freed.
finisher() - Method in interface java.util.stream.Collector
 
first() - Method in class com.codename1.backend.orm.Query
The first matching row, or null.
first() - Method in interface com.codename1.orm.session.JpqlQuery
Executes a select for at most one result, respecting the offset.
first() - Method in interface com.codename1.orm.session.Query
Executes the query for at most one result, respecting the offset.
first() - Method in interface java.util.SortedSet
Returns the first element in this SortedSet.
first() - Method in class java.util.TreeSet
Answers the first element in this TreeSet.
firstElement() - Method in class java.util.Vector
Returns the first element in this vector.
firstEntry() - Method in interface java.util.NavigableMap
Answers the entry with the smallest key, or null if the map is empty.
firstEntry() - Method in class java.util.TreeMap
Answers the entry with the smallest key, or null if the map is empty.
firstKey() - Method in interface java.util.SortedMap
Returns the first key in this sorted map.
firstKey() - Method in class java.util.TreeMap
Returns the first key in this map.
fixed(Instant, ZoneId) - Static method in class java.time.Clock
 
FLAG_BRIDGES - Static variable in class java.lang.invoke.LambdaMetafactory
 
FLAG_MARKERS - Static variable in class java.lang.invoke.LambdaMetafactory
 
FLAG_SERIALIZABLE - Static variable in class java.lang.invoke.LambdaMetafactory
 
flip(int) - Method in class java.util.BitSet
Flips the bit at index pos.
flip(int, int) - Method in class java.util.BitSet
Flips the bits starting from pos1 to pos2.
Float - Class in java.lang
The Float class wraps a value of primitive type float in an object.
Float(double) - Constructor for class java.lang.Float
Constructs a newly allocated Floatobject that represents the argument converted to type float.
Float(float) - Constructor for class java.lang.Float
Constructs a newly allocated Float object that represents the primitive float argument.
floatToIntBits(float) - Static method in class java.lang.Float
Returns the bit representation of a single-float value.
floatValue() - Method in class java.lang.Byte
 
floatValue() - Method in class java.lang.Double
Returns the float value of this Double.
floatValue() - Method in class java.lang.Float
Returns the float value of this Float object.
floatValue() - Method in class java.lang.Integer
Returns the value of this Integer as a float.
floatValue() - Method in class java.lang.Long
Returns the value of this Long as a float.
floatValue() - Method in class java.lang.Number
 
floatValue() - Method in class java.lang.Short
 
floatValue() - Method in class java.util.concurrent.atomic.AtomicInteger
 
floatValue() - Method in class java.util.concurrent.atomic.AtomicLong
 
floor(double) - Static method in class java.lang.Math
Returns the largest (closest to positive infinity) double value that is not greater than the argument and is equal to a mathematical integer.
floor(E) - Method in interface java.util.NavigableSet
Answers the biggest element less than or equal to the specified one, or null if no such element.
floor(E) - Method in class java.util.TreeSet
Answers the biggest element less than or equal to the specified one, or null if no such element.
floorEntry(K) - Method in interface java.util.NavigableMap
Answers an entry related with the biggest key less than or equal to the specified key, or null if no such key.
floorEntry(K) - Method in class java.util.TreeMap
Answers an entry related with the biggest key less than or equal to the specified key, or null if no such key.
floorKey(K) - Method in interface java.util.NavigableMap
Answers the biggest key less than or equal to the specified key, or null if no such key.
floorKey(K) - Method in class java.util.TreeMap
Answers the biggest key less than or equal to the specified key, or null if no such key.
flush() - Method in interface com.codename1.orm.session.Session
Writes pending inserts, updates, relationship changes, and removals.
flush() - Method in class java.io.DataOutputStream
Flushes this data output stream.
flush() - Method in interface java.io.Flushable
Flushes the object by writing out any buffered data to the underlying output.
flush() - Method in class java.io.OutputStream
Flushes this output stream and forces any buffered output bytes to be written out.
flush() - Method in class java.io.OutputStreamWriter
Flush the stream.
flush() - Method in class java.io.PrintStream
Flush the stream.
flush() - Method in class java.io.StringWriter
 
flush() - Method in class java.io.Writer
Flush the stream.
flush(int) - Method in class com.codename1.backend.otel.OtlpTracer
 
flush(int) - Method in interface com.codename1.backend.Tracer
Blocks until what has ended so far is exported, or the time runs out.
Flushable - Interface in java.io
Indicates that an output object can be flushed.
foldArguments(MethodHandle, MethodHandle) - Static method in class java.lang.invoke.MethodHandles
 
forEach(BiConsumer) - Method in interface java.util.Map
Performs the given action for each entry in this map.
forEach(Consumer) - Method in interface java.lang.Iterable
Performs the given action for each element of the Iterable.
forEach(Consumer) - Method in interface java.util.stream.Stream
 
forEndpoint(Credentials, String, String) - Static method in class com.codename1.backend.aws.S3
An S3-compatible endpoint -- MinIO, R2, Ceph -- addressed path-style.
format(long) - Static method in class com.codename1.backend.Http1Date
 
format(Object) - Method in class java.text.DateFormat
Format a given object.
format(Object) - Method in class java.text.Format
Format an object.
format(String, Object...) - Static method in class java.lang.String
 
format(DateTimeFormatter) - Method in class java.time.LocalDate
 
format(DateTimeFormatter) - Method in class java.time.LocalDateTime
 
format(DateTimeFormatter) - Method in class java.time.LocalTime
 
format(DateTimeFormatter) - Method in class java.time.OffsetDateTime
 
format(DateTimeFormatter) - Method in class java.time.ZonedDateTime
 
format(TemporalAccessor) - Method in class java.time.format.DateTimeFormatter
 
format(Date) - Method in class java.text.DateFormat
Format a given date.
format(Date) - Method in class java.text.SimpleDateFormat
 
Format - Class in java.text
An abstract class for parsing and formatting localisation sensitive information, compatible with JDK 6.
Format() - Constructor for class java.text.Format
 
forName(String) - Static method in class com.codename1.backend.sql.Dialect
The dialect for an engine name, or null when the name is not one of the three.
forName(String) - Static method in class java.lang.Class
Returns the Class object associated with the class with the given string name.
forName(String) - Static method in class java.nio.charset.Charset
 
forRegion(String) - Static method in class com.codename1.backend.aws.S3
AWS S3 in one region, with credentials resolved the usual way.
free(long) - Static method in class com.codename1.backend.VirtualThread
Release it.
freeMemory() - Method in class java.lang.Runtime
Returns the amount of free memory in the system.
frequency(Collection, Object) - Static method in class java.util.Collections
Returns the number of elements in the Collection that match the Object passed.
FRIDAY - Static variable in class java.util.Calendar
Value of the DAY_OF_WEEK field indicating Friday.
fromConfig(Config) - Static method in class com.codename1.backend.DataSource
The pool a Config describes, which is the one a server normally wants: the URL comes from the deployment rather than from the source.
fromContainer() - Static method in class com.codename1.backend.aws.Credentials
The ECS / EKS container credential endpoint, or null when not in one.
fromDatabase(S) - Method in interface com.codename1.orm.session.AttributeConverter
Converts a stored scalar to the entity field's domain type.
fromEnvironment() - Static method in class com.codename1.backend.aws.Credentials
AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY / AWS_SESSION_TOKEN, or null.
fromInstanceMetadata() - Static method in class com.codename1.backend.aws.Credentials
IMDSv2.
FULL - Static variable in class java.text.DateFormat
Constant for full style parsing/formatting pattern.
Function<T,R> - Interface in java.util.function
 

G

gc() - Method in class java.lang.Runtime
Runs the garbage collector.
gc() - Static method in class java.lang.System
Runs the garbage collector.
ge(String, Object) - Method in interface com.codename1.orm.session.Query
Adds a greater-than-or-equal predicate.
Generated - Annotation Type in com.codename1.backend.annotations
Marks a class the backend processors wrote, so a later pass knows its own work.
generatedKeyColumn(int) - Method in class com.codename1.backend.sql.Dialect
 
generatedKeyColumn(int, String) - Method in class com.codename1.backend.sql.Dialect
The full declaration of a primary key column whose value the DATABASE assigns -- everything after the column name.
generatedKeysThroughReturning() - Method in class com.codename1.backend.sql.Dialect
Whether a generated key comes back from the INSERT itself rather than from a follow-up question.
GeneratedValue - Annotation Type in com.codename1.annotations.db
Overrides the legacy Id.autoIncrement strategy for this identifier.
GenerationType - Enum in com.codename1.annotations.db
Identifier generation strategies for a single identifier field.
generator() - Element in annotation type com.codename1.annotations.db.GeneratedValue
Names the counter used by SEQUENCE or TABLE generation.
generic() - Method in class java.lang.invoke.MethodType
 
genericMethodType(int) - Static method in class java.lang.invoke.MethodType
 
genericMethodType(int, boolean) - Static method in class java.lang.invoke.MethodType
 
get() - Method in class java.lang.ref.Reference
Returns this reference object's referent.
get() - Method in class java.lang.ThreadLocal
 
get() - Method in class java.util.concurrent.atomic.AtomicBoolean
 
get() - Method in class java.util.concurrent.atomic.AtomicInteger
 
get() - Method in class java.util.concurrent.atomic.AtomicLong
 
get() - Method in class java.util.concurrent.atomic.AtomicReference
 
get() - Method in interface java.util.function.Supplier
 
get(int) - Method in class java.util.AbstractList
Returns the element at the specified location in this list.
get(int) - Method in class java.util.AbstractSequentialList
 
get(int) - Method in class java.util.ArrayList
 
get(int) - Method in class java.util.BitSet
Retrieves the bit at index pos.
get(int) - Method in class java.util.Calendar
Gets the value for a given time field.
get(int) - Method in class java.util.LinkedList
 
get(int) - Method in interface java.util.List
Returns the element at the specified location in this List.
get(int) - Method in class java.util.Vector
Returns the element at the specified location in this vector.
get(int, int) - Method in class java.util.BitSet
Retrieves the bits starting from pos1 to pos2 and returns back a new bitset made of these bits.
get(Object) - Method in class java.util.AbstractMap
Returns the value of the mapping with the specified key.
get(Object) - Method in class java.util.Dictionary
Returns the value which is associated with key.
get(Object) - Method in class java.util.HashMap
Returns the value of the mapping with the specified key.
get(Object) - Method in class java.util.Hashtable
Returns the value associated with the specified key in this Hashtable.
get(Object) - Method in class java.util.IdentityHashMap
Returns the value of the mapping with the specified key.
get(Object) - Method in class java.util.LinkedHashMap
Returns the value of the mapping with the specified key.
get(Object) - Method in interface java.util.Map
Returns the value of the mapping with the specified key.
get(Object) - Method in class java.util.TreeMap
Returns the value of the mapping with the specified key.
get(Object, int) - Method in class com.codename1.backend.orm.EntityDefinition
The value of column index on entity, already in the form a parameter is bound as: Long, Double, String, byte[] or null.
get(String) - Method in class com.codename1.backend.Config
The value for key, or null when no layer has one.
get(String) - Static method in class com.codename1.backend.Web
 
get(String, int, String) - Static method in class com.codename1.backend.Http
 
get(String, String) - Method in class com.codename1.backend.Config
The value for key, or fallback when no layer has one.
getAccessKeyId() - Method in class com.codename1.backend.aws.Credentials
 
getActiveRequests() - Method in class com.codename1.backend.HttpServer
Requests being handled right now.
getAmPmStrings() - Method in class java.text.DateFormatSymbols
 
getAndAdd(int) - Method in class java.util.concurrent.atomic.AtomicInteger
 
getAndAdd(long) - Method in class java.util.concurrent.atomic.AtomicLong
 
getAndDecrement() - Method in class java.util.concurrent.atomic.AtomicInteger
 
getAndDecrement() - Method in class java.util.concurrent.atomic.AtomicLong
 
getAndIncrement() - Method in class java.util.concurrent.atomic.AtomicInteger
 
getAndIncrement() - Method in class java.util.concurrent.atomic.AtomicLong
 
getAndSet(boolean) - Method in class java.util.concurrent.atomic.AtomicBoolean
 
getAndSet(int) - Method in class java.util.concurrent.atomic.AtomicInteger
 
getAndSet(long) - Method in class java.util.concurrent.atomic.AtomicLong
 
getAndSet(V) - Method in class java.util.concurrent.atomic.AtomicReference
 
getAnnotation(Class) - Method in class java.lang.Class
Returns this element's annotation for the specified type if such an annotation is present, else null.
getAnnotations() - Method in class java.lang.Class
Returns all annotations present on this element.
getAttachment() - Method in class com.codename1.backend.WebSocketSession
 
getAuthority() - Method in class com.codename1.backend.Http2.Stream
From :authority, which is what Host is in HTTP/1.1.
getAuthority() - Method in class java.net.URI
Returns
getAvailableIDs() - Static method in class java.util.TimeZone
Gets all the available IDs supported.
getBody() - Method in class com.codename1.backend.Http.Response
 
getBody() - Method in class com.codename1.backend.Http2.Stream
The body as it ARRIVED, so the caller can check it before decoding.
getBody() - Method in class com.codename1.backend.HttpServer.Request
 
getBody() - Method in class com.codename1.backend.Web.Result
 
getBodyAsString() - Method in class com.codename1.backend.Http.Response
 
getBodyAsString() - Method in class com.codename1.backend.Http2.Stream
 
getBodyAsString() - Method in class com.codename1.backend.Web.Result
 
getBoolean(String, boolean) - Method in class com.codename1.backend.Config
The value for key as a flag, or fallback.
getBuffer() - Method in class java.io.StringWriter
 
getBytes() - Method in class java.lang.String
Convert this String into bytes according to the platform's default character encoding, storing the result into a new byte array.
getBytes(String) - Method in class java.lang.String
Convert this String into bytes according to the specified character encoding, storing the result into a new byte array.
getBytes(Charset) - Method in class java.lang.String
Convert this String into bytes according to the specified character encoding, storing the result into a new byte array.
getCanonicalName() - Method in class java.lang.Class
Deprecated
getCause() - Method in exception class java.lang.Throwable
Returns the cause of this throwable or null if the cause is nonexistent or unknown.
getChars(int, int, char[], int) - Method in class java.lang.String
Copies characters from this string into the destination character array.
getChars(int, int, char[], int) - Method in class java.lang.StringBuffer
Characters are copied from this string buffer into the destination character array dst.
getChars(int, int, char[], int) - Method in class java.lang.StringBuilder
Characters are copied from this string builder into the destination character array dst.
getClass() - Method in class java.lang.Object
Returns the runtime class of an object.
getClassLoader() - Method in class java.lang.Class
 
getClassName() - Method in class java.lang.StackTraceElement
 
getColumn() - Method in class com.codename1.backend.orm.ColumnDefinition
The column name, from @Column(name) or the field name.
getComponentType() - Method in class java.lang.Class
Gets for Array classes, this returns the type of the elements of the array.
getConfig() - Method in class com.codename1.backend.Backend
The configuration this server resolved its settings from.
getContentType() - Method in class com.codename1.backend.aws.S3.ObjectInfo
 
getCountry() - Method in class java.util.Locale
 
getDataSource() - Method in class com.codename1.backend.Backend
The connection pool, or null when this server has no database.
getDateFormatSymbols() - Method in class java.text.SimpleDateFormat
Get the date format symbols for parsing/formatting textual components of dates in a localization sensitive way.
getDateInstance() - Static method in class java.text.DateFormat
Get a DateFormat instance with default style for date (SHORT).
getDateInstance(int) - Static method in class java.text.DateFormat
Get a DateFormat instance that uses a given style for dates.
getDateTimeInstance(int, int) - Static method in class java.text.DateFormat
Get a DateFormat instance that uses a given style for dates and times.
getDayOfMonth() - Method in class java.time.LocalDate
 
getDayOfMonth() - Method in class java.time.LocalDateTime
 
getDays() - Method in class java.time.Period
 
getDeclaredAnnotations() - Method in class java.lang.Class
Returns all annotations that are directly present on this element.
getDeclaredType() - Method in class com.codename1.backend.orm.ColumnDefinition
An explicit SQL type from @Column(type), or null to let the dialect name it.
getDeclaringClass() - Method in class java.lang.Enum
 
getDefault() - Static method in class java.util.Locale
 
getDefault() - Static method in class java.util.TimeZone
Gets the default TimeZone for this host.
getEnclosingConstructor() - Method in class java.lang.Class
Returns null always.
getEnclosingMethod() - Method in class java.lang.Class
Deprecated
getEntityManager() - Method in class com.codename1.backend.Backend
The entity manager, or null when this build generated no entities.
getEnumValues(Class) - Static method in class java.lang.Enum
 
getEpochSecond() - Method in class java.time.Instant
 
getEras() - Method in class java.text.DateFormatSymbols
 
getError() - Method in class com.codename1.backend.Web.Result
Non-null only when the transfer failed before producing a status.
getErrorIndex() - Method in exception class java.time.format.DateTimeParseException
 
getErrorOffset() - Method in exception class java.text.ParseException
Returns
getEtag() - Method in class com.codename1.backend.aws.S3.ObjectInfo
 
getExpiresAtMillis() - Method in class com.codename1.backend.aws.Credentials
0 when these do not expire.
getFd() - Method in class com.codename1.backend.ServerSocket
 
getField() - Method in class com.codename1.backend.orm.ColumnDefinition
The Java field name, which is how a query names it.
getFileName() - Method in class java.lang.StackTraceElement
 
getFirst() - Method in class java.util.ArrayDeque
Gets but not removes the head element of this deque.
getFirst() - Method in interface java.util.Deque
Gets but not removes the head element of this deque.
getFirst() - Method in class java.util.LinkedList
Returns the first element in this LinkedList.
getFragment() - Method in class java.net.URI
Get the decoded fragment (otherwise known as the "reference" or "anchor") part of the uri.
getGenericInterfaces() - Method in class java.lang.Class
Deprecated
getHandshakeHeader(String) - Method in class com.codename1.backend.WebSocketSession
A header from the handshake request, case-insensitively.
getHeader(String) - Method in class com.codename1.backend.Http.Response
Case-insensitive, because header case is not guaranteed by anything.
getHeader(String) - Method in class com.codename1.backend.HttpServer.Request
One header by name, matched case-insensitively.
getHeader(String) - Method in class com.codename1.backend.Web.Result
The FIRST value for a name, matched case-insensitively.
getHeaders() - Method in class com.codename1.backend.Http2.Stream
Lower-cased names, as HTTP/2 requires them on the wire.
getHeaders() - Method in class com.codename1.backend.HttpServer.Request
The headers as a Map, lower-cased names to values.
getHeaders() - Method in class com.codename1.backend.Web.Result
The response headers, lower-cased names to values.
getHeaderValues(String) - Method in class com.codename1.backend.Web.Result
Every value the response carried for a name, in arrival order.
getHost() - Method in class java.net.URI
Get the host name part of the URI.
getHour() - Method in class java.time.LocalDateTime
 
getHour() - Method in class java.time.LocalTime
 
getId() - Method in class com.codename1.backend.Http2.Stream
 
getId() - Method in class com.codename1.backend.WebSocketSession
A number unique within this process, for logging and for keying a registry.
getId() - Method in class java.time.ZoneId
 
getID() - Method in class java.util.TimeZone
Gets the ID of this time zone.
getIdleCount() - Method in class com.codename1.backend.DataSource
How many are open and free right now.
getIndex() - Method in exception class java.net.URISyntaxException
Returns
getInput() - Method in exception class java.net.URISyntaxException
Returns
getInstance() - Static method in class java.text.DateFormat
Get a DateFormat instance with default style for date/time (SHORT/SHORT).
getInstance() - Static method in class java.util.Calendar
Gets a calendar using the default time zone.
getInstance(TimeZone) - Static method in class java.util.Calendar
Gets a calendar using the specified time zone.
getInt(String, int) - Method in class com.codename1.backend.Config
The value for key as a number, or fallback.
getJson(String, String) - Static method in class com.codename1.backend.Web
 
getKey() - Method in class com.codename1.backend.aws.S3.ObjectInfo
 
getKey() - Method in class java.util.AbstractMap.SimpleEntry
Returns the key.
getKey() - Method in class java.util.AbstractMap.SimpleImmutableEntry
Returns the key.
getKey() - Method in interface java.util.Map.Entry
Returns the key.
getKind() - Method in class com.codename1.backend.orm.ColumnDefinition
One of the kind constants on Dialect.
getKind() - Method in class com.codename1.backend.Span
One of the KIND constants.
getLanguage() - Method in class java.util.Locale
 
getLast() - Method in class java.util.ArrayDeque
Gets but not removes the tail element of this deque.
getLast() - Method in interface java.util.Deque
Gets but not removes the tail element of this deque.
getLast() - Method in class java.util.LinkedList
Returns the last element in this LinkedList.
getLastModified() - Method in class com.codename1.backend.aws.S3.ObjectInfo
The raw HTTP date the service sent, not a parsed one.
getLineNumber() - Method in class java.lang.StackTraceElement
 
getListener() - Method in class java.util.EventListenerProxy
Returns the wrapped EventListener.
getLocalizedMessage() - Method in exception class java.lang.Throwable
 
GetMapping - Annotation Type in com.codename1.backend.annotations
Maps an HTTP GET to this method.
getMaxSize() - Method in class com.codename1.backend.DataSource
How many connections this pool may hold.
getMessage() - Method in exception class java.lang.Throwable
Returns the error message string of this Throwable object.
getMethod() - Method in class com.codename1.backend.Http2.Stream
 
getMethod() - Method in class com.codename1.backend.HttpServer.Request
 
getMethodName() - Method in class java.lang.StackTraceElement
 
getMetrics() - Method in class com.codename1.backend.HttpServer
A snapshot for a health or metrics endpoint.
getMinute() - Method in class java.time.LocalDateTime
 
getMinute() - Method in class java.time.LocalTime
 
getMonths() - Method in class java.text.DateFormatSymbols
 
getMonths() - Method in class java.time.Period
 
getMonthValue() - Method in class java.time.LocalDate
 
getMonthValue() - Method in class java.time.LocalDateTime
 
getName() - Method in class com.codename1.backend.Span
The current name.
getName() - Method in class com.codename1.backend.sql.Dialect
"sqlite", "postgresql" or "mysql".
getName() - Method in class java.lang.Class
Returns the fully-qualified name of the entity (class, interface, array class, primitive type, or void) represented by this Class object, as a String.
getName() - Method in class java.lang.reflect.Constructor
 
getName() - Method in class java.lang.reflect.Method
 
getName() - Method in class java.lang.Thread
Returns this thread's name.
getNano() - Method in class java.time.Duration
 
getNano() - Method in class java.time.Instant
 
getNano() - Method in class java.time.LocalDateTime
 
getNano() - Method in class java.time.LocalTime
 
getObject(String, String) - Method in class com.codename1.backend.aws.S3
Downloads an object.
getOffset() - Method in class java.time.OffsetDateTime
 
getOffset() - Method in class java.time.ZonedDateTime
 
getOffset(int, int, int, int, int, int) - Method in class java.util.TimeZone
Gets offset, for current date, modified in case of daylight savings.
getOpenConnections() - Method in class com.codename1.backend.HttpServer
Connections currently open.
getOpenCount() - Method in class com.codename1.backend.DataSource
How many are open right now, borrowed or idle.
getOrDefault(Object, V) - Method in interface java.util.Map
Returns the value to which the specified key is mapped, or defaultValue if this map contains no mapping for the key.
getParent() - Method in class java.lang.ClassLoader
 
getParsedString() - Method in exception class java.time.format.DateTimeParseException
 
getPath() - Method in class com.codename1.backend.Http2.Stream
Path and query, from the :path pseudo-header.
getPath() - Method in class com.codename1.backend.WebSocketSession
The path the client upgraded on, with no query string.
getPath() - Method in class java.net.URI
Get the decoded path part of the uri.
getPort() - Method in class com.codename1.backend.HttpServer
 
getPort() - Method in class com.codename1.backend.ServerSocket
 
getPort() - Method in class java.net.URI
Get the port number for this URI.
getPriority() - Method in class java.lang.Thread
Returns this thread's priority.
getProfile() - Method in class com.codename1.backend.Config
The active profile: "default" unless something named another.
getProperty(String) - Static method in class java.lang.System
Gets the system property indicated by the specified key.
getQuery() - Method in class com.codename1.backend.WebSocketSession
The query string, or null when there was none.
getQuery() - Method in class java.net.URI
Get the decoded query part of the uri.
getRawAuthority() - Method in class java.net.URI
Returns
getRawFragment() - Method in class java.net.URI
Get the encoded fragment (otherwise known as the "reference" or "anchor") part of the uri.
getRawOffset() - Method in class java.util.TimeZone
Gets the GMT offset for this time zone.
getRawPath() - Method in class java.net.URI
Get the encoded path part of the uri.
getRawQuery() - Method in class java.net.URI
Get the encoded query part of the uri.
getRawSchemeSpecificPart() - Method in class java.net.URI
Returns
getRawUserInfo() - Method in class java.net.URI
Returns
getReason() - Method in exception class java.net.URISyntaxException
Returns
getResourceAsStream(String) - Method in class java.lang.Class
Finds a resource with a given name in the application's JAR file.
getResourceAsStream(String) - Method in class java.lang.ClassLoader
 
getRuntime() - Static method in class java.lang.Runtime
Returns the runtime object associated with the current Java application.
getScheme() - Method in class java.net.URI
Get the scheme part of the URI.
getSchemeSpecificPart() - Method in class java.net.URI
Returns
getSecond() - Method in class java.time.LocalDateTime
 
getSecond() - Method in class java.time.LocalTime
 
getSeconds() - Method in class java.time.Duration
 
getSecretKey() - Method in class com.codename1.backend.aws.Credentials
 
getServer() - Method in class com.codename1.backend.Backend
The running server, for its metrics or to stop it.
getSessionToken() - Method in class com.codename1.backend.aws.Credentials
Null for a long-lived key pair; set for anything temporary.
getShortMonths() - Method in class java.text.DateFormatSymbols
 
getShortWeekdays() - Method in class java.text.DateFormatSymbols
 
getSimpleName() - Method in class java.lang.Class
Deprecated
getSize() - Method in class com.codename1.backend.aws.S3.ObjectInfo
 
getStackTrace() - Method in class java.lang.Thread
 
getStackTrace() - Method in exception class java.lang.Throwable
 
getStatus() - Method in class com.codename1.backend.Http.Response
 
getStatus() - Method in class com.codename1.backend.HttpServer.Response
 
getStatus() - Method in class com.codename1.backend.Web.Result
The HTTP status, or -1 when the transfer itself failed.
getSubprotocol() - Method in class com.codename1.backend.WebSocketSession
The negotiated subprotocol, or null when none was.
getSubprotocols() - Method in interface com.codename1.backend.WebSocket
The subprotocols this endpoint speaks, best first, or null for none.
getSuppressed() - Method in exception class java.lang.Throwable
 
getSystemClassLoader() - Static method in class java.lang.ClassLoader
 
getSystemResourceAsStream(String) - Static method in class java.lang.ClassLoader
 
getTarget() - Method in class com.codename1.backend.HttpServer.Request
Path plus query string, exactly as it arrived.
getTarget() - Method in class java.lang.invoke.CallSite
 
getTime() - Method in class java.util.Calendar
Gets this Calendar's current time.
getTime() - Method in class java.util.Date
Returns the number of milliseconds since January 1, 1970, 00:00:00 GMT represented by this Date object.
getTimeInMillis() - Method in class java.util.Calendar
Gets this Calendar's current time as a long expressed in milliseconds after January 1, 1970, 0:00:00 GMT (the epoch).
getTimeInstance() - Static method in class java.text.DateFormat
Get a DateFormat instance with default style for time (SHORT).
getTimeInstance(int) - Static method in class java.text.DateFormat
Get a DateFormat instance that uses a given style for times.
getTimeZone() - Method in class java.util.Calendar
Gets the time zone.
getTimeZone(String) - Static method in class java.util.TimeZone
Gets the TimeZone for the given ID.
getTotalSeconds() - Method in class java.time.ZoneOffset
 
getTracer() - Static method in class com.codename1.backend.Tracing
The installed tracer, or null.
getUserInfo() - Method in class java.net.URI
Returns
getValue() - Method in class java.util.AbstractMap.SimpleEntry
Returns the value.
getValue() - Method in class java.util.AbstractMap.SimpleImmutableEntry
Returns the value.
getValue() - Method in interface java.util.Map.Entry
Returns the value.
getVersion() - Method in class com.codename1.backend.HttpServer.Request
"HTTP/1.1" or "HTTP/1.0".
getWeekdays() - Method in class java.text.DateFormatSymbols
 
getYear() - Method in class java.time.LocalDate
 
getYear() - Method in class java.time.LocalDateTime
 
getYears() - Method in class java.time.Period
 
getZone() - Method in class java.time.Clock
 
getZone() - Method in class java.time.ZonedDateTime
 
getZoneStrings() - Method in class java.text.DateFormatSymbols
 
gt(String, Object) - Method in class com.codename1.backend.orm.Query
field > value.
gt(String, Object) - Method in interface com.codename1.orm.session.Query
Adds a greater-than predicate.
gte(String, Object) - Method in class com.codename1.backend.orm.Query
field >= value.
guardWithTest(MethodHandle, MethodHandle, MethodHandle) - Static method in class java.lang.invoke.MethodHandles
 

H

handle(HttpServer.Request) - Method in interface com.codename1.backend.HttpServer.Handler
 
handle(HttpServer.Request) - Method in class com.codename1.backend.StaticFiles
 
handle(String, String) - Method in interface com.codename1.backend.Handler
  • event: the invocation payload, as JSON
handler(HttpServer.Handler) - Method in class com.codename1.backend.Backend.Builder
Adds a handler.
Handler - Interface in com.codename1.backend
What a Lambda-style handler implements.
handlers(Backend.Handlers) - Method in class com.codename1.backend.Backend.Builder
Adds handlers built once the database exists.
hasChanged() - Method in class java.util.Observable
Returns the changed flag for this Observable.
hash(Object...) - Static method in class java.util.Objects
 
hashCode() - Method in class com.codename1.orm.session.Identifier
Computes a hash from the normalized key components.
hashCode() - Method in interface java.lang.annotation.Annotation
Returns the hash code of this annotation, as defined below:
hashCode() - Method in class java.lang.Boolean
Returns a hash code for this Boolean object.
hashCode() - Method in class java.lang.Byte
Returns a hashcode for this Byte.
hashCode() - Method in class java.lang.Character
Returns a hash code for this Character.
hashCode() - Method in class java.lang.Double
Returns a hashcode for this Double object.
hashCode() - Method in class java.lang.Enum
 
hashCode() - Method in class java.lang.Float
Returns a hashcode for this Float object.
hashCode() - Method in class java.lang.Integer
Returns a hashcode for this Integer.
hashCode() - Method in class java.lang.Long
Computes a hashcode for this Long.
hashCode() - Method in class java.lang.Object
Returns a hash code value for the object.
hashCode() - Method in class java.lang.Record
 
hashCode() - Method in class java.lang.Short
Returns a hashcode for this Short.
hashCode() - Method in class java.lang.String
Returns a hashcode for this string.
hashCode() - Method in class java.net.URI
 
hashCode() - Method in class java.text.DateFormat
 
hashCode() - Method in class java.time.Duration
 
hashCode() - Method in class java.time.Instant
 
hashCode() - Method in class java.time.LocalDate
 
hashCode() - Method in class java.time.LocalDateTime
 
hashCode() - Method in class java.time.LocalTime
 
hashCode() - Method in class java.time.OffsetDateTime
 
hashCode() - Method in class java.time.ZonedDateTime
 
hashCode() - Method in class java.time.ZoneId
 
hashCode() - Method in class java.util.AbstractList
Returns the hash code of this list.
hashCode() - Method in class java.util.AbstractMap
Returns the hash code for this object.
hashCode() - Method in class java.util.AbstractMap.SimpleEntry
Answers the hash code of this entry.
hashCode() - Method in class java.util.AbstractMap.SimpleImmutableEntry
Answers the hash code of this entry.
hashCode() - Method in class java.util.AbstractSet
Returns the hash code for this set.
hashCode() - Method in class java.util.BitSet
Computes the hash code for this BitSet.
hashCode() - Method in interface java.util.Collection
Returns an integer hash code for the receiver.
hashCode() - Method in class java.util.Date
Returns a hash code value for this object.
hashCode() - Method in class java.util.Hashtable
 
hashCode() - Method in interface java.util.List
Returns the hash code for this List.
hashCode() - Method in interface java.util.Map.Entry
Returns an integer hash code for the receiver.
hashCode() - Method in interface java.util.Map
Returns an integer hash code for the receiver.
hashCode() - Method in interface java.util.Set
Returns the hash code for this set.
hashCode() - Method in class java.util.Vector
Returns an integer hash code for the receiver.
hashCode(boolean[]) - Static method in class java.util.Arrays
Returns a hash code based on the contents of the given array.
hashCode(byte[]) - Static method in class java.util.Arrays
Returns a hash code based on the contents of the given array.
hashCode(char[]) - Static method in class java.util.Arrays
Returns a hash code based on the contents of the given array.
hashCode(double[]) - Static method in class java.util.Arrays
Returns a hash code based on the contents of the given array.
hashCode(float[]) - Static method in class java.util.Arrays
Returns a hash code based on the contents of the given array.
hashCode(int[]) - Static method in class java.util.Arrays
Returns a hash code based on the contents of the given array.
hashCode(long[]) - Static method in class java.util.Arrays
Returns a hash code based on the contents of the given array.
hashCode(short[]) - Static method in class java.util.Arrays
Returns a hash code based on the contents of the given array.
hashCode(Object) - Static method in class java.util.Objects
Returns the hash code of a non-null argument and 0 for a null argument.
hashCode(Object[]) - Static method in class java.util.Arrays
Returns a hash code based on the contents of the given array.
HashMap<K,V> - Class in java.util
HashMap is an implementation of Map.
HashMap() - Constructor for class java.util.HashMap
Constructs a new empty HashMap instance.
HashMap(int) - Constructor for class java.util.HashMap
Constructs a new HashMap instance with the specified capacity.
HashMap(int, float) - Constructor for class java.util.HashMap
Constructs a new HashMap instance with the specified capacity and load factor.
HashMap(Map) - Constructor for class java.util.HashMap
Constructs a new HashMap instance containing the mappings from the specified map.
hashPassword(String) - Static method in class com.codename1.backend.Crypto
Hashes a password for storage.
HashSet<E> - Class in java.util
HashSet is an implementation of a Set.
HashSet() - Constructor for class java.util.HashSet
Constructs a new empty instance of HashSet.
HashSet(int) - Constructor for class java.util.HashSet
Constructs a new instance of HashSet with the specified capacity.
HashSet(int, float) - Constructor for class java.util.HashSet
Constructs a new instance of HashSet with the specified capacity and load factor.
HashSet(Collection) - Constructor for class java.util.HashSet
Constructs a new instance of HashSet containing the unique elements in the specified collection.
Hashtable<K,V> - Class in java.util
Hashtable associates keys with values.
Hashtable() - Constructor for class java.util.Hashtable
Constructs a new Hashtable using the default capacity and load factor.
Hashtable(int) - Constructor for class java.util.Hashtable
Constructs a new Hashtable using the specified capacity and the default load factor.
Hashtable(int, float) - Constructor for class java.util.Hashtable
Constructs a new Hashtable using the specified capacity and load factor.
Hashtable(Map) - Constructor for class java.util.Hashtable
Constructs a new instance of Hashtable containing the mappings from the specified map.
hasMoreElements() - Method in interface java.util.Enumeration
Tests if this enumeration contains more elements.
hasMoreElements() - Method in class java.util.StringTokenizer
Returns true if unprocessed tokens remain.
hasMoreTokens() - Method in class java.util.StringTokenizer
Returns true if unprocessed tokens remain.
hasNext() - Method in interface java.util.Iterator
Returns whether there are more elements to iterate, i.e.
hasNext() - Method in interface java.util.ListIterator
Returns whether there are more elements to iterate.
hasPrevious() - Method in interface java.util.ListIterator
Returns whether there are previous elements to iterate.
hasPrimitives() - Method in class java.lang.invoke.MethodType
 
hasSendFile() - Static method in class com.codename1.backend.FileIo
True when FileIo.sendFile(int, int, long, long) is a kernel copy rather than a read/write loop.
hasTrailingStatement(String) - Method in class com.codename1.backend.sql.Dialect
Whether anything follows the first statement in sql.
hasWrappers() - Method in class java.lang.invoke.MethodType
 
HEADERS - Static variable in class com.codename1.backend.otel.OtlpTracer
 
headMap(K) - Method in interface java.util.SortedMap
Returns a sorted map over a range of this sorted map with all keys that are less than the specified endKey.
headMap(K) - Method in class java.util.TreeMap
Returns a sorted map over a range of this sorted map with all keys that are less than the specified endKey.
headMap(K, boolean) - Method in interface java.util.NavigableMap
Answers a view of the head of the map whose keys are smaller than (or equal to, depends on inclusive argument) endKey.
headMap(K, boolean) - Method in class java.util.TreeMap
Answers a view of the head of the map whose keys are smaller than (or equal to, depends on inclusive argument) endKey.
headObject(String, String) - Method in class com.codename1.backend.aws.S3
The object's metadata, or null when it does not exist.
headSet(E) - Method in interface java.util.SortedSet
Returns a SortedSet of the specified portion of this SortedSet which contains elements less than the end element.
headSet(E) - Method in class java.util.TreeSet
Answers a SortedSet of the specified portion of this TreeSet which contains elements less than the end element.
headSet(E, boolean) - Method in interface java.util.NavigableSet
Answers a NavigableSet of the specified portion of this set which contains elements less than (or equal to, depends on endInclusive) the end element.
headSet(E, boolean) - Method in class java.util.TreeSet
Answers a NavigableSet of the specified portion of this set which contains elements less than (or equal to, depends on endInclusive) the end element.
hex(byte[]) - Static method in class com.codename1.backend.aws.Aws
 
higher(E) - Method in interface java.util.NavigableSet
Answers the smallest element bigger than the specified one, or null if no such element.
higher(E) - Method in class java.util.TreeSet
Answers the smallest element bigger than the specified one, or null if no such element.
higherEntry(K) - Method in interface java.util.NavigableMap
Answers an entry related with the smallest key greater than the specified key, or null if no such key.
higherEntry(K) - Method in class java.util.TreeMap
Answers an entry related with the smallest key greater than the specified key, or null if no such key.
higherKey(K) - Method in interface java.util.NavigableMap
Answers the smallest key greater than the specified key, or null if no such key.
higherKey(K) - Method in class java.util.TreeMap
Answers the smallest key greater than the specified key, or null if no such key.
hmacSha256(byte[], byte[]) - Static method in class com.codename1.backend.Crypto
 
host(String) - Method in class com.codename1.backend.Backend.Builder
The address to bind, or null for every interface.
HOUR - Static variable in class java.util.Calendar
Field number for get and set indicating the hour of the morning or afternoon.
HOUR_OF_DAY - Static variable in class java.util.Calendar
Field number for get and set indicating the hour of the day.
Http - Class in com.codename1.backend
A minimal HTTP/1.1 client over Tcp.
Http.Response - Class in com.codename1.backend
One HTTP response: status line, headers and body.
Http1Date - Class in com.codename1.backend
The one date format HTTP/1.1 requires on the wire ("Sun, 06 Nov 1994 08:49:37 GMT"), formatted and parsed from epoch milliseconds directly.
Http2 - Class in com.codename1.backend
One HTTP/2 connection, on nghttp2.
Http2.Stream - Class in com.codename1.backend
One request, once the client has finished sending it.
HttpServer - Class in com.codename1.backend
An HTTP/1.1 server built around a reactor and a bounded worker pool.
HttpServer.Handler - Interface in com.codename1.backend
 
HttpServer.Request - Class in com.codename1.backend
What a handler receives.
HttpServer.Response - Class in com.codename1.backend
What a handler returns.
HttpServer.WebSocketHandler - Interface in com.codename1.backend
Chooses the websocket endpoint for an upgrade request, or null when this router does not serve that path.
HttpServer.WebSocketRegistry - Interface in com.codename1.backend
What a HttpServer.WebSocketRoutes callback puts its endpoints into.
HttpServer.WebSocketRoutes - Interface in com.codename1.backend
Where websocket routes come from.

I

Id - Annotation Type in com.codename1.annotations
Designates the primary-key field of an @Entity.
Identifier - Class in com.codename1.orm.session
Immutable composite identity, in the model's declared identifier-field order.
identity(Class) - Static method in class java.lang.invoke.MethodHandles
 
IDENTITY - Enum constant in enum com.codename1.annotations.db.GenerationType
Uses a database-generated integral identity.
identityHashCode(Object) - Static method in class java.lang.System
Returns the same hashcode for the given object as would be returned by the default method hashCode(), whether or not the given object's class overrides hashCode().
IdentityHashMap<K,V> - Class in java.util
IdentityHashMap is a variant on HashMap which tests equality by reference instead of equality by value.
IdentityHashMap() - Constructor for class java.util.IdentityHashMap
Creates an IdentityHashMap with default expected maximum size.
IdentityHashMap(int) - Constructor for class java.util.IdentityHashMap
Creates an IdentityHashMap with the specified maximum size parameter.
IdentityHashMap(Map) - Constructor for class java.util.IdentityHashMap
Creates an IdentityHashMap using the given map as initial values.
idIndex() - Method in class com.codename1.backend.orm.EntityDefinition
The index of the primary key column, which every entity has exactly one of.
IllegalAccessException - Exception Class in java.lang
Thrown when an application tries to load in a class, but the currently executing method does not have access to the definition of the specified class, because the class is not public and in another package.
IllegalAccessException() - Constructor for exception class java.lang.IllegalAccessException
Constructs an IllegalAccessException without a detail message.
IllegalAccessException(String) - Constructor for exception class java.lang.IllegalAccessException
Constructs an IllegalAccessException with a detail message.
IllegalArgumentException - Exception Class in java.lang
Thrown to indicate that a method has been passed an illegal or inappropriate argument.
IllegalArgumentException() - Constructor for exception class java.lang.IllegalArgumentException
Constructs an IllegalArgumentException with no detail message.
IllegalArgumentException(String) - Constructor for exception class java.lang.IllegalArgumentException
Constructs an IllegalArgumentException with the specified detail message.
IllegalArgumentException(String, Throwable) - Constructor for exception class java.lang.IllegalArgumentException
Constructs an IllegalArgumentException with the specified detail message and cause.
IllegalArgumentException(Throwable) - Constructor for exception class java.lang.IllegalArgumentException
Constructs an IllegalArgumentException with the specified cause.
IllegalMonitorStateException - Exception Class in java.lang
Thrown to indicate that a thread has attempted to wait on an object's monitor or to notify other threads waiting on an object's monitor without owning the specified monitor.
IllegalMonitorStateException() - Constructor for exception class java.lang.IllegalMonitorStateException
Constructs an IllegalMonitorStateException with no detail message.
IllegalMonitorStateException(String) - Constructor for exception class java.lang.IllegalMonitorStateException
Constructs an IllegalMonitorStateException with the specified detail message.
IllegalStateException - Exception Class in java.lang
 
IllegalStateException() - Constructor for exception class java.lang.IllegalStateException
 
IllegalStateException(String) - Constructor for exception class java.lang.IllegalStateException
 
IllegalStateException(String, Throwable) - Constructor for exception class java.lang.IllegalStateException
Constructs an IllegalStateException with the specified detail message and cause.
IllegalStateException(Throwable) - Constructor for exception class java.lang.IllegalStateException
Constructs an IllegalStateException with the specified cause.
IllegalThreadStateException - Exception Class in java.lang
Thrown to indicate that a thread is not in an appropriate state for the requested operation.
IllegalThreadStateException() - Constructor for exception class java.lang.IllegalThreadStateException
Constructs an IllegalThreadStateException with no detail message.
IllegalThreadStateException(String) - Constructor for exception class java.lang.IllegalThreadStateException
Constructs an IllegalThreadStateException with the specified detail message.
in - Variable in class java.io.DataInputStream
The input stream.
in(Class) - Method in class java.lang.invoke.MethodHandles.Lookup
 
in(String, Object[]) - Method in class com.codename1.backend.orm.Query
field IN (...).
in(String, Object...) - Method in interface com.codename1.orm.session.Query
Adds an IN predicate; an empty array matches no rows.
IncompatibleClassChangeError - Exception Class in java.lang
IncompatibleClassChangeError is the superclass of all classes which represent errors that occur when inconsistent class files are loaded into the same running image.
IncompatibleClassChangeError() - Constructor for exception class java.lang.IncompatibleClassChangeError
Constructs a new IncompatibleClassChangeError that includes the current stack trace.
IncompatibleClassChangeError(String) - Constructor for exception class java.lang.IncompatibleClassChangeError
Constructs a new IncompatibleClassChangeError with the current stack trace and the specified detail message.
IncompleteAnnotationException - Exception Class in java.lang.annotation
A mirror of java.lang.annotation.IncompleteAnnotationException.
IncompleteAnnotationException(Class, String) - Constructor for exception class java.lang.annotation.IncompleteAnnotationException
 
increment(Class, Object, String, long) - Method in interface com.codename1.orm.session.Session
Atomically adds to an integral counter in SQL after flushing pending changes.
incrementAndGet() - Method in class java.util.concurrent.atomic.AtomicInteger
 
incrementAndGet() - Method in class java.util.concurrent.atomic.AtomicLong
 
Index - Annotation Type in com.codename1.annotations.db
Database index over mapped field names, declared on an entity.
indexes() - Element in annotation type com.codename1.annotations.Entity
Additional indexes created with the entity table.
indexOf(int) - Method in class java.lang.String
Returns the index within this string of the first occurrence of the specified character.
indexOf(int, int) - Method in class java.lang.String
Returns the index within this string of the first occurrence of the specified character, starting the search at the specified index.
indexOf(Object) - Method in class java.util.AbstractList
Searches this list for the specified object and returns the index of the first occurrence.
indexOf(Object) - Method in class java.util.ArrayList
 
indexOf(Object) - Method in class java.util.LinkedList
 
indexOf(Object) - Method in interface java.util.List
Searches this List for the specified object and returns the index of the first occurrence.
indexOf(Object) - Method in class java.util.Vector
Searches in this vector for the index of the specified object.
indexOf(Object, int) - Method in class java.util.Vector
Searches in this vector for the index of the specified object.
indexOf(String) - Method in class java.lang.String
Returns the index within this string of the first occurrence of the specified substring.
indexOf(String, int) - Method in class java.lang.String
Returns the index within this string of the first occurrence of the specified substring, starting at the specified index.
indexOfField(String) - Method in class com.codename1.backend.orm.EntityDefinition
The index of the column whose field is name, or -1.
indexOfSubList(List, List) - Static method in class java.util.Collections
Searches the list for sublist and returns the beginning index of the first occurrence.
IndexOutOfBoundsException - Exception Class in java.lang
Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range.
IndexOutOfBoundsException() - Constructor for exception class java.lang.IndexOutOfBoundsException
Constructs an IndexOutOfBoundsException with no detail message.
IndexOutOfBoundsException(String) - Constructor for exception class java.lang.IndexOutOfBoundsException
Constructs an IndexOutOfBoundsException with the specified detail message.
Inheritance - Annotation Type in com.codename1.annotations.db
Stores an entity hierarchy in one table with an immutable discriminator.
Inherited - Annotation Type in java.lang.annotation
 
initCause(Throwable) - Method in exception class java.lang.Throwable
Deprecated
initialize(Object, String) - Method in interface com.codename1.orm.session.Session
Loads a relationship if it is still uninitialized.
initialValue() - Method in class java.lang.ThreadLocal
 
InputStream - Class in java.io
This abstract class is the superclass of all classes representing an input stream of bytes.
InputStream() - Constructor for class java.io.InputStream
 
InputStreamReader - Class in java.io
An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and translates them into characters.
InputStreamReader(InputStream) - Constructor for class java.io.InputStreamReader
Create an InputStreamReader that uses the default character encoding.
InputStreamReader(InputStream, String) - Constructor for class java.io.InputStreamReader
Create an InputStreamReader that uses the named character encoding.
insert(int, boolean) - Method in class java.lang.StringBuffer
Inserts the string representation of the boolean argument into this string buffer.
insert(int, boolean) - Method in class java.lang.StringBuilder
Inserts the string representation of the boolean argument into this string builder.
insert(int, char) - Method in class java.lang.StringBuffer
Inserts the string representation of the char argument into this string buffer.
insert(int, char) - Method in class java.lang.StringBuilder
Inserts the string representation of the char argument into this string builder.
insert(int, double) - Method in class java.lang.StringBuffer
Inserts the string representation of the double argument into this string buffer.
insert(int, double) - Method in class java.lang.StringBuilder
Inserts the string representation of the double argument into this string builder.
insert(int, float) - Method in class java.lang.StringBuffer
Inserts the string representation of the float argument into this string buffer.
insert(int, float) - Method in class java.lang.StringBuilder
Inserts the string representation of the float argument into this string builder.
insert(int, int) - Method in class java.lang.StringBuffer
Inserts the string representation of the second int argument into this string buffer.
insert(int, int) - Method in class java.lang.StringBuilder
Inserts the string representation of the second int argument into this string builder.
insert(int, long) - Method in class java.lang.StringBuffer
Inserts the string representation of the long argument into this string buffer.
insert(int, long) - Method in class java.lang.StringBuilder
Inserts the string representation of the long argument into this string builder.
insert(int, CharSequence) - Method in class java.lang.StringBuffer
 
insert(int, CharSequence) - Method in class java.lang.StringBuilder
 
insert(int, CharSequence, int, int) - Method in class java.lang.StringBuffer
 
insert(int, CharSequence, int, int) - Method in class java.lang.StringBuilder
 
insert(int, Object) - Method in class java.lang.StringBuffer
Inserts the string representation of the Object argument into this string buffer.
insert(int, Object) - Method in class java.lang.StringBuilder
Inserts the string representation of the Object argument into this string builder.
insert(int, String) - Method in class java.lang.StringBuffer
Inserts the string into this string buffer.
insert(int, String) - Method in class java.lang.StringBuilder
Inserts the string into this string builder.
insert(String, Object[], String) - Method in class com.codename1.backend.Database
Runs an INSERT and answers the key the database generated for it.
insert(String, Object[], String) - Method in class com.codename1.backend.DataSource
One INSERT on a borrowed connection, answering the key the database generated.
insert(T) - Method in class com.codename1.backend.orm.Dao
Inserts entity.
insertArguments(MethodHandle, int, Object...) - Static method in class java.lang.invoke.MethodHandles
 
insertDefaults(String) - Method in class com.codename1.backend.sql.Dialect
An INSERT that supplies NO columns, for the entity whose only persisted field is a key the database generates.
insertElementAt(E, int) - Method in class java.util.Vector
Inserts the specified object into this vector at the specified location.
insertParameterTypes(int, Class...) - Method in class java.lang.invoke.MethodType
 
insertParameterTypes(int, List) - Method in class java.lang.invoke.MethodType
 
inSpan(String, Tracing.Work) - Static method in class com.codename1.backend.Tracing
Runs work inside a new span that is a child of the current one, and is current itself while it runs.
install(Tracer) - Static method in class com.codename1.backend.Tracing
Installs the tracer every hook reports to, replacing any earlier one.
installShutdownHandler() - Static method in class com.codename1.backend.Signals
Installs the shutdown handlers and ignores SIGPIPE.
instant() - Method in class java.time.Clock
 
Instant - Class in java.time
 
InstantiationException - Exception Class in java.lang
Thrown when an application tries to create an instance of a class using the newInstance method in class Class, but the specified class object cannot be instantiated because it is an interface or is an abstract class.
InstantiationException() - Constructor for exception class java.lang.InstantiationException
Constructs an InstantiationException with no detail message.
InstantiationException(String) - Constructor for exception class java.lang.InstantiationException
Constructs an InstantiationException with the specified detail message.
intBitsToFloat(int) - Static method in class java.lang.Float
Returns the single-float corresponding to a given bit representation.
Integer - Class in java.lang
The Integer class wraps a value of the primitive type int in an object.
Integer(int) - Constructor for class java.lang.Integer
Constructs a newly allocated Integer object that represents the primitive int argument.
INTEGER - Static variable in class com.codename1.backend.sql.Dialect
A 32-bit integer.
intern() - Method in class java.lang.String
Returns a canonical representation for the string object.
interrupt() - Method in class java.lang.Thread
Interrupts this thread.
InterruptedException - Exception Class in java.lang
Thrown when a thread is waiting, sleeping, or otherwise paused for a long time and another thread interrupts it.
InterruptedException() - Constructor for exception class java.lang.InterruptedException
Constructs an InterruptedException with no detail message.
InterruptedException(String) - Constructor for exception class java.lang.InterruptedException
Constructs an InterruptedException with the specified detail message.
InterruptedIOException - Exception Class in java.io
Signals that an I/O operation has been interrupted.
InterruptedIOException() - Constructor for exception class java.io.InterruptedIOException
Constructs an InterruptedIOException with null as its error detail message.
InterruptedIOException(String) - Constructor for exception class java.io.InterruptedIOException
Constructs an InterruptedIOException with the specified detail message.
intersects(BitSet) - Method in class java.util.BitSet
Checks if these two BitSets have at least one bit set to true in the same position.
inTransaction(DataSource.Work) - Method in class com.codename1.backend.DataSource
One transaction on one borrowed connection.
inTransaction(Db.Work) - Method in class com.codename1.backend.DbPool
Convenience: one transaction on a pooled connection.
intValue() - Method in class java.lang.Byte
 
intValue() - Method in class java.lang.Double
Returns the integer value of this Double (by casting to an int).
intValue() - Method in class java.lang.Float
Returns the integer value of this Float (by casting to an int).
intValue() - Method in class java.lang.Integer
Returns the value of this Integer as an int.
intValue() - Method in class java.lang.Long
Returns the value of this Long as an int value.
intValue() - Method in class java.lang.Number
 
intValue() - Method in class java.lang.Short
 
intValue() - Method in class java.util.concurrent.atomic.AtomicInteger
 
intValue() - Method in class java.util.concurrent.atomic.AtomicLong
 
inverseJoinColumn() - Element in annotation type com.codename1.annotations.db.JoinTable
Names the join-table key column referring to the target.
invoke(Object...) - Method in class java.lang.invoke.MethodHandle
 
invokeExact(Object...) - Method in class java.lang.invoke.MethodHandle
 
invoker(MethodType) - Static method in class java.lang.invoke.MethodHandles
 
invokeWithArguments(Object...) - Method in class java.lang.invoke.MethodHandle
 
invokeWithArguments(List) - Method in class java.lang.invoke.MethodHandle
 
IOException - Exception Class in java.io
Signals that an I/O exception of some sort has occurred.
IOException() - Constructor for exception class java.io.IOException
Constructs an IOException with null as its error detail message.
IOException(String) - Constructor for exception class java.io.IOException
Constructs an IOException with the specified detail message.
IOException(String, Throwable) - Constructor for exception class java.io.IOException
Constructs an IOException with the specified detail message and cause.
IOException(Throwable) - Constructor for exception class java.io.IOException
Constructs an IOException with the specified cause.
isAbsolute() - Method in class java.net.URI
Returns
isAlive() - Method in class com.codename1.backend.Http2
False once the session is finished and the connection can be closed.
isAlive() - Method in class java.lang.Thread
Tests if this thread is alive.
isAnnotation() - Method in class java.lang.Class
 
isAnnotationPresent(Class) - Method in class java.lang.Class
Returns true if an annotation for the specified type is present on this element, else false.
isAnonymousClass() - Method in class java.lang.Class
replacement for Class.isAnonymousClass()
isArray() - Method in class java.lang.Class
Determines if this Class object represents an array class.
isAssignableFrom(Class) - Method in class java.lang.Class
Determines if the class or interface represented by this Class object is either the same as, or is a superclass or superinterface of, the class or interface represented by the specified Class parameter.
isClosed() - Method in class com.codename1.backend.sql.MySql
 
isClosed() - Method in class com.codename1.backend.sql.Postgres
 
isDevelopmentProfile() - Method in class com.codename1.backend.Config
Whether the active profile is a development one -- dev, development, test or local.
isDigit(char) - Static method in class java.lang.Character
Determines if the specified character is a digit.
isEmpty() - Method in class java.lang.String
Checks if string is empty.
isEmpty() - Method in class java.util.AbstractCollection
Returns if this Collection contains no elements.
isEmpty() - Method in class java.util.AbstractMap
Returns whether this map is empty.
isEmpty() - Method in class java.util.ArrayDeque
Returns true if the deque has no elements.
isEmpty() - Method in class java.util.ArrayList
 
isEmpty() - Method in class java.util.BitSet
Returns true if all the bits in this BitSet are set to false.
isEmpty() - Method in interface java.util.Collection
Returns if this Collection contains no elements.
isEmpty() - Method in class java.util.Dictionary
Returns true if this dictionary has no key/value pairs.
isEmpty() - Method in class java.util.HashMap
Returns whether this map is empty.
isEmpty() - Method in class java.util.HashSet
Returns true if this HashSet has no elements, false otherwise.
isEmpty() - Method in class java.util.Hashtable
Returns true if this Hashtable has no key/value pairs.
isEmpty() - Method in class java.util.IdentityHashMap
Returns whether this IdentityHashMap has no elements.
isEmpty() - Method in interface java.util.List
Returns whether this List contains no elements.
isEmpty() - Method in interface java.util.Map
Returns whether this map is empty.
isEmpty() - Method in interface java.util.Set
Returns true if this set has no elements.
isEmpty() - Method in class java.util.TreeSet
Returns true if this TreeSet has no element, otherwise false.
isEmpty() - Method in class java.util.Vector
Returns if this vector has no elements, a size of zero.
isEnabled() - Static method in class com.codename1.backend.Tracing
Whether a tracer is installed.
isEnum() - Method in class java.lang.Class
Replacement for Class.isEnum().
isExpiring(long) - Method in class com.codename1.backend.aws.Credentials
True within marginMillis of expiry.
isGenerated() - Method in class com.codename1.backend.orm.ColumnDefinition
Whether the DATABASE assigns this key rather than the application.
isHighSurrogate(char) - Static method in class java.lang.Character
A test for determining if the char is a high surrogate/leading surrogate unit that's used for representing supplementary characters in UTF-16 encoding.
isId() - Method in class com.codename1.backend.orm.ColumnDefinition
Whether this is the primary key.
isInfinite() - Method in class java.lang.Double
Returns true if this Double value is infinitely large in magnitude.
isInfinite() - Method in class java.lang.Float
Returns true if this Float value is infinitely large in magnitude.
isInfinite(double) - Static method in class java.lang.Double
Returns true if the specified number is infinitely large in magnitude.
isInfinite(float) - Static method in class java.lang.Float
Returns true if the specified number is infinitely large in magnitude.
isInstance(Object) - Method in class java.lang.Class
Determines if the specified Object is assignment-compatible with the object represented by this Class.
isInterface() - Method in class java.lang.Class
Determines if the specified Class object represents an interface type.
isInTransaction() - Method in class com.codename1.backend.Database
Whether a transaction opened through this Database API is active.
isJavaIdentifierPart(char) - Static method in class java.lang.Character
Determines whether the character can occur in a Java identifier.
isJavaIdentifierPart(int) - Static method in class java.lang.Character
Determines whether the Unicode code point can occur in a Java identifier.
isJavaIdentifierStart(char) - Static method in class java.lang.Character
Determines whether the character can start a Java identifier.
isJavaIdentifierStart(int) - Static method in class java.lang.Character
Determines whether the Unicode code point can start a Java identifier.
isLeapYear() - Method in class java.time.LocalDate
 
isLoaded(Object, String) - Method in interface com.codename1.orm.session.Session
Checks relationship initialization without fetching its contents.
isLocalClass() - Method in class java.lang.Class
Deprecated
isLowerCase(char) - Static method in class java.lang.Character
Determines if the specified character is a lowercase character.
isLowSurrogate(char) - Static method in class java.lang.Character
A test for determining if the char is a high surrogate/leading surrogate unit that's used for representing supplementary characters in UTF-16 encoding.
isMariaDb() - Method in class com.codename1.backend.sql.MySql
See MySql.mariaDb.
isNaN() - Method in class java.lang.Double
Returns true if this Double value is the special Not-a-Number (NaN) value.
isNaN() - Method in class java.lang.Float
Returns true if this Float value is Not-a-Number (NaN).
isNaN(double) - Static method in class java.lang.Double
Returns true if the specified number is the special Not-a-Number (NaN) value.
isNaN(float) - Static method in class java.lang.Float
Returns true if the specified number is the special Not-a-Number (NaN) value.
isNativeMethod() - Method in class java.lang.StackTraceElement
 
isNotNull(String) - Method in class com.codename1.backend.orm.Query
field IS NOT NULL.
isNotNull(String) - Method in interface com.codename1.orm.session.Query
Adds an IS NOT NULL predicate.
isNull(String) - Method in class com.codename1.backend.orm.Query
field IS NULL.
isNull(String) - Method in interface com.codename1.orm.session.Query
Adds an IS NULL predicate.
isNullable() - Method in class com.codename1.backend.orm.ColumnDefinition
Whether the column is declared without NOT NULL.
ISO_8859_1 - Static variable in class java.nio.charset.StandardCharsets
 
ISO_INSTANT - Static variable in class java.time.format.DateTimeFormatter
 
ISO_LOCAL_DATE - Static variable in class java.time.format.DateTimeFormatter
 
ISO_LOCAL_DATE_TIME - Static variable in class java.time.format.DateTimeFormatter
 
ISO_LOCAL_TIME - Static variable in class java.time.format.DateTimeFormatter
 
ISO_OFFSET_DATE_TIME - Static variable in class java.time.format.DateTimeFormatter
 
ISO_ZONED_DATE_TIME - Static variable in class java.time.format.DateTimeFormatter
 
isOpaque() - Method in class java.net.URI
Returns
isOpen() - Method in class com.codename1.backend.Database
Whether this connection is still usable, which a pool has to know.
isOpen() - Method in class com.codename1.backend.WebSocketSession
Whether this connection is still usable.
isPrimitive() - Method in class java.lang.Class
Returns true if this class is a primitive type.
isRecord() - Method in class java.lang.Class
 
isRecording() - Method in class com.codename1.backend.Span
Whether this span is being recorded.
isRollbackOnly() - Method in interface com.codename1.orm.session.Session
Reports whether a transaction failure prevents committing.
isSecure() - Method in class com.codename1.backend.Tcp
Whether this connection is encrypted.
isSet - Variable in class java.util.Calendar
The flags which tell if a specified time field for the calendar is set.
isSpace(char) - Static method in class java.lang.Character
 
isSpaceChar(char) - Static method in class java.lang.Character
 
isSuccess() - Method in class com.codename1.backend.Web.Result
 
issue(Map, byte[], long) - Static method in class com.codename1.backend.Jwt
  • claims: the payload; "iat" and "exp" are set here and overwrite anything the caller put there
isSupplementaryCodePoint(int) - Static method in class java.lang.Character
A test for determining if the codePoint is within the supplementary code point range.
isSuppressed() - Static method in class com.codename1.backend.Tracing
Whether Tracing.setSuppressed(boolean) is in force on this thread.
isSurrogatePair(char, char) - Static method in class java.lang.Character
A test for determining if the char pair is a valid surrogate pair.
isSynthetic() - Method in class java.lang.Class
replacement for Class.isSynthetic()
isTransactionActive() - Method in interface com.codename1.orm.session.Session
Reports whether this session has an active transaction.
isUpperCase(char) - Static method in class java.lang.Character
Determines if the specified character is an uppercase character.
isValidCodePoint(int) - Static method in class java.lang.Character
A test for determining if the codePoint is a valid Unicode code point.
isVarargsCollector() - Method in class java.lang.invoke.MethodHandle
 
isVirtual() - Static method in class com.codename1.backend.VirtualThread
Whether the caller is running on a virtual thread rather than a host thread.
isWhitespace(char) - Static method in class java.lang.Character
See #isWhitespace(int).
isWhitespace(int) - Static method in class java.lang.Character
Returns true if the given code point is a Unicode whitespace character.
isZeroCopy() - Static method in class com.codename1.backend.StaticFiles
True when the body is sent by the kernel rather than copied through here.
Iterable<T> - Interface in java.lang
Objects of classes that implement this interface can be used within a foreach statement.
iterator() - Method in interface java.lang.Iterable
Returns an Iterator for the elements in this object.
iterator() - Method in class java.util.AbstractCollection
Returns an instance of Iterator that may be used to access the objects contained by this Collection.
iterator() - Method in class java.util.AbstractList
Returns an iterator on the elements of this list.
iterator() - Method in class java.util.AbstractSequentialList
 
iterator() - Method in class java.util.ArrayDeque
Returns the iterator of the deque.
iterator() - Method in interface java.util.Collection
Returns an instance of Iterator that may be used to access the objects contained by this Collection.
iterator() - Method in class java.util.HashSet
Returns an Iterator on the elements of this HashSet.
iterator() - Method in interface java.util.List
Returns an iterator on the elements of this List.
iterator() - Method in class java.util.PriorityQueue
Gets the iterator of the priority queue, which will not return elements in any specified ordering.
iterator() - Method in interface java.util.Set
Returns an iterator on the elements of this set.
iterator() - Method in interface java.util.stream.BaseStream
 
iterator() - Method in class java.util.TreeSet
Returns an Iterator on the elements of this TreeSet.
Iterator<E> - Interface in java.util
An Iterator is used to sequence over a collection of objects.

J

JANUARY - Static variable in class java.util.Calendar
Value of the MONTH field indicating the first month of the year.
java.io - package java.io
 
java.lang - package java.lang
 
java.lang.annotation - package java.lang.annotation
 
java.lang.invoke - package java.lang.invoke
 
java.lang.ref - package java.lang.ref
 
java.lang.reflect - package java.lang.reflect
 
java.net - package java.net
 
java.nio.charset - package java.nio.charset
 
java.text - package java.text
 
java.time - package java.time
 
java.time.format - package java.time.format
 
java.time.temporal - package java.time.temporal
 
java.util - package java.util
 
java.util.concurrent - package java.util.concurrent
 
java.util.concurrent.atomic - package java.util.concurrent.atomic
 
java.util.function - package java.util.function
 
java.util.stream - package java.util.stream
 
join() - Method in class java.lang.Thread
Waits for this thread to die.
join(String) - Method in interface com.codename1.orm.session.Query
Adds an inner join on a relationship path.
joinColumn() - Element in annotation type com.codename1.annotations.db.JoinTable
Names the join-table key column referring to the owner.
JoinColumn - Annotation Type in com.codename1.annotations.db
Foreign key column on the owning table.
joining() - Static method in class java.util.stream.Collectors
 
JoinTable - Annotation Type in com.codename1.annotations.db
Join table and key column names for an owning to-many association.
JpqlQuery<T> - Interface in com.codename1.orm.session
A mutable query obtained from Session.createQuery(String, Class).
json(int, String) - Static method in class com.codename1.backend.HttpServer.Response
 
Json - Class in com.codename1.backend
A self-contained JSON reader/writer for server-side binaries.
Json.Writable - Interface in com.codename1.backend
A value that knows how to write itself as JSON.
jsonValue(int, Object) - Static method in class com.codename1.backend.HttpServer.Response
A JSON response serialised straight into the connection's write buffer.
JULY - Static variable in class java.util.Calendar
Value of the MONTH field indicating the seventh month of the year.
JUNE - Static variable in class java.util.Calendar
Value of the MONTH field indicating the sixth month of the year.
Jwt - Class in com.codename1.backend
HS256 JSON Web Tokens: issue one, and verify one you are handed.
Jwt.InvalidTokenException - Exception Class in com.codename1.backend
Thrown for any token that is not valid and current.

K

keys() - Method in class java.util.Dictionary
Returns an enumeration on the keys of this dictionary.
keys() - Method in class java.util.Hashtable
Returns an enumeration on the keys of this Hashtable instance.
keySet() - Method in class java.util.AbstractMap
Returns a set of the keys contained in this map.
keySet() - Method in class java.util.HashMap
Returns a set of the keys contained in this map.
keySet() - Method in class java.util.Hashtable
Returns a set of the keys contained in this Hashtable.
keySet() - Method in class java.util.IdentityHashMap
Returns a set of the keys contained in this map.
keySet() - Method in class java.util.LinkedHashMap
Returns a set of the keys contained in this map.
keySet() - Method in interface java.util.Map
Returns a set of the keys contained in this Map.
keySet() - Method in class java.util.TreeMap
Returns a set of the keys contained in this map.
KIND_CLIENT - Static variable in class com.codename1.backend.Span
A request this process makes to something else.
KIND_INTERNAL - Static variable in class com.codename1.backend.Span
An operation inside the process.
KIND_SERVER - Static variable in class com.codename1.backend.Span
Answering a request that arrived from outside.

L

LambdaMetafactory - Class in java.lang.invoke
Deprecated
LambdaMetafactory() - Constructor for class java.lang.invoke.LambdaMetafactory
 
LambdaRuntime - Class in com.codename1.backend
The AWS Lambda custom-runtime loop.
last() - Method in interface java.util.SortedSet
Returns the last element in this SortedSet.
last() - Method in class java.util.TreeSet
Answers the last element in this TreeSet.
lastElement() - Method in class java.util.Vector
Returns the last element in this vector.
lastEntry() - Method in interface java.util.NavigableMap
Answers the entry with the biggest key, or null if the map is empty.
lastEntry() - Method in class java.util.TreeMap
Answers the entry with the biggest key, or null if the map is empty.
lastIndexOf(int) - Method in class java.lang.String
Returns the index within this string of the last occurrence of the specified character.
lastIndexOf(int, int) - Method in class java.lang.String
Returns the index within this string of the last occurrence of the specified character, searching backward starting at the specified index.
lastIndexOf(Object) - Method in class java.util.AbstractList
Searches this list for the specified object and returns the index of the last occurrence.
lastIndexOf(Object) - Method in class java.util.ArrayList
 
lastIndexOf(Object) - Method in class java.util.LinkedList
Searches this LinkedList for the specified object and returns the index of the last occurrence.
lastIndexOf(Object) - Method in interface java.util.List
Searches this List for the specified object and returns the index of the last occurrence.
lastIndexOf(Object) - Method in class java.util.Vector
Searches in this vector for the index of the specified object.
lastIndexOf(Object, int) - Method in class java.util.Vector
Searches in this vector for the index of the specified object.
lastIndexOf(String) - Method in class java.lang.String
Searches in this string for the last index of the specified string.
lastIndexOf(String, int) - Method in class java.lang.String
Searches in this string for the index of the specified string.
lastIndexOfSubList(List, List) - Static method in class java.util.Collections
Searches the list for sublist and returns the beginning index of the last occurrence.
lastInsertId() - Method in class com.codename1.backend.Database
The id the most recent insert produced, or 0 where the engine has no such concept.
lastInsertId() - Method in class com.codename1.backend.Db
The rowid the most recent insert produced.
lastInsertId() - Method in class com.codename1.backend.sql.MySql
 
lastKey() - Method in interface java.util.SortedMap
Returns the last key in this sorted map.
lastKey() - Method in class java.util.TreeMap
Returns the last key in this map.
LAZY - Enum constant in enum com.codename1.annotations.db.FetchType
Defers loading until enhanced field access or explicit session initialization.
LazyInitializationException - Exception Class in com.codename1.orm.session
An unloaded association was accessed after its session was detached or closed.
LazyInitializationException(String) - Constructor for exception class com.codename1.orm.session.LazyInitializationException
Creates an exception describing the persistence failure.
lazySet(boolean) - Method in class java.util.concurrent.atomic.AtomicBoolean
 
lazySet(int) - Method in class java.util.concurrent.atomic.AtomicInteger
 
lazySet(long) - Method in class java.util.concurrent.atomic.AtomicLong
 
lazySet(V) - Method in class java.util.concurrent.atomic.AtomicReference
 
le(String, Object) - Method in interface com.codename1.orm.session.Query
Adds a less-than-or-equal predicate.
leftJoin(String) - Method in interface com.codename1.orm.session.Query
Adds a left join before the path is used in predicates.
length() - Method in class com.codename1.backend.ByteSink
 
length() - Method in interface java.lang.CharSequence
Returns the number of characters in this sequence.
length() - Method in class java.lang.String
Returns the length of this string.
length() - Method in class java.lang.StringBuffer
Returns the length (character count) of this string buffer.
length() - Method in class java.lang.StringBuilder
Returns the length (character count) of this string builder.
length() - Method in class java.util.BitSet
Returns the number of bits up to and including the highest bit set.
lengthOfMonth() - Method in class java.time.LocalDate
 
like(String, String) - Method in class com.codename1.backend.orm.Query
field LIKE pattern, with the engine's own wildcards: % for any run of characters and _ for one.
like(String, String) - Method in interface com.codename1.orm.session.Query
Adds a SQL LIKE predicate.
likeOperator() - Method in class com.codename1.backend.sql.Dialect
The operator a portable like renders to, and the pattern it binds.
likePattern(String) - Method in class com.codename1.backend.sql.Dialect
pattern as Dialect.likeOperator() expects it.
limit(int) - Method in class com.codename1.backend.orm.Query
At most this many rows.
limit(int) - Method in interface com.codename1.orm.session.JpqlQuery
Sets the maximum number of selected results.
limit(int) - Method in interface com.codename1.orm.session.Query
Sets the maximum number of results; zero returns no rows.
limit(int, int) - Method in class com.codename1.backend.sql.Dialect
count rows starting at offset, or an empty string when both are unbounded.
limit(long) - Method in interface java.util.stream.Stream
 
LinkageError - Exception Class in java.lang
LinkageError is the superclass of all error classes that occur when loading and linking class files.
LinkageError() - Constructor for exception class java.lang.LinkageError
Constructs a new LinkageError that includes the current stack trace.
LinkageError(String) - Constructor for exception class java.lang.LinkageError
Constructs a new LinkageError with the current stack trace and the specified detail message.
LinkedHashMap<K,V> - Class in java.util
LinkedHashMap is a variant of HashMap.
LinkedHashMap() - Constructor for class java.util.LinkedHashMap
Constructs a new empty LinkedHashMap instance.
LinkedHashMap(int) - Constructor for class java.util.LinkedHashMap
Constructs a new LinkedHashMap instance with the specified capacity.
LinkedHashMap(int, float) - Constructor for class java.util.LinkedHashMap
Constructs a new LinkedHashMap instance with the specified capacity and load factor.
LinkedHashMap(int, float, boolean) - Constructor for class java.util.LinkedHashMap
Constructs a new LinkedHashMap instance with the specified capacity, load factor and a flag specifying the ordering behavior.
LinkedHashMap(Map) - Constructor for class java.util.LinkedHashMap
Constructs a new LinkedHashMap instance containing the mappings from the specified map.
LinkedHashSet<E> - Class in java.util
LinkedHashSet is a variant of HashSet.
LinkedHashSet() - Constructor for class java.util.LinkedHashSet
Constructs a new empty instance of LinkedHashSet.
LinkedHashSet(int) - Constructor for class java.util.LinkedHashSet
Constructs a new instance of LinkedHashSet with the specified capacity.
LinkedHashSet(int, float) - Constructor for class java.util.LinkedHashSet
Constructs a new instance of LinkedHashSet with the specified capacity and load factor.
LinkedHashSet(Collection) - Constructor for class java.util.LinkedHashSet
Constructs a new instance of LinkedHashSet containing the unique elements in the specified collection.
LinkedList<E> - Class in java.util
LinkedList is an implementation of List, backed by a linked list.
LinkedList() - Constructor for class java.util.LinkedList
Constructs a new empty instance of LinkedList.
LinkedList(Collection) - Constructor for class java.util.LinkedList
Constructs a new instance of LinkedList that holds all of the elements contained in the specified collection.
list() - Method in class com.codename1.backend.orm.Query
The matching rows, as entities.
list() - Method in interface com.codename1.orm.session.JpqlQuery
Executes a select with the configured pagination.
list() - Method in interface com.codename1.orm.session.Query
Executes the query, applying pagination and fetch requests.
list(Enumeration) - Static method in class java.util.Collections
Returns an ArrayList with all the elements in the enumeration.
List<E> - Interface in java.util
A List is a collection which maintains an ordering for its elements.
listIterator() - Method in class java.util.AbstractList
Returns a ListIterator on the elements of this list.
listIterator() - Method in interface java.util.List
Returns a List iterator on the elements of this List.
listIterator(int) - Method in class java.util.AbstractList
Returns a list iterator on the elements of this list.
listIterator(int) - Method in class java.util.AbstractSequentialList
 
listIterator(int) - Method in class java.util.LinkedList
Returns a ListIterator on the elements of this LinkedList.
listIterator(int) - Method in interface java.util.List
Returns a list iterator on the elements of this List.
ListIterator<E> - Interface in java.util
An ListIterator is used to sequence over a List of objects.
listObjects(String, String, int) - Method in class com.codename1.backend.aws.S3
Lists up to max objects under a prefix.
load() - Static method in class com.codename1.backend.Config
Reads the configuration for this process: the active profile, then the two properties files, from Config.LOCATION or the working directory.
load(String) - Static method in class com.codename1.backend.Config
Reads the configuration from properties files in directory.
LOCAL_VARIABLE - Enum constant in enum java.lang.annotation.ElementType
 
LocalDate - Class in java.time
 
LocalDateTime - Class in java.time
 
Locale - Class in java.util
 
Locale(String, String) - Constructor for class java.util.Locale
 
LocalTime - Class in java.time
 
LOCATION - Static variable in class com.codename1.backend.Config
The directory the properties files are read from.
lock - Variable in class java.io.Reader
The object used to synchronize operations on this stream.
lock - Variable in class java.io.Writer
The object used to synchronize operations on this stream.
lock(Object, LockMode) - Method in interface com.codename1.orm.session.Session
Applies a lock mode to a managed entity's row.
lockForResync(String) - Method in class com.codename1.backend.sql.Dialect
The statement that holds inserts off table while Dialect.resyncGeneratedKey(String, String) runs, or null where none is needed.
LockMode - Enum in com.codename1.orm.session
Explicit row-lock modes.
Long - Class in java.lang
The Long class wraps a value of the primitive type long in an object.
Long(long) - Constructor for class java.lang.Long
Constructs a newly allocated Long object that represents the primitive long argument.
LONG - Static variable in class java.text.DateFormat
Constant for long style parsing/formatting pattern.
longBitsToDouble(long) - Static method in class java.lang.Double
Returns the double-float corresponding to a given bit representation.
longValue() - Method in class java.lang.Byte
 
longValue() - Method in class java.lang.Double
Returns the long value of this Double (by casting to a long).
longValue() - Method in class java.lang.Float
Returns the long value of this Float (by casting to a long).
longValue() - Method in class java.lang.Integer
Returns the value of this Integer as a long.
longValue() - Method in class java.lang.Long
Returns the value of this Long as a long value.
longValue() - Method in class java.lang.Number
 
longValue() - Method in class java.lang.Short
 
longValue() - Method in class java.util.concurrent.atomic.AtomicInteger
 
longValue() - Method in class java.util.concurrent.atomic.AtomicLong
 
lookup() - Static method in class java.lang.invoke.MethodHandles
 
Lookup() - Constructor for class java.lang.invoke.MethodHandles.Lookup
 
lookupClass() - Method in class java.lang.invoke.MethodHandles.Lookup
 
lookupModes() - Method in class java.lang.invoke.MethodHandles.Lookup
 
lower(E) - Method in interface java.util.NavigableSet
Answers the biggest element less than the specified one, or null if no such element.
lower(E) - Method in class java.util.TreeSet
Answers the biggest element less than the specified one, or null if no such element.
lowerEntry(K) - Method in interface java.util.NavigableMap
Answers an entry related with the biggest key less than the specified key, or null if no such key.
lowerEntry(K) - Method in class java.util.TreeMap
Answers an entry related with the biggest key less than the specified key, or null if no such key.
lowerKey(K) - Method in interface java.util.NavigableMap
Answers the biggest key less than the specified key, or null if no such key.
lowerKey(K) - Method in class java.util.TreeMap
Answers the biggest key less than the specified key, or null if no such key.
lt(String, Object) - Method in class com.codename1.backend.orm.Query
field < value.
lt(String, Object) - Method in interface com.codename1.orm.session.Query
Adds a less-than predicate.
lte(String, Object) - Method in class com.codename1.backend.orm.Query
field <= value.

M

makeConcat(MethodHandles.Lookup, String, MethodType) - Static method in class java.lang.invoke.StringConcatFactory
 
makeConcatWithConstants(MethodHandles.Lookup, String, MethodType, String, Object...) - Static method in class java.lang.invoke.StringConcatFactory
 
ManyToMany - Annotation Type in com.codename1.annotations.db
Maps entity collection membership through a join table or an inverse mappedBy field.
ManyToOne - Annotation Type in com.codename1.annotations.db
Maps a single related entity using a foreign key on the owning table.
map(Function) - Method in interface java.util.stream.Stream
 
Map<K,V> - Interface in java.util
A Map is a data structure consisting of a set of keys and values in which each key is mapped to a single value.
Map.Entry<K,V> - Interface in java.util
Map.Entry is a key/value mapping contained in a Map.
MapKey - Annotation Type in com.codename1.annotations.db
Uses a target attribute as the key of an entity relationship Map.
MapKeyColumn - Annotation Type in com.codename1.annotations.db
Names the key column of a scalar element-collection Map.
mappedBy() - Element in annotation type com.codename1.annotations.db.ManyToMany
Names the owning Java relationship field on the target entity.
mappedBy() - Element in annotation type com.codename1.annotations.db.OneToMany
Names the owning Java relationship field on the target entity.
mappedBy() - Element in annotation type com.codename1.annotations.db.OneToOne
Names the owning Java relationship field on the target entity.
MappedSuperclass - Annotation Type in com.codename1.annotations.db
Contributes inherited scalar and relationship mappings to concrete entities.
MARCH - Static variable in class java.util.Calendar
Value of the MONTH field indicating the third month of the year.
MARIADB - Static variable in class com.codename1.backend.sql.Dialect
MariaDB, which is the MySQL dialect with one difference: the collation it can name for a text column.
mark - Variable in class java.io.ByteArrayInputStream
The currently marked position in the stream.
mark(int) - Method in class java.io.ByteArrayInputStream
Set the current marked position in the stream.
mark(int) - Method in class java.io.DataInputStream
Marks the current position in this input stream.
mark(int) - Method in class java.io.InputStream
Marks the current position in this input stream.
mark(int) - Method in class java.io.InputStreamReader
Mark the present position in the stream.
mark(int) - Method in class java.io.Reader
Mark the present position in the stream.
mark(int) - Method in class java.io.StringReader
Sets a mark position in this reader.
markSupported() - Method in class java.io.ByteArrayInputStream
Tests if ByteArrayInputStream supports mark/reset.
markSupported() - Method in class java.io.DataInputStream
Tests if this input stream supports the mark and reset methods.
markSupported() - Method in class java.io.InputStream
Tests if this input stream supports the mark and reset methods.
markSupported() - Method in class java.io.InputStreamReader
Tell whether this stream supports the mark() operation.
markSupported() - Method in class java.io.Reader
Tell whether this stream supports the mark() operation.
markSupported() - Method in class java.io.StringReader
Indicates whether this reader supports the mark() and reset() methods.
Math - Class in java.lang
The class Math contains methods for performing basic numeric operations.
Math() - Constructor for class java.lang.Math
 
max(double, double) - Static method in class java.lang.Math
Returns the greater of two double values.
max(float, float) - Static method in class java.lang.Math
Returns the greater of two float values.
max(int, int) - Static method in class java.lang.Math
Returns the greater of two int values.
max(long, long) - Static method in class java.lang.Math
Returns the greater of two long values.
max(Collection) - Static method in class java.util.Collections
Searches the specified collection for the maximum element.
max(Collection, Comparator) - Static method in class java.util.Collections
Searches the specified collection for the maximum element using the specified comparator.
MAX_CODE_POINT - Static variable in class java.lang.Character
Maximum code point value - U+10FFFF.
MAX_HIGH_SURROGATE - Static variable in class java.lang.Character
Maximum value of a high surrogate or leading surrogate unit in UTF-16 encoding - '?'.
MAX_LOW_SURROGATE - Static variable in class java.lang.Character
Maximum value of a low surrogate or trailing surrogate unit in UTF-16 encoding - '?'.
MAX_PRIORITY - Static variable in class java.lang.Thread
The maximum priority that a thread can have.
MAX_RADIX - Static variable in class java.lang.Character
The maximum radix available for conversion to and from Strings.
MAX_SURROGATE - Static variable in class java.lang.Character
Maximum value of a surrogate unit in UTF-16 encoding - '?'.
MAX_VALUE - Static variable in class java.lang.Byte
The maximum value a Byte can have.
MAX_VALUE - Static variable in class java.lang.Character
The constant value of this field is the largest value of type char.
MAX_VALUE - Static variable in class java.lang.Double
The largest positive finite value of type double.
MAX_VALUE - Static variable in class java.lang.Float
The largest positive value of type float.
MAX_VALUE - Static variable in class java.lang.Integer
The largest value of type int.
MAX_VALUE - Static variable in class java.lang.Long
The largest value of type long.
MAX_VALUE - Static variable in class java.lang.Short
The maximum value a Short can have.
MAY - Static variable in class java.util.Calendar
Value of the MONTH field indicating the fifth month of the year.
md5(byte[]) - Static method in class com.codename1.backend.Crypto
MD5, for PostgreSQL's md5 authentication method.
MEDIUM - Static variable in class java.text.DateFormat
Constant for medium style parsing/formatting pattern.
merge(K, V, BiFunction) - Method in interface java.util.Map
If the specified key is not already associated with a value or is associated with null, associates it with the given non-null value.
merge(T) - Method in interface com.codename1.orm.session.Session
Copies state into a managed instance, cascading through MERGE associations.
MERGE - Enum constant in enum com.codename1.annotations.db.CascadeType
Merges related entity state.
metafactory(MethodHandles.Lookup, String, MethodType, MethodType, MethodHandle, MethodType) - Static method in class java.lang.invoke.LambdaMetafactory
 
method() - Element in annotation type com.codename1.backend.annotations.RequestMapping
The HTTP verb, when this is used on a method directly.
Method - Class in java.lang.reflect
 
Method() - Constructor for class java.lang.reflect.Method
 
METHOD - Enum constant in enum java.lang.annotation.ElementType
 
MethodHandle - Class in java.lang.invoke
Deprecated
MethodHandle() - Constructor for class java.lang.invoke.MethodHandle
 
MethodHandles - Class in java.lang.invoke
Deprecated
MethodHandles() - Constructor for class java.lang.invoke.MethodHandles
 
MethodHandles.Lookup - Class in java.lang.invoke
 
methodType(Class) - Static method in class java.lang.invoke.MethodType
 
methodType(Class, Class) - Static method in class java.lang.invoke.MethodType
 
methodType(Class, Class[]) - Static method in class java.lang.invoke.MethodType
 
methodType(Class, Class, Class...) - Static method in class java.lang.invoke.MethodType
 
methodType(Class, MethodType) - Static method in class java.lang.invoke.MethodType
 
methodType(Class, List) - Static method in class java.lang.invoke.MethodType
 
MethodType - Class in java.lang.invoke
Deprecated
MethodType() - Constructor for class java.lang.invoke.MethodType
 
metrics(Map) - Method in class com.codename1.backend.otel.OtlpTracer
 
metrics(Map) - Method in interface com.codename1.backend.Tracer
Adds this tracer's counters to a metrics snapshot.
MIDNIGHT - Static variable in class java.time.LocalTime
 
millis() - Method in class java.time.Clock
 
MILLISECOND - Static variable in class java.util.Calendar
Field number for get and set indicating the millisecond within the second.
min(double, double) - Static method in class java.lang.Math
Returns the smaller of two double values.
min(float, float) - Static method in class java.lang.Math
Returns the smaller of two float values.
min(int, int) - Static method in class java.lang.Math
Returns the smaller of two int values.
min(long, long) - Static method in class java.lang.Math
Returns the smaller of two long values.
min(Collection) - Static method in class java.util.Collections
Searches the specified collection for the minimum element.
min(Collection, Comparator) - Static method in class java.util.Collections
Searches the specified collection for the minimum element using the specified comparator.
MIN_CODE_POINT - Static variable in class java.lang.Character
Minimum code point value - U+0000.
MIN_HIGH_SURROGATE - Static variable in class java.lang.Character
Minimum value of a high surrogate or leading surrogate unit in UTF-16 encoding - '?'.
MIN_LOW_SURROGATE - Static variable in class java.lang.Character
Minimum value of a low surrogate or trailing surrogate unit in UTF-16 encoding - '?'.
MIN_PRIORITY - Static variable in class java.lang.Thread
The minimum priority that a thread can have.
MIN_RADIX - Static variable in class java.lang.Character
The minimum radix available for conversion to and from Strings.
MIN_SUPPLEMENTARY_CODE_POINT - Static variable in class java.lang.Character
Minimum value of a supplementary code point - U+010000.
MIN_SURROGATE - Static variable in class java.lang.Character
Minimum value of a surrogate unit in UTF-16 encoding - '?'.
MIN_VALUE - Static variable in class java.lang.Byte
The minimum value a Byte can have.
MIN_VALUE - Static variable in class java.lang.Character
The constant value of this field is the smallest value of type char.
MIN_VALUE - Static variable in class java.lang.Double
The smallest positive value of type double.
MIN_VALUE - Static variable in class java.lang.Float
The smallest positive value of type float.
MIN_VALUE - Static variable in class java.lang.Integer
The smallest value of type int.
MIN_VALUE - Static variable in class java.lang.Long
The smallest value of type long.
MIN_VALUE - Static variable in class java.lang.Short
The minimum value a Short can have.
minus(Duration) - Method in class java.time.Duration
 
minusDays(long) - Method in class java.time.LocalDate
 
minusMillis(long) - Method in class java.time.Instant
 
minusSeconds(long) - Method in class java.time.Instant
 
MINUTE - Static variable in class java.util.Calendar
Field number for get and set indicating the minute within the hour.
modCount - Variable in class java.util.AbstractList
A counter for changes to the list.
modify(int, int) - Method in class com.codename1.backend.Reactor
 
MONDAY - Static variable in class java.util.Calendar
Value of the DAY_OF_WEEK field indicating Monday.
MONTH - Static variable in class java.util.Calendar
Field number for get and set indicating the month.
MySql - Class in com.codename1.backend.sql
A MySQL client speaking the client/server protocol directly, for the same reason as Postgres: a translated server binary has no JDBC.
MYSQL - Static variable in class com.codename1.backend.sql.Dialect
 

N

name() - Element in annotation type com.codename1.annotations.Column
Column name.
name() - Element in annotation type com.codename1.annotations.db.Index
Names the database index.
name() - Element in annotation type com.codename1.annotations.db.JoinColumn
Names the foreign key column on the owning table.
name() - Element in annotation type com.codename1.annotations.db.JoinTable
Names the table storing association membership.
name() - Element in annotation type com.codename1.annotations.db.MapKey
Selects the target entity attribute used as keys in a relationship Map.
name() - Element in annotation type com.codename1.annotations.db.MapKeyColumn
Names the column storing keys for a scalar element-collection Map.
name() - Element in annotation type com.codename1.annotations.db.OrderColumn
Stores positions for an owning List in its join table.
name() - Method in class java.lang.Enum
 
NaN - Static variable in class java.lang.Double
A Not-a-Number (NaN) value of type double.
NaN - Static variable in class java.lang.Float
The Not-a-Number (NaN) value of type float.
nanoTime() - Static method in class java.lang.System
Returns the current value of the running Java Virtual Machine's high-resolution time source, in nanoseconds.
navigableKeySet() - Method in interface java.util.NavigableMap
Answers a NavigableSet view of the keys in ascending order.
navigableKeySet() - Method in class java.util.TreeMap
Answers a NavigableSet view of the keys in ascending order.
NavigableMap<K,V> - Interface in java.util
NavigableMap is a SortedMap with navigation methods answering the closest matches for specified item.
NavigableSet<E> - Interface in java.util
NavigableSet is a SortedSet with navigation methods answering the closest matches for specified item.
nCopies(int, T) - Static method in class java.util.Collections
Returns a list containing the specified number of the specified element.
ne(String, Object) - Method in class com.codename1.backend.orm.Query
field <> value, or field IS NOT NULL when the value is null.
ne(String, Object) - Method in interface com.codename1.orm.session.Query
Adds an inequality predicate; null matches SQL IS NOT NULL.
NEGATIVE_INFINITY - Static variable in class java.lang.Double
The negative infinity of type double.
NEGATIVE_INFINITY - Static variable in class java.lang.Float
The negative infinity of type float.
NegativeArraySizeException - Exception Class in java.lang
Thrown if an application tries to create an array with negative size.
NegativeArraySizeException() - Constructor for exception class java.lang.NegativeArraySizeException
Constructs a NegativeArraySizeException with no detail message.
NegativeArraySizeException(String) - Constructor for exception class java.lang.NegativeArraySizeException
Constructs a NegativeArraySizeException with the specified detail message.
negotiatedProtocol(long) - Static method in class com.codename1.backend.Tls
The protocol ALPN settled on: "h2", "http/1.1", or null.
newInstance() - Method in class com.codename1.backend.orm.EntityDefinition
A new, empty instance.
newInstance() - Method in class java.lang.Class
Creates a new instance of a class.
newInstance(Class, int) - Static method in class java.lang.reflect.Array
 
newInstance(Class, int[]) - Static method in class java.lang.reflect.Array
 
newSetFromMap(Map) - Static method in class java.util.Collections
Answers a set backed by a map.
next() - Method in interface java.util.Iterator
Returns the next object in the iteration, i.e.
next() - Method in interface java.util.ListIterator
Returns the next object in the iteration.
next(int) - Method in class java.util.Random
Generates the next pseudorandom number.
nextAfter(double, double) - Static method in class java.lang.Math
 
nextAfter(float, double) - Static method in class java.lang.Math
 
nextBoolean() - Method in class java.util.Random
 
nextBytes(byte[]) - Method in class java.util.Random
 
nextClearBit(int) - Method in class java.util.BitSet
Returns the position of the first bit that is false on or after pos.
nextDouble() - Method in class java.util.Random
Returns the next pseudorandom, uniformly distributed double value between 0.0 and 1.0 from this random number generator's sequence.
nextDouble(double) - Method in class java.util.concurrent.ThreadLocalRandom
 
nextDouble(double, double) - Method in class java.util.concurrent.ThreadLocalRandom
 
nextDown(double) - Static method in class java.lang.Math
 
nextElement() - Method in interface java.util.Enumeration
Returns the next element of this enumeration if this enumeration object has at least one more element to provide.
nextElement() - Method in class java.util.StringTokenizer
Returns the next token in the string as an Object.
nextFloat() - Method in class java.util.Random
Returns the next pseudorandom, uniformly distributed float value between 0.0 and 1.0 from this random number generator's sequence.
nextIndex() - Method in interface java.util.ListIterator
Returns the index of the next object in the iteration.
nextInt() - Method in class java.util.Random
Returns the next pseudorandom, uniformly distributed int value from this random number generator's sequence.
nextInt(int) - Method in class java.util.Random
Returns a pseudorandom, uniformly distributed int value between 0 (inclusive) and the specified value (exclusive), drawn from this random number generator's sequence.
nextInt(int, int) - Method in class java.util.concurrent.ThreadLocalRandom
 
nextLong() - Method in class java.util.Random
Returns the next pseudorandom, uniformly distributed long value from this random number generator's sequence.
nextLong(long) - Method in class java.util.concurrent.ThreadLocalRandom
 
nextLong(long, long) - Method in class java.util.concurrent.ThreadLocalRandom
 
nextRequest() - Method in class com.codename1.backend.Http2
The next completed request, or null.
nextSetBit(int) - Method in class java.util.BitSet
Returns the position of the first bit that is true on or after pos.
nextToken() - Method in class java.util.StringTokenizer
Returns the next token in the string as a String.
nextToken(String) - Method in class java.util.StringTokenizer
Returns the next token in the string as a String.
NoClassDefFoundError - Exception Class in java.lang
Thrown if the Java Virtual Machine tries to load in the definition of a class (as part of a normal method call or as part of creating a new instance using the new expression) and no definition of the class could be found.
NoClassDefFoundError() - Constructor for exception class java.lang.NoClassDefFoundError
Constructs a NoClassDefFoundError with no detail message.
NoClassDefFoundError(String) - Constructor for exception class java.lang.NoClassDefFoundError
Constructs a NoClassDefFoundError with the specified detail message.
NONE - Enum constant in enum com.codename1.orm.session.LockMode
Performs ordinary reads without requesting a row lock.
noneMatch(Predicate) - Method in interface java.util.stream.Stream
 
nonNull(Object) - Static method in class java.util.Objects
 
NORM_PRIORITY - Static variable in class java.lang.Thread
The default priority that is assigned to a thread.
normalize() - Method in class java.net.URI
Normalize a URI by removing any "./" segments, and "path/../" segments.
NoSuchElementException - Exception Class in java.util
Thrown by the nextElement method of an Enumeration to indicate that there are no more elements in the enumeration.
NoSuchElementException() - Constructor for exception class java.util.NoSuchElementException
Constructs a NoSuchElementException with null as its error message string.
NoSuchElementException(String) - Constructor for exception class java.util.NoSuchElementException
Constructs a NoSuchElementException, saving a reference to the error message string s for later retrieval by the getMessage method.
NoSuchFieldError - Exception Class in java.lang
Thrown when the virtual machine notices that a program tries to reference, on a class or object, a field that does not exist.
NoSuchFieldError() - Constructor for exception class java.lang.NoSuchFieldError
Constructs a new NoSuchFieldError that includes the current stack trace.
NoSuchFieldError(String) - Constructor for exception class java.lang.NoSuchFieldError
Constructs a new NoSuchFieldError with the current stack trace and the specified detail message.
notify() - Method in class java.lang.Object
Wakes up a single thread that is waiting on this object's monitor.
notifyAll() - Method in class java.lang.Object
Wakes up all threads that are waiting on this object's monitor.
notifyObservers() - Method in class java.util.Observable
If hasChanged() returns true, calls the update() method for every observer in the list of observers using null as the argument.
notifyObservers(Object) - Method in class java.util.Observable
If hasChanged() returns true, calls the update() method for every Observer in the list of observers using the specified argument.
NOVEMBER - Static variable in class java.util.Calendar
Value of the MONTH field indicating the eleventh month of the year.
now() - Static method in class java.time.Instant
 
now() - Static method in class java.time.LocalDate
 
now() - Static method in class java.time.LocalDateTime
 
now() - Static method in class java.time.LocalTime
 
now() - Static method in class java.time.ZonedDateTime
 
now(Clock) - Static method in class java.time.LocalDate
 
now(Clock) - Static method in class java.time.LocalDateTime
 
now(Clock) - Static method in class java.time.LocalTime
 
now(Clock) - Static method in class java.time.ZonedDateTime
 
nullable() - Element in annotation type com.codename1.annotations.Column
When false the column gets a NOT NULL constraint at table-create time.
nullable() - Element in annotation type com.codename1.annotations.db.JoinColumn
Allows a null foreign key, subject to the association optional setting.
NullPointerException - Exception Class in java.lang
Thrown when an application attempts to use null in a case where an object is required.
NullPointerException() - Constructor for exception class java.lang.NullPointerException
Constructs a NullPointerException with no detail message.
NullPointerException(String) - Constructor for exception class java.lang.NullPointerException
Constructs a NullPointerException with the specified detail message.
Number - Class in java.lang
 
Number() - Constructor for class java.lang.Number
 
NumberFormatException - Exception Class in java.lang
Thrown to indicate that the application has attempted to convert a string to one of the numeric types, but that the string does not have the appropriate format.
NumberFormatException() - Constructor for exception class java.lang.NumberFormatException
Constructs a NumberFormatException with no detail message.
NumberFormatException(String) - Constructor for exception class java.lang.NumberFormatException
Constructs a NumberFormatException with the specified detail message.
numberOfLeadingZeros(int) - Static method in class java.lang.Integer
 

O

Object - Class in java.lang
Class Object is the root of the class hierarchy.
Object() - Constructor for class java.lang.Object
 
ObjectInfo() - Constructor for class com.codename1.backend.aws.S3.ObjectInfo
 
Objects - Class in java.util
This is a compatibility class which supports the java.util.Objects API.
Objects() - Constructor for class java.util.Objects
 
Observable - Class in java.util
Observable is used to notify a group of Observer objects when a change occurs.
Observable() - Constructor for class java.util.Observable
Constructs a new Observable object.
Observer - Interface in java.util
Observer is the interface to be implemented by objects that receive notification of updates on an Observable object.
OCTOBER - Static variable in class java.util.Calendar
Value of the MONTH field indicating the tenth month of the year.
of(int, int) - Static method in class java.time.LocalTime
 
of(int, int, int) - Static method in class java.time.LocalDate
 
of(int, int, int) - Static method in class java.time.LocalTime
 
of(int, int, int) - Static method in class java.time.Period
 
of(int, int, int, int) - Static method in class java.time.LocalTime
 
of(int, int, int, int, int) - Static method in class java.time.LocalDateTime
 
of(int, int, int, int, int, int) - Static method in class java.time.LocalDateTime
 
of(int, int, int, int, int, int, int) - Static method in class java.time.LocalDateTime
 
of(Database) - Static method in class com.codename1.backend.DataSource
A pool of one around a connection somebody else opened, for code that has a Database already and wants the pooled API around it.
of(Db) - Static method in class com.codename1.backend.Database
Wraps an already-open SQLite handle, for code that opened one directly.
of(Object...) - Static method in class com.codename1.orm.session.Identifier
Creates a composite identifier, normalizing scalar storage representations.
of(String) - Static method in class java.time.ZoneId
 
of(String) - Static method in class java.time.ZoneOffset
 
of(LocalDate, LocalTime) - Static method in class java.time.LocalDateTime
 
of(LocalDate, LocalTime, ZoneId) - Static method in class java.time.ZonedDateTime
 
of(LocalDate, LocalTime, ZoneOffset) - Static method in class java.time.OffsetDateTime
 
of(LocalDateTime, ZoneId) - Static method in class java.time.ZonedDateTime
 
of(LocalDateTime, ZoneOffset) - Static method in class java.time.OffsetDateTime
 
of(Properties, String) - Static method in class com.codename1.backend.Config
A configuration with no files behind it, holding exactly what it is given.
of(T...) - Static method in interface java.util.stream.Stream
 
ofDays(int) - Static method in class java.time.Period
 
ofDays(long) - Static method in class java.time.Duration
 
ofEpochDay(long) - Static method in class java.time.LocalDate
 
ofEpochMilli(long) - Static method in class java.time.Instant
 
ofEpochSecond(long) - Static method in class java.time.Instant
 
ofEpochSecond(long, long) - Static method in class java.time.Instant
 
offer(E) - Method in class java.util.ArrayDeque
Inserts the element at the tail of the deque.
offer(E) - Method in class java.util.LinkedList
 
offer(E) - Method in class java.util.PriorityQueue
Inserts the element to the priority queue.
offer(E) - Method in interface java.util.Queue
Inserts the specified element into the queue provided that the condition allows such an operation.
offerFirst(E) - Method in class java.util.ArrayDeque
Inserts an element at the head of this deque unless it would violate size limit.
offerFirst(E) - Method in interface java.util.Deque
Inserts an element at the head of this deque unless it would violate size limit.
offerFirst(E) - Method in class java.util.LinkedList
Inserts an element at the head of this deque unless it would violate size limit.
offerLast(E) - Method in class java.util.ArrayDeque
Inserts an element at the tail of this deque unless it would violate size limit.
offerLast(E) - Method in interface java.util.Deque
Inserts an element at the tail of this deque unless it would violate size limit.
offerLast(E) - Method in class java.util.LinkedList
Inserts an element at the tail of this deque unless it would violate size limit.
offset(int) - Method in class com.codename1.backend.orm.Query
Skips this many rows.
offset(int) - Method in interface com.codename1.orm.session.JpqlQuery
Sets the number of selected results to skip.
offset(int) - Method in interface com.codename1.orm.session.Query
Sets the number of leading results to skip.
offsetByCodePoints(char[], int, int, int, int) - Static method in class java.lang.Character
Determines the index into the char[] that is offset (measured in code points and specified by codePointOffset), from the index argument and is within the subsequence as delineated by start and count.
offsetByCodePoints(CharSequence, int, int) - Static method in class java.lang.Character
Determines the index into the CharSequence that is offset (measured in code points and specified by codePointOffset), from the index argument.
OffsetDateTime - Class in java.time
 
ofHours(int) - Static method in class java.time.ZoneOffset
 
ofHours(long) - Static method in class java.time.Duration
 
ofHoursMinutes(int, int) - Static method in class java.time.ZoneOffset
 
ofInstant(Instant, ZoneId) - Static method in class java.time.LocalDateTime
 
ofInstant(Instant, ZoneId) - Static method in class java.time.OffsetDateTime
 
ofInstant(Instant, ZoneId) - Static method in class java.time.ZonedDateTime
 
ofMillis(long) - Static method in class java.time.Duration
 
ofMinutes(long) - Static method in class java.time.Duration
 
ofMonths(int) - Static method in class java.time.Period
 
ofNanoOfDay(long) - Static method in class java.time.LocalTime
 
ofPattern(String) - Static method in class java.time.format.DateTimeFormatter
 
ofPattern(String, Locale) - Static method in class java.time.format.DateTimeFormatter
 
ofSecondOfDay(long) - Static method in class java.time.LocalTime
 
ofSeconds(long) - Static method in class java.time.Duration
 
ofSeconds(long, long) - Static method in class java.time.Duration
 
ofTotalSeconds(int) - Static method in class java.time.ZoneOffset
 
ofYears(int) - Static method in class java.time.Period
 
onBinary(WebSocketSession, byte[], int, int) - Method in interface com.codename1.backend.WebSocket
A whole binary message.
onClose(WebSocketSession, int, String) - Method in interface com.codename1.backend.WebSocket
The connection is finished, for any reason, exactly once per session.
onError(WebSocketSession, Exception) - Method in interface com.codename1.backend.WebSocket
Something went wrong: a protocol violation by the peer, an I/O failure, or an exception thrown by one of the callbacks above.
ONESHOT - Static variable in class com.codename1.backend.Reactor
Deliver an event for this descriptor ONCE and then disarm it, until Reactor.modify(int, int) re-arms it.
OneToMany - Annotation Type in com.codename1.annotations.db
Maps a collection of related entities using a join table or an inverse mappedBy field.
OneToOne - Annotation Type in com.codename1.annotations.db
Maps a single related entity with a unique owning foreign key, or an inverse mappedBy field.
onOpen(WebSocketSession) - Method in interface com.codename1.backend.WebSocket
The handshake is done and the 101 is on the wire.
onPing(WebSocketSession, byte[], int, int) - Method in interface com.codename1.backend.WebSocket
A PING arrived.
onPong(WebSocketSession, byte[], int, int) - Method in interface com.codename1.backend.WebSocket
A PONG arrived, answering a WebSocketSession.sendPing(byte[], int, int).
onShutdown(Runnable) - Static method in class com.codename1.backend.Signals
Runs body on a dedicated thread when a shutdown signal arrives.
onText(WebSocketSession, String) - Method in interface com.codename1.backend.WebSocket
A whole text message, reassembled from however many frames carried it, and already validated as UTF-8.
open(Config) - Method in class com.codename1.backend.otel.OtlpTracer
 
open(Config) - Method in interface com.codename1.backend.Tracer
Reads the settings and starts whatever exports spans.
open(Config, String) - Static method in class com.codename1.backend.otel.OtlpTracer
A tracer opened against config, or null when the configuration turns tracing off.
open(Database) - Static method in class com.codename1.backend.orm.EntityManager
An entity manager over one connection.
open(DataSource) - Static method in class com.codename1.backend.orm.EntityManager
An entity manager over a pool, which is the usual form: each operation borrows a connection for its own statement and gives it straight back.
open(HttpServer.Request) - Method in interface com.codename1.backend.HttpServer.WebSocketHandler
 
open(String) - Static method in class com.codename1.backend.Database
Opens the database the URL names.
open(String) - Static method in class com.codename1.backend.DataSource
A pool of the default size for whatever engine url names.
open(String) - Static method in class com.codename1.backend.Db
Opens (or creates) the database at the given path.
open(String, int) - Static method in class com.codename1.backend.DataSource
A pool of size connections; 0 takes the default for the engine.
open(String, int, int) - Static method in class com.codename1.backend.DbPool
Opens size connections to path and puts the database in WAL mode.
open(String, int, int, long) - Static method in class com.codename1.backend.DataSource
The general form.
OPEN_FAILED - Static variable in class com.codename1.backend.FileIo
openRead: the file is there and could not be opened.
openBeneath(String, String) - Static method in class com.codename1.backend.FileIo
A descriptor for relative under root, or -1.
openRead(String) - Static method in class com.codename1.backend.FileIo
 
openSession() - Method in class com.codename1.backend.orm.EntityManager
Opens an independent managed persistence context.
OpenTelemetry - Annotation Type in com.codename1.backend.annotations
Traces this server with OpenTelemetry.
OptimisticLockException - Exception Class in com.codename1.orm.session
The row was changed or removed since it was loaded.
OptimisticLockException(String) - Constructor for exception class com.codename1.orm.session.OptimisticLockException
Creates an exception describing the persistence failure.
optional() - Element in annotation type com.codename1.annotations.db.ManyToOne
Allows an owning to-one relationship to be null.
optional() - Element in annotation type com.codename1.annotations.db.OneToOne
Allows an owning to-one relationship to be null.
or(BitSet) - Method in class java.util.BitSet
Performs the logical OR of this BitSet with another BitSet.
orderBy(String, boolean) - Method in class com.codename1.backend.orm.Query
Orders by a field, ascending or descending.
orderBy(String, boolean) - Method in class com.codename1.backend.sql.Dialect
One ORDER BY term, with NULLs placed the same way on every engine.
orderBy(String, boolean) - Method in interface com.codename1.orm.session.Query
Appends an ordering term.
orderBy(String, boolean, boolean) - Method in class com.codename1.backend.sql.Dialect
Dialect.orderBy(String, boolean) for a column whose kind is known.
OrderBy - Annotation Type in com.codename1.annotations.db
Orders a loaded entity collection by target attributes.
OrderColumn - Annotation Type in com.codename1.annotations.db
Persists the positions of elements in an owning List.
ordinal() - Method in class java.lang.Enum
 
ORM_CREATE_TABLES - Static variable in class com.codename1.backend.Config
Whether the generated daos create their tables at start-up.
orphanRemoval() - Element in annotation type com.codename1.annotations.db.OneToMany
Deletes a related entity removed from this one-to-one or one-to-many association at flush.
orphanRemoval() - Element in annotation type com.codename1.annotations.db.OneToOne
Deletes a related entity removed from this one-to-one or one-to-many association at flush.
OtlpTracer - Class in com.codename1.backend.otel
OpenTelemetry tracing over OTLP/HTTP, with no OpenTelemetry library behind it.
OtlpTracer() - Constructor for class com.codename1.backend.otel.OtlpTracer
A tracer whose service name comes from configuration alone.
OtlpTracer(String) - Constructor for class com.codename1.backend.otel.OtlpTracer
 
out - Variable in class java.io.DataOutputStream
The output stream.
out - Static variable in class java.lang.System
The "standard" output stream.
OutOfMemoryError - Exception Class in java.lang
Thrown when the Java Virtual Machine cannot allocate an object because it is out of memory, and no more memory could be made available by the garbage collector.
OutOfMemoryError() - Constructor for exception class java.lang.OutOfMemoryError
Constructs an OutOfMemoryError with no detail message.
OutOfMemoryError(String) - Constructor for exception class java.lang.OutOfMemoryError
Constructs an OutOfMemoryError with the specified detail message.
OutputStream - Class in java.io
This abstract class is the superclass of all classes representing an output stream of bytes.
OutputStream() - Constructor for class java.io.OutputStream
 
OutputStreamWriter - Class in java.io
An OutputStreamWriter is a bridge from character streams to byte streams: Characters written to it are translated into bytes.
OutputStreamWriter(OutputStream) - Constructor for class java.io.OutputStreamWriter
Create an OutputStreamWriter that uses the default character encoding.
OutputStreamWriter(OutputStream, String) - Constructor for class java.io.OutputStreamWriter
Create an OutputStreamWriter that uses the named character encoding.
Override - Annotation Type in java.lang
An annotation to indicate that a method is intended to override a superclass method.

P

PACKAGE - Enum constant in enum java.lang.annotation.ElementType
 
PACKAGE - Static variable in class java.lang.invoke.MethodHandles.Lookup
 
parallel() - Method in interface java.util.stream.BaseStream
 
PARAMETER - Enum constant in enum java.lang.annotation.ElementType
 
parameterArray() - Method in class java.lang.invoke.MethodType
 
parameterCount() - Method in class java.lang.invoke.MethodType
 
parameterList() - Method in class java.lang.invoke.MethodType
 
parameterType(int) - Method in class java.lang.invoke.MethodType
 
PARKED_IO - Static variable in class com.codename1.backend.VirtualThread
VirtualThread.resume(long): waiting for bytes; its descriptor goes back to the poller.
parse(CharSequence) - Static method in class java.time.Duration
 
parse(CharSequence) - Method in class java.time.format.DateTimeFormatter
 
parse(CharSequence) - Static method in class java.time.Instant
 
parse(CharSequence) - Static method in class java.time.LocalDate
 
parse(CharSequence) - Static method in class java.time.LocalDateTime
 
parse(CharSequence) - Static method in class java.time.LocalTime
 
parse(CharSequence) - Static method in class java.time.OffsetDateTime
 
parse(CharSequence) - Static method in class java.time.ZonedDateTime
 
parse(CharSequence, DateTimeFormatter) - Static method in class java.time.LocalDate
 
parse(CharSequence, DateTimeFormatter) - Static method in class java.time.LocalDateTime
 
parse(CharSequence, DateTimeFormatter) - Static method in class java.time.LocalTime
 
parse(CharSequence, DateTimeFormatter) - Static method in class java.time.OffsetDateTime
 
parse(CharSequence, DateTimeFormatter) - Static method in class java.time.ZonedDateTime
 
parse(String) - Static method in class com.codename1.backend.Http1Date
Epoch millis, or -1 when the value is not a date this understands.
parse(String) - Static method in class com.codename1.backend.Json
 
parse(String) - Method in class java.text.DateFormat
NOT IMPLEMENTED - use SimpleDateFormat for parsing instead.
parse(String) - Method in class java.text.SimpleDateFormat
 
parseBoolean(String) - Static method in class java.lang.Boolean
 
parseByte(String) - Static method in class java.lang.Byte
Assuming the specified String represents a byte, returns that byte's value.
parseByte(String, int) - Static method in class java.lang.Byte
Assuming the specified String represents a byte, returns that byte's value.
parseDouble(String) - Static method in class java.lang.Double
Returns a new double initialized to the value represented by the specified String, as performed by the valueOf method of class Double.
ParseException - Exception Class in java.text
An error occurred during parsing.
ParseException(String, int) - Constructor for exception class java.text.ParseException
Parameters
parseFloat(String) - Static method in class java.lang.Float
Returns a new float initialized to the value represented by the specified String.
parseInt(String) - Static method in class java.lang.Integer
Parses the string argument as a signed decimal integer.
parseInt(String, int) - Static method in class java.lang.Integer
Parses the string argument as a signed integer in the radix specified by the second argument.
parseLong(String) - Static method in class java.lang.Long
Parses the string argument as a signed decimal long.
parseLong(String, int) - Static method in class java.lang.Long
Parses the string argument as a signed long in the radix specified by the second argument.
parseObject(String) - Static method in class com.codename1.backend.Json
Parses a JSON object.
parseObject(String) - Method in class java.text.DateFormat
NOT IMPLEMENTED - use SimpleDateFormat for parsing instead.
parseObject(String) - Method in class java.text.Format
Parse an string to an object.
parseSchemeSpecificPart(String, boolean) - Method in class java.net.URI
Utility method used to parse a given scheme specific part.
parseShort(String) - Static method in class java.lang.Short
Assuming the specified String represents a short, returns that short's value.
parseShort(String, int) - Static method in class java.lang.Short
Assuming the specified String represents a short, returns that short's value in the radix specified by the second argument.
parseURI(String) - Method in class java.net.URI
Rather than attempting to process the uri string in a linear fashion, this implementation works its way from outside-in
PASSWORD_ITERATIONS - Static variable in class com.codename1.backend.Crypto
PBKDF2 iterations for a stored password.
PatchMapping - Annotation Type in com.codename1.backend.annotations
Maps an HTTP PATCH to this method.
pathByteLength() - Method in class com.codename1.backend.HttpServer.Request
The path's length in bytes -- the target up to ? -- without building it.
pathFrom(int) - Method in class com.codename1.backend.HttpServer.Request
The path from from onwards, as text.
pathIs(byte[]) - Method in class com.codename1.backend.HttpServer.Request
True when the request PATH is exactly these bytes.
pathStartsWith(byte[]) - Method in class com.codename1.backend.HttpServer.Request
As HttpServer.Request.pathIs(byte[]), for a route that continues into a path variable.
PathVariable - Annotation Type in com.codename1.backend.annotations
Binds a {name} segment of the path to this parameter.
pbkdf2Sha256(byte[], byte[], int, int) - Static method in class com.codename1.backend.Crypto
PBKDF2-HMAC-SHA-256.
peek() - Method in class java.util.ArrayDeque
Gets but not removes the head element of this deque.
peek() - Method in class java.util.LinkedList
 
peek() - Method in class java.util.PriorityQueue
Gets but does not remove the head of the queue.
peek() - Method in interface java.util.Queue
Gets but does not remove the element at the head of the queue.
peek() - Method in class java.util.Stack
Returns the element at the top of the stack without removing it.
peekFirst() - Method in class java.util.ArrayDeque
Gets but not removes the head element of this deque.
peekFirst() - Method in interface java.util.Deque
Gets but not removes the head element of this deque.
peekFirst() - Method in class java.util.LinkedList
Gets but not removes the head element of this deque.
peekLast() - Method in class java.util.ArrayDeque
Gets but not removes the tail element of this deque.
peekLast() - Method in interface java.util.Deque
Gets but not removes the tail element of this deque.
peekLast() - Method in class java.util.LinkedList
Gets but not removes the tail element of this deque.
pendingBodyBytes() - Method in class com.codename1.backend.Http2
Heap held by response bodies that have been submitted and not yet fully written, which is NOT what drain() empties: that buffer is what nghttp2 has already serialised.
pendingBodyBytesAll() - Static method in class com.codename1.backend.Http2
Response-body heap outstanding across the PROCESS rather than this session.
pendingBodyFiles() - Static method in class com.codename1.backend.Http2
File-backed response bodies outstanding across the PROCESS, not this session.
Period - Class in java.time
 
permuteArguments(MethodHandle, MethodType, int...) - Static method in class java.lang.invoke.MethodHandles
 
persist(T) - Method in interface com.codename1.orm.session.Session
Makes a new entity managed and schedules its insertion at flush.
PERSIST - Enum constant in enum com.codename1.annotations.db.CascadeType
Persists new related entities.
PersistenceException - Exception Class in com.codename1.orm.session
An ORM failure, including an underlying database failure during lazy access.
PersistenceException(String) - Constructor for exception class com.codename1.orm.session.PersistenceException
Creates an exception describing the persistence failure.
PersistenceException(String, Throwable) - Constructor for exception class com.codename1.orm.session.PersistenceException
Creates an exception retaining the underlying failure.
PESSIMISTIC_READ - Enum constant in enum com.codename1.orm.session.LockMode
Requests a shared row lock until transaction completion.
PESSIMISTIC_WRITE - Enum constant in enum com.codename1.orm.session.LockMode
Requests an exclusive row lock until transaction completion.
PI - Static variable in class java.lang.Math
The double value that is closer than any other to , the ratio of the circumference of a circle to its diameter.
plus(Duration) - Method in class java.time.Duration
 
plusDays(long) - Method in class java.time.LocalDate
 
plusDays(long) - Method in class java.time.LocalDateTime
 
plusHours(long) - Method in class java.time.LocalDateTime
 
plusHours(long) - Method in class java.time.LocalTime
 
plusMillis(long) - Method in class java.time.Instant
 
plusMinutes(long) - Method in class java.time.LocalDateTime
 
plusMinutes(long) - Method in class java.time.LocalTime
 
plusMonths(long) - Method in class java.time.LocalDate
 
plusSeconds(long) - Method in class java.time.Instant
 
plusSeconds(long) - Method in class java.time.LocalDateTime
 
plusSeconds(long) - Method in class java.time.LocalTime
 
plusYears(long) - Method in class java.time.LocalDate
 
PM - Static variable in class java.util.Calendar
Value of the AM_PM field indicating the period of the day from noon to just before midnight.
poll() - Method in class java.util.ArrayDeque
Gets and removes the head element of this deque.
poll() - Method in class java.util.LinkedList
 
poll() - Method in class java.util.PriorityQueue
Gets and removes the head of the queue.
poll() - Method in interface java.util.Queue
Gets and removes the element at the head of the queue, or returns null if there is no element in the queue.
pollFirst() - Method in class java.util.ArrayDeque
Gets and removes the head element of this deque.
pollFirst() - Method in interface java.util.Deque
Gets and removes the head element of this deque.
pollFirst() - Method in class java.util.LinkedList
Gets and removes the head element of this deque.
pollFirst() - Method in interface java.util.NavigableSet
Deletes and answers the smallest element, or null if the set is empty.
pollFirst() - Method in class java.util.TreeSet
Deletes and answers the smallest element, or null if the set is empty.
pollFirstEntry() - Method in interface java.util.NavigableMap
Deletes and answers the entry with the smallest key, or null if the map is empty.
pollFirstEntry() - Method in class java.util.TreeMap
Deletes and answers the entry with the smallest key, or null if the map is empty.
pollLast() - Method in class java.util.ArrayDeque
Gets and removes the tail element of this deque.
pollLast() - Method in interface java.util.Deque
Gets and removes the tail element of this deque.
pollLast() - Method in class java.util.LinkedList
Gets and removes the tail element of this deque.
pollLast() - Method in interface java.util.NavigableSet
Deletes and answers the biggest element, or null if the set is empty.
pollLast() - Method in class java.util.TreeSet
Deletes and answers the biggest element, or null if the set is empty.
pollLastEntry() - Method in interface java.util.NavigableMap
Deletes and answers the entry with the biggest key, or null if the map is empty.
pollLastEntry() - Method in class java.util.TreeMap
Deletes and answers the entry with the biggest key, or null if the map is empty.
pop() - Method in class java.util.ArrayDeque
Pops the head element of the deque, just same as removeFirst().
pop() - Method in interface java.util.Deque
Pops the head element of the deque, just same as removeFirst().
pop() - Method in class java.util.LinkedList
Pops the head element of the deque, just same as removeFirst().
pop() - Method in class java.util.Stack
Returns the element at the top of the stack and removes it.
port(int) - Method in class com.codename1.backend.Backend.Builder
The port.
pos - Variable in class java.io.ByteArrayInputStream
The index of the next character to read from the input stream buffer.
POSITIVE_INFINITY - Static variable in class java.lang.Double
The positive infinity of type double.
POSITIVE_INFINITY - Static variable in class java.lang.Float
The positive infinity of type float.
post(String, int, String, byte[]) - Static method in class com.codename1.backend.Http
 
Postgres - Class in com.codename1.backend.sql
A PostgreSQL client speaking the v3 frontend/backend protocol directly.
POSTGRES - Static variable in class com.codename1.backend.sql.Dialect
 
postJson(String, String, String) - Static method in class com.codename1.backend.Web
 
PostLoad - Annotation Type in com.codename1.annotations.db
Invokes a public no-argument callback after an entity is loaded or refreshed.
PostMapping - Annotation Type in com.codename1.backend.annotations
Maps an HTTP POST to this method.
PostPersist - Annotation Type in com.codename1.annotations.db
Invokes a public no-argument callback after the entity insert succeeds, before commit.
PostRemove - Annotation Type in com.codename1.annotations.db
Invokes a public no-argument callback after the entity row is deleted, before commit.
PostUpdate - Annotation Type in com.codename1.annotations.db
Invokes a public no-argument callback after the entity update succeeds, before commit.
Predicate<T> - Interface in java.util.function
 
PrePersist - Annotation Type in com.codename1.annotations.db
Invokes a public no-argument callback before inserting a new entity during flush.
PreRemove - Annotation Type in com.codename1.annotations.db
Invokes a public no-argument callback before the entity row is deleted during flush.
presetResponse() - Method in class com.codename1.backend.HttpServer.Request
DIAGNOSTIC: the connection's Response exactly as the last request left it, or null the first time.
presign(Credentials, String, String, String, String, String, Map, int, String) - Static method in class com.codename1.backend.aws.Aws
A presigned URL: the signature travels in the query string, so anyone holding the URL can make that one request until it expires.
presign(Credentials, String, String, String, String, String, Map, int, String, boolean) - Static method in class com.codename1.backend.aws.Aws
As above, producing an http:// URL when secure is false.
presignGet(String, String, int) - Method in class com.codename1.backend.aws.S3
A URL that downloads the object without any credentials, for seconds.
presignPut(String, String, int) - Method in class com.codename1.backend.aws.S3
The upload counterpart: a URL a client can PUT to, for seconds.
PreUpdate - Annotation Type in com.codename1.annotations.db
Invokes a public no-argument callback before a dirty entity update during flush.
previous() - Method in interface java.util.ListIterator
Returns the previous object in the iteration.
previousIndex() - Method in interface java.util.ListIterator
Returns the index of the previous object in the iteration.
print(boolean) - Method in class java.io.PrintStream
Print a boolean value.
print(char) - Method in class java.io.PrintStream
Print an array of characters.
print(double) - Method in class java.io.PrintStream
Print a double-precision floating point number.
print(float) - Method in class java.io.PrintStream
Print a floating point number.
print(int) - Method in class java.io.PrintStream
Print an integer.
print(long) - Method in class java.io.PrintStream
Print a long integer.
print(Object) - Method in class java.io.PrintStream
Print an object.
print(String) - Method in class java.io.PrintStream
Print a string.
println() - Method in class java.io.PrintStream
Terminate the current line by writing the line separator string.
println(boolean) - Method in class java.io.PrintStream
Print a boolean and then terminate the line.
println(char) - Method in class java.io.PrintStream
Print an array of characters and then terminate the line.
println(double) - Method in class java.io.PrintStream
Print a double and then terminate the line.
println(float) - Method in class java.io.PrintStream
Print a float and then terminate the line.
println(int) - Method in class java.io.PrintStream
Print an integer and then terminate the line.
println(long) - Method in class java.io.PrintStream
Print a long and then terminate the line.
println(Object) - Method in class java.io.PrintStream
Print an Object and then terminate the line.
println(String) - Method in class java.io.PrintStream
Print a String and then terminate the line.
printStackTrace() - Method in exception class java.lang.Throwable
Prints this Throwable and its backtrace to the standard error stream.
printStackTrace(PrintStream) - Method in exception class java.lang.Throwable
Prints this throwable and its backtrace to the given stream.
PrintStream - Class in java.io
A PrintStream adds functionality to another output stream, namely the ability to print representations of various data values conveniently.
PrintStream(OutputStream) - Constructor for class java.io.PrintStream
Create a new print stream.
PrintStream(OutputStream, boolean, String) - Constructor for class java.io.PrintStream
Create a new print stream that encodes with the named charset, optionally flushing automatically.
PriorityQueue<E> - Class in java.util
A PriorityQueue holds elements on a priority heap, which orders the elements according to their natural order or according to the comparator specified at construction time.
PriorityQueue() - Constructor for class java.util.PriorityQueue
Constructs a priority queue with an initial capacity of 11 and natural ordering.
PriorityQueue(int) - Constructor for class java.util.PriorityQueue
Constructs a priority queue with the specified capacity and natural ordering.
PriorityQueue(int, Comparator) - Constructor for class java.util.PriorityQueue
Constructs a priority queue with the specified capacity and comparator.
PriorityQueue(Collection) - Constructor for class java.util.PriorityQueue
Constructs a priority queue that contains the elements of a collection.
PriorityQueue(PriorityQueue) - Constructor for class java.util.PriorityQueue
Constructs a priority queue that contains the elements of another priority queue.
PriorityQueue(SortedSet) - Constructor for class java.util.PriorityQueue
Constructs a priority queue that contains the elements of a sorted set.
PRIVATE - Static variable in class java.lang.invoke.MethodHandles.Lookup
 
PROFILE - Static variable in class com.codename1.backend.Config
Which profile is active.
PROTECTED - Static variable in class java.lang.invoke.MethodHandles.Lookup
 
PROTOCOL - Static variable in class com.codename1.backend.otel.OtlpTracer
 
PUBLIC - Static variable in class java.lang.invoke.MethodHandles.Lookup
 
publicLookup() - Static method in class java.lang.invoke.MethodHandles
 
push(E) - Method in class java.util.ArrayDeque
Pushes the element to the deque(at the head of the deque), just same as addFirst(E).
push(E) - Method in interface java.util.Deque
Pushes the element to the deque(at the head of the deque), just same as addFirst(E).
push(E) - Method in class java.util.LinkedList
Pushes the element to the deque(at the head of the deque), just same as addFirst(E).
push(E) - Method in class java.util.Stack
Pushes the specified object onto the top of the stack.
put(byte[], int, int) - Method in class com.codename1.backend.ByteSink
 
put(int) - Method in class com.codename1.backend.ByteSink
 
put(ByteSink) - Method in class com.codename1.backend.ByteSink
 
put(K, V) - Method in class java.util.AbstractMap
Maps the specified key to the specified value.
put(K, V) - Method in class java.util.Dictionary
Associate key with value in this dictionary.
put(K, V) - Method in class java.util.HashMap
Maps the specified key to the specified value.
put(K, V) - Method in class java.util.Hashtable
Associate the specified value with the specified key in this Hashtable.
put(K, V) - Method in class java.util.IdentityHashMap
Maps the specified key to the specified value.
put(K, V) - Method in class java.util.LinkedHashMap
Maps the specified key to the specified value.
put(K, V) - Method in interface java.util.Map
Maps the specified key to the specified value.
put(K, V) - Method in class java.util.TreeMap
Maps the specified key to the specified value.
putAll(Map) - Method in class java.util.AbstractMap
Copies every mapping in the specified map to this map.
putAll(Map) - Method in class java.util.HashMap
Copies all the mappings in the specified map to this map.
putAll(Map) - Method in class java.util.Hashtable
Copies every mapping to this Hashtable from the specified map.
putAll(Map) - Method in class java.util.IdentityHashMap
Copies all the mappings in the specified map to this map.
putAll(Map) - Method in interface java.util.Map
Copies every mapping in the specified Map to this Map.
putAll(Map) - Method in class java.util.TreeMap
Copies all the mappings in the given map to this map.
putAscii(String) - Method in class com.codename1.backend.ByteSink
ASCII only, one byte per character.
putCodePoint(int) - Method in class com.codename1.backend.ByteSink
One code point as UTF-8.
putIfAbsent(K, V) - Method in interface java.util.Map
If the specified key is not already associated with a value (or is mapped to null) associates it with the given value and returns null, else returns the current value.
PutMapping - Annotation Type in com.codename1.backend.annotations
Maps an HTTP PUT to this method.
putNumber(long) - Method in class com.codename1.backend.ByteSink
A number as ASCII digits, written in place.
putObject(String, String, byte[], String) - Method in class com.codename1.backend.aws.S3
Uploads an object.
putUtf8(String) - Method in class com.codename1.backend.ByteSink
UTF-8, encoded in place.

Q

query() - Method in class com.codename1.backend.orm.Dao
A query built from field names, which is the portable way to ask: the names are the entity's Java fields and the builder quotes the columns they map to, so the same query runs on all three engines.
query(Class) - Method in interface com.codename1.orm.session.Session
Creates a fluent entity query.
query(String, Object[]) - Method in class com.codename1.backend.Database
Runs a query and returns every row as a column-name to value map.
query(String, Object[]) - Method in class com.codename1.backend.DataSource
One query on a borrowed connection.
query(String, Object[]) - Method in class com.codename1.backend.Db
Runs a query and returns every row as a column-name to value map.
query(String, Object[]) - Method in class com.codename1.backend.sql.MySql
 
query(String, Object[]) - Method in class com.codename1.backend.sql.Postgres
Runs a query and returns each row as a column-name to value map, with the SAME value types the SQLite path produces: Long, Double, String, byte[] or null.
Query<T> - Class in com.codename1.backend.orm
A query named in the entity's own terms.
Query<T> - Interface in com.codename1.orm.session
A mutable, parameterized query obtained from Session.query(Class).
queryOne(String, Object[]) - Method in class com.codename1.backend.Database
The one row a query is expected to return, or null when it returns none.
queryOne(String, Object[]) - Method in class com.codename1.backend.DataSource
One query that returns at most one row, on a borrowed connection.
queryParam(String) - Method in class com.codename1.backend.HttpServer.Request
A query parameter's decoded value, or null when the request did not send it.
Queue<E> - Interface in java.util
This kind of collection provides advanced operations compared to basic collections, such as insertion, extraction, and inspection.
QUEUE_SIZE - Static variable in class com.codename1.backend.otel.OtlpTracer
 
quiet() - Method in class com.codename1.backend.Backend.Builder
Suppresses the line this prints when the server comes up.
quote(String) - Method in class com.codename1.backend.sql.Dialect
identifier quoted so that its case is preserved and a reserved word is still usable as a name.

R

Random - Class in java.util
An instance of this class is used to generate a stream of pseudorandom numbers.
Random() - Constructor for class java.util.Random
Creates a new random number generator.
Random(long) - Constructor for class java.util.Random
Creates a new random number generator using a single long seed: public Random(long seed) { setSeed(seed); } Used by method next to hold the state of the pseudorandom number generator.
RandomAccess - Interface in java.util
RandomAccess is implemented by List implementations that support fast (usually constant time) random access.
randomBytes(int) - Static method in class com.codename1.backend.Crypto
Cryptographically secure bytes.
Reactor - Class in com.codename1.backend
Readiness notification over epoll (Linux) or kqueue (macOS/BSD).
read() - Method in class java.io.ByteArrayInputStream
Reads the next byte of data from this input stream.
read() - Method in class java.io.DataInputStream
Reads the next byte of data from this input stream.
read() - Method in class java.io.InputStream
Reads the next byte of data from the input stream.
read() - Method in class java.io.InputStreamReader
Read a single character.
read() - Method in class java.io.Reader
Read a single character.
read() - Method in class java.io.StringReader
Reads a single character from the source string and returns it as an integer with the two higher-order bytes set to 0.
read(byte[]) - Method in class java.io.DataInputStream
See the general contract of the read method of DataInput.
read(byte[]) - Method in class java.io.InputStream
Reads some number of bytes from the input stream and stores them into the buffer array b.
read(byte[], int, int) - Method in class com.codename1.backend.Tcp
Reads up to length bytes.
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(byte[], int, int) - Method in class java.io.DataInputStream
Reads up to len bytes of data from this input stream into an array of bytes.
read(byte[], int, int) - Method in class java.io.InputStream
Reads up to len bytes of data from the input stream into an array of bytes.
read(char[]) - Method in class java.io.Reader
Read characters into an array.
read(char[], int, int) - Method in class java.io.InputStreamReader
Read characters into a portion of an array.
read(char[], int, int) - Method in class java.io.Reader
Read characters into a portion of an array.
read(char[], int, int) - Method in class java.io.StringReader
Reads at most len characters from the source string and stores them at offset in the character array buf.
read(int, byte[], int, int) - Static method in class com.codename1.backend.FileIo
 
read(int, byte[], int, int) - Static method in class com.codename1.backend.ServerSocket
-1 at end of stream, as InputStream does.
READ - Static variable in class com.codename1.backend.Reactor
 
readBoolean() - Method in interface java.io.DataInput
Reads one input byte and returns true if that byte is nonzero, false if that byte is zero.
readBoolean() - Method in class java.io.DataInputStream
See the general contract of the readBoolean method of DataInput.
readByte() - Method in interface java.io.DataInput
Reads and returns one input byte.
readByte() - Method in class java.io.DataInputStream
See the general contract of the readByte method of DataInput.
readChar() - Method in interface java.io.DataInput
Reads an input char and returns the char value.
readChar() - Method in class java.io.DataInputStream
See the general contract of the readChar method of DataInput.
readDouble() - Method in interface java.io.DataInput
Reads eight input bytes and returns a double value.
readDouble() - Method in class java.io.DataInputStream
See the general contract of the readDouble method of DataInput.
Reader - Class in java.io
Abstract class for reading character streams.
Reader() - Constructor for class java.io.Reader
Create a new character-stream reader whose critical sections will synchronize on the reader itself.
Reader(Object) - Constructor for class java.io.Reader
Create a new character-stream reader whose critical sections will synchronize on the given object.
readFloat() - Method in interface java.io.DataInput
Reads four input bytes and returns a float value.
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
Reads some bytes from an input stream and stores them into the buffer array b.
readFully(byte[]) - Method in class java.io.DataInputStream
See the general contract of the readFully method of DataInput.
readFully(byte[], int, int) - Method in interface java.io.DataInput
Reads len bytes from an input stream.
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
Reads four input bytes and returns an int value.
readInt() - Method in class java.io.DataInputStream
See the general contract of the readInt method of DataInput.
readIntoThreadBuffer(int, int) - Static method in class com.codename1.backend.ServerSocket
Read from fd into this thread's reusable buffer and return an array whose length is exactly the number of bytes read, or null at end of stream.
readLong() - Method in interface java.io.DataInput
Reads eight input bytes and returns a long value.
readLong() - Method in class java.io.DataInputStream
See the general contract of the readLong method of DataInput.
readShort() - Method in interface java.io.DataInput
Reads two input bytes and returns a short value.
readShort() - Method in class java.io.DataInputStream
See the general contract of the readShort method of DataInput.
readUnsignedByte() - Method in interface java.io.DataInput
Reads one input byte, zero-extends it to type int, and returns the result, which is therefore in the range 0 through 255.
readUnsignedByte() - Method in class java.io.DataInputStream
See the general contract of the readUnsignedByte method of DataInput.
readUnsignedShort() - Method in interface java.io.DataInput
Reads two input bytes, zero-extends it to type int, and returns an int value in the range 0 through 65535.
readUnsignedShort() - Method in class java.io.DataInputStream
See the general contract of the readUnsignedShort method of DataInput.
readUTF() - Method in interface java.io.DataInput
Reads in a string that has been encoded using 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 Java modified UTF-8 format; this string of characters is then returned as a String.
ready() - Method in class java.io.InputStreamReader
Tell whether this stream is ready to be read.
ready() - Method in class java.io.Reader
Tell whether this stream is ready to be read.
ready() - Method in class java.io.StringReader
Indicates whether this reader is ready to be read without blocking.
REAL - Static variable in class com.codename1.backend.sql.Dialect
A double-precision floating point number.
realPath(String) - Static method in class com.codename1.backend.FileIo
The canonical path, symlinks followed.
rebuildSchemeSpecificPart() - Method in class java.net.URI
Utility method to construct the scheme specific part from the uri segments (less scheme and fragment)
receive(byte[], int, int) - Method in class com.codename1.backend.Http2
Feeds received bytes to the session.
Record - Class in java.lang
Base class for Java record types.
Record() - Constructor for class java.lang.Record
 
recordException(Throwable) - Method in class com.codename1.backend.Span
Records a failure as an "exception" event and marks the span as an error.
reduce(T, BinaryOperator) - Method in interface java.util.stream.Stream
 
Reference - Class in java.lang.ref
Abstract base class for reference objects.
Reference() - Constructor for class java.lang.ref.Reference
 
reflectAs(Class, MethodHandle) - Static method in class java.lang.invoke.MethodHandles
 
refresh(Object) - Method in interface com.codename1.orm.session.Session
Reloads a persisted managed instance, discarding its local changes.
REFRESH - Enum constant in enum com.codename1.annotations.db.CascadeType
Reloads related entities from storage.
regionMatches(boolean, int, String, int, int) - Method in class java.lang.String
Tests if two string regions are equal.
regionMatches(int, String, int, int) - Method in class java.lang.String
Compares the specified string to this string and compares the specified range of characters to determine if they are the same.
register(HttpServer.WebSocketRegistry) - Method in interface com.codename1.backend.HttpServer.WebSocketRoutes
 
register(HttpServer.WebSocketRegistry, DataSource, EntityManager) - Method in interface com.codename1.backend.Backend.WebSocketEndpoints
 
register(EntityDefinition) - Static method in class com.codename1.backend.orm.EntityManager
Installs a generated definition.
registered() - Static method in class com.codename1.backend.orm.EntityManager
Every registered definition, in registration order.
rehash() - Method in class java.util.Hashtable
Increases the capacity of this Hashtable.
relativize(URI) - Method in class java.net.URI
Create a relative URI object against this URI, given the uri parameter.
relay() - Method in class com.codename1.backend.otel.OtlpTracer
 
relay() - Method in interface com.codename1.backend.Tracer
The handler that relays client spans to the collector, or null when this deployment does not offer one.
RELAY - Static variable in class com.codename1.backend.otel.OtlpTracer
 
RELAY_CORS_ORIGIN - Static variable in class com.codename1.backend.otel.OtlpTracer
 
RELAY_MAX_BYTES - Static variable in class com.codename1.backend.otel.OtlpTracer
 
RELAY_MAX_SPANS - Static variable in class com.codename1.backend.otel.OtlpTracer
 
RELAY_PATH - Static variable in class com.codename1.backend.otel.OtlpTracer
 
RELAY_TOKEN - Static variable in class com.codename1.backend.otel.OtlpTracer
 
release(Database) - Method in class com.codename1.backend.DataSource
Returns a borrowed connection to the pool.
release(Db) - Method in class com.codename1.backend.DbPool
 
remove() - Method in class java.lang.ThreadLocal
 
remove() - Method in class java.util.AbstractQueue
Removes the element at the head of the queue and returns it.
remove() - Method in class java.util.ArrayDeque
Gets and removes the head element of this deque.
remove() - Method in interface java.util.Iterator
Removes the last object returned by next from the collection.
remove() - Method in class java.util.LinkedList
 
remove() - Method in interface java.util.ListIterator
Removes the last object returned by next or previous from the list.
remove() - Method in interface java.util.Queue
Gets and removes the element at the head of the queue.
remove(int) - Method in class com.codename1.backend.Reactor
 
remove(int) - Method in class java.util.AbstractList
Removes the object at the specified location from this list.
remove(int) - Method in class java.util.AbstractSequentialList
 
remove(int) - Method in class java.util.ArrayList
Removes the object at the specified location from this list.
remove(int) - Method in class java.util.LinkedList
Removes the object at the specified location from this LinkedList.
remove(int) - Method in interface java.util.List
Removes the object at the specified location from this List.
remove(int) - Method in class java.util.Vector
Removes the object at the specified location from this vector.
remove(Object) - Method in interface com.codename1.orm.session.Session
Schedules a managed entity for deletion, cascading REMOVE associations.
remove(Object) - Method in class java.util.AbstractCollection
Removes one instance of the specified object from this Collection if one is contained (optional).
remove(Object) - Method in class java.util.AbstractMap
Removes a mapping with the specified key from this Map.
remove(Object) - Method in class java.util.ArrayDeque
Removes the first equivalent element of the specified object.
remove(Object) - Method in class java.util.ArrayList
 
remove(Object) - Method in interface java.util.Collection
Removes one instance of the specified object from this Collection if one is contained (optional).
remove(Object) - Method in class java.util.Dictionary
Removes the key/value pair with the specified key from this dictionary.
remove(Object) - Method in class java.util.HashMap
Removes the mapping with the specified key from this map.
remove(Object) - Method in class java.util.HashSet
Removes the specified object from this HashSet.
remove(Object) - Method in class java.util.Hashtable
Removes the key/value pair with the specified key from this Hashtable.
remove(Object) - Method in class java.util.IdentityHashMap
Removes the mapping with the specified key from this map.
remove(Object) - Method in class java.util.LinkedHashMap
Removes the mapping with the specified key from this map.
remove(Object) - Method in class java.util.LinkedList
 
remove(Object) - Method in interface java.util.List
Removes the first occurrence of the specified object from this List.
remove(Object) - Method in interface java.util.Map
Removes a mapping with the specified key from this Map.
remove(Object) - Method in class java.util.PriorityQueue
Removes the specified object from the priority queue.
remove(Object) - Method in interface java.util.Set
Removes the specified object from this set.
remove(Object) - Method in class java.util.TreeMap
Removes the mapping with the specified key from this map.
remove(Object) - Method in class java.util.TreeSet
Removes an occurrence of the specified object from this TreeSet.
remove(Object) - Method in class java.util.Vector
Removes the first occurrence, starting at the beginning and moving towards the end, of the specified object from this vector.
remove(Object, Object) - Method in interface java.util.Map
Removes the entry for the specified key only if it is currently mapped to the specified value.
REMOVE - Enum constant in enum com.codename1.annotations.db.CascadeType
Removes related entities.
removeAll(Collection) - Method in class java.util.AbstractCollection
Removes all occurrences in this Collection of each object in the specified Collection (optional).
removeAll(Collection) - Method in class java.util.AbstractSet
Removes all occurrences in this collection which are contained in the specified collection.
removeAll(Collection) - Method in interface java.util.Collection
Removes all occurrences in this Collection of each object in the specified Collection (optional).
removeAll(Collection) - Method in interface java.util.List
Removes all occurrences in this List of each object in the specified collection.
removeAll(Collection) - Method in interface java.util.Set
Removes all objects in the specified collection from this set.
removeAll(Collection) - Method in class java.util.Vector
Removes all occurrences in this vector of each object in the specified Collection.
removeAllElements() - Method in class java.util.Vector
Removes all elements from this vector, leaving the size zero and the capacity unchanged.
removeEldestEntry(Map.Entry) - Method in class java.util.LinkedHashMap
This method is queried from the put and putAll methods to check if the eldest member of the map should be deleted before adding the new member.
removeElement(Object) - Method in class java.util.Vector
Removes the first occurrence, starting at the beginning and moving towards the end, of the specified object from this vector.
removeElementAt(int) - Method in class java.util.Vector
Removes the element found at index position location from this Vector.
removeFirst() - Method in class java.util.ArrayDeque
Gets and removes the head element of this deque.
removeFirst() - Method in interface java.util.Deque
Gets and removes the head element of this deque.
removeFirst() - Method in class java.util.LinkedList
Removes the first object from this LinkedList.
removeFirstOccurrence(Object) - Method in class java.util.ArrayDeque
Removes the first equivalent element of the specified object.
removeFirstOccurrence(Object) - Method in interface java.util.Deque
Removes the first equivalent element of the specified object.
removeFirstOccurrence(Object) - Method in class java.util.LinkedList
Removes the first equivalent element of the specified object.
removeIf(Predicate) - Method in interface java.util.Collection
Removes all of the elements of this collection that satisfy the given predicate.
removeLast() - Method in class java.util.ArrayDeque
Gets and removes the tail element of this deque.
removeLast() - Method in interface java.util.Deque
Gets and removes the tail element of this deque.
removeLast() - Method in class java.util.LinkedList
Removes the last object from this LinkedList.
removeLastOccurrence(Object) - Method in class java.util.ArrayDeque
Removes the last equivalent element of the specified object.
removeLastOccurrence(Object) - Method in interface java.util.Deque
Removes the last equivalent element of the specified object.
removeLastOccurrence(Object) - Method in class java.util.LinkedList
Removes the last equivalent element of the specified object.
removeRange(int, int) - Method in class java.util.AbstractList
Removes the objects in the specified range from the start to the end index minus one.
removeRange(int, int) - Method in class java.util.ArrayList
Removes the objects in the specified range from the start to the end, but not including the end index.
removeRange(int, int) - Method in class java.util.Vector
Removes the objects in the specified range from the start to the, but not including, end index.
replace(char, char) - Method in class java.lang.String
Returns a new string resulting from replacing all occurrences of oldChar in this string with newChar.
replace(CharSequence, CharSequence) - Method in class java.lang.String
Replaces each substring of this string that matches the literal target sequence with the specified literal replacement sequence.
replace(K, V) - Method in interface java.util.Map
Replaces the entry for the specified key only if it is currently mapped to some value.
replace(K, V, V) - Method in interface java.util.Map
Replaces the entry for the specified key only if currently mapped to the specified value.
replaceAll(BiFunction) - Method in interface java.util.Map
Replaces each entry's value with the result of invoking the given function on that entry.
replaceAll(UnaryOperator) - Method in interface java.util.List
Replaces each element of this list with the result of applying the operator to that element.
replaceAll(List, T, T) - Static method in class java.util.Collections
Replaces all occurrences of Object obj in list with newObj.
report() - Static method in class com.codename1.backend.VirtualThread
Print created/finished/freed counts to stderr, for diagnosis.
request(String, int, String, String, byte[]) - Static method in class com.codename1.backend.Http
 
request(String, String, List, byte[]) - Static method in class com.codename1.backend.Web
  • headers: a list of "Name: value" strings, or null
RequestBody - Annotation Type in com.codename1.backend.annotations
Binds the decoded request body to this parameter.
RequestHeader - Annotation Type in com.codename1.backend.annotations
Binds a request header to this parameter.
RequestMapping - Annotation Type in com.codename1.backend.annotations
A path, and optionally a verb, for a controller or one of its methods.
RequestParam - Annotation Type in com.codename1.backend.annotations
Binds a query parameter to this parameter.
required() - Element in annotation type com.codename1.backend.annotations.PathVariable
Whether a request without it is rejected.
required() - Element in annotation type com.codename1.backend.annotations.RequestBody
Whether a request with no body is rejected.
required() - Element in annotation type com.codename1.backend.annotations.RequestHeader
Whether a request without it is rejected.
required() - Element in annotation type com.codename1.backend.annotations.RequestParam
Whether a request without it is rejected.
requireDataSource(DataSource, String) - Static method in class com.codename1.backend.Backend
The pool, or a refusal naming the handler that asked for one.
requireEntities(EntityManager, String) - Static method in class com.codename1.backend.Backend
The entity manager, or a refusal naming the handler that asked for one.
requireNonNull(T) - Static method in class java.util.Objects
 
requireNonNull(T, String) - Static method in class java.util.Objects
 
requiresDataSource() - Method in class com.codename1.backend.Backend.Builder
Says that the handlers this server builds need a database, so one is opened even when nothing else asks for it.
reset() - Method in class com.codename1.backend.ByteSink
 
reset() - Method in class java.io.ByteArrayInputStream
Resets the buffer to the marked position.
reset() - Method in class java.io.ByteArrayOutputStream
Resets the count field of this byte array output stream to zero, so that all currently accumulated output in the output stream is discarded.
reset() - Method in class java.io.DataInputStream
Repositions this stream to the position at the time the mark method was last called on this input stream.
reset() - Method in class java.io.InputStream
Repositions this stream to the position at the time the mark method was last called on this input stream.
reset() - Method in class java.io.InputStreamReader
Reset the stream.
reset() - Method in class java.io.Reader
Reset the stream.
reset() - Method in class java.io.StringReader
Resets this reader's position to the last mark() location.
resolve() - Static method in class com.codename1.backend.aws.Credentials
The first source that answers, in the order documented on this class.
resolve(URI) - Method in class java.net.URI
Resolve a relative URI by merging it with this URI.
RESOURCE_ATTRIBUTES - Static variable in class com.codename1.backend.otel.OtlpTracer
 
respond(int, int, String, List, byte[]) - Method in class com.codename1.backend.Http2
  • extraHeaders: "name: value" strings.
respond(int, String, byte[]) - Method in class com.codename1.backend.HttpServer.Request
A Response for this request WITHOUT allocating one.
respondFile(int, int, String, List, int, long, long) - Method in class com.codename1.backend.Http2
Responds with a range of an open file, without reading it into the heap.
respondJson(int, Object) - Method in class com.codename1.backend.HttpServer.Request
A JSON response on the connection's pooled Response, serialised straight from the value.
Response(int, String, byte[]) - Constructor for class com.codename1.backend.HttpServer.Response
 
Response(int, String, byte[], Map) - Constructor for class com.codename1.backend.HttpServer.Response
A body AND application headers, which nothing public could express.
ResponseStatus - Annotation Type in com.codename1.backend.annotations
The status this method answers with when it returns normally.
RestController - Annotation Type in com.codename1.backend.annotations
Marks a class whose methods answer HTTP requests.
resume(long) - Static method in class com.codename1.backend.VirtualThread
Run it until it parks, yields or finishes.
resyncGeneratedKey() - Method in class com.codename1.backend.orm.Dao
Puts the generated key back in step after rows were inserted with keys of their own.
resyncGeneratedKey(String, String) - Method in class com.codename1.backend.sql.Dialect
A statement that puts a generated key back in step with the rows that are there, or null when the engine needs none.
retainAll(Collection) - Method in class java.util.AbstractCollection
Removes all objects from this Collection that are not also found in the Collection passed (optional).
retainAll(Collection) - Method in interface java.util.Collection
Removes all objects from this Collection that are not also found in the Collection passed (optional).
retainAll(Collection) - Method in interface java.util.List
Removes all objects from this List that are not contained in the specified collection.
retainAll(Collection) - Method in interface java.util.Set
Removes all objects from this set that are not contained in the specified collection.
retainAll(Collection) - Method in class java.util.Vector
Removes all objects from this vector that are not contained in the specified collection.
Retention - Annotation Type in java.lang.annotation
 
RetentionPolicy - Enum in java.lang.annotation
A mirror of java.lang.annotation.RetentionPolicy.
returnType() - Method in class java.lang.invoke.MethodType
 
revealDirect(MethodHandle) - Method in class java.lang.invoke.MethodHandles.Lookup
 
reverse() - Method in class java.lang.StringBuffer
The character sequence contained in this string buffer is replaced by the reverse of the sequence.
reverse() - Method in class java.lang.StringBuilder
The character sequence contained in this string builder is replaced by the reverse of the sequence.
reverse(List) - Static method in class java.util.Collections
Modifies the specified List by reversing the order of the elements.
reverseBytes(char) - Static method in class java.lang.Character
Reverse the order of the first and second bytes in character
reverseOrder() - Static method in class java.util.Collections
A comparator which reverses the natural order of the elements.
reverseOrder(Comparator) - Static method in class java.util.Collections
Returns a Comparator that reverses the order of the Comparator passed.
rollback() - Method in class com.codename1.backend.sql.MySql
 
rollbackTransaction() - Method in class com.codename1.backend.Database
Rolls back the transaction opened through this API.
rollbackTransaction() - Method in interface com.codename1.orm.session.Session
Rolls back the active transaction and detaches all managed entities.
rotate(List, int) - Static method in class java.util.Collections
Rotates the elements in list by the distance dist
round(double) - Static method in class java.lang.Math
Returns the result of rounding the argument to an integer.
round(float) - Static method in class java.lang.Math
Returns the result of rounding the argument to an integer.
route(String) - Static method in class com.codename1.backend.Tracing
Names the current server span after the route that matched.
route(String, WebSocket) - Method in interface com.codename1.backend.HttpServer.WebSocketRegistry
Serves path with endpoint.
run() - Method in class com.codename1.backend.Backend.Builder
Starts the server, drains it on SIGTERM or SIGINT, and blocks until it stops.
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
If this thread was constructed using a separate Runnable run object, then that Runnable object's run method is called; otherwise, this method does nothing and returns.
run(Database) - Method in interface com.codename1.backend.Database.Work
 
run(Database) - Method in interface com.codename1.backend.DataSource.Work
 
run(Db) - Method in interface com.codename1.backend.Db.Work
 
run(Handler) - Static method in class com.codename1.backend.LambdaRuntime
Runs the invocation loop until the process is killed, which is how a Lambda runtime is supposed to end - the host freezes or terminates the instance.
run(EntityManager) - Method in interface com.codename1.backend.orm.EntityManager.Work
 
run(Span) - Method in interface com.codename1.backend.Tracing.Work
 
Runnable - Interface in java.lang
The Runnable interface should be implemented by any class whose instances are intended to be executed by a thread.
RUNNABLE - Static variable in class com.codename1.backend.VirtualThread
VirtualThread.resume(long): it gave up its turn but is ready to run again NOW.
Runtime - Class in java.lang
Every Java application has a single instance of class Runtime that allows the application to interface with the environment in which the application is running.
Runtime() - Constructor for class java.lang.Runtime
 
RUNTIME - Enum constant in enum java.lang.annotation.RetentionPolicy
 
RuntimeException - Exception Class in java.lang
RuntimeException is the superclass of those exceptions that can be thrown during the normal operation of the Java Virtual Machine.
RuntimeException() - Constructor for exception class java.lang.RuntimeException
Constructs a RuntimeException with no detail message.
RuntimeException(String) - Constructor for exception class java.lang.RuntimeException
Constructs a RuntimeException with the specified detail message.
RuntimeException(String, Throwable) - Constructor for exception class java.lang.RuntimeException
Constructs a RuntimeException with the specified detail message and cause.
RuntimeException(Throwable) - Constructor for exception class java.lang.RuntimeException
Constructs a RuntimeException with specified cause.

S

S3 - Class in com.codename1.backend.aws
Amazon S3, and anything that speaks its API (MinIO, Cloudflare R2, Backblaze B2, Wasabi, Ceph) -- which is why the endpoint is configurable rather than assembled from a region alone.
S3.ObjectInfo - Class in com.codename1.backend.aws
SafeVarargs - Annotation Type in java.lang
 
SAMPLER - Static variable in class com.codename1.backend.otel.OtlpTracer
 
SAMPLER_ARG - Static variable in class com.codename1.backend.otel.OtlpTracer
 
SATURDAY - Static variable in class java.util.Calendar
Value of the DAY_OF_WEEK field indicating Saturday.
schedule(TimerTask, long) - Method in class java.util.Timer
 
schedule(TimerTask, long, long) - Method in class java.util.Timer
 
schedule(TimerTask, Date) - Method in class java.util.Timer
 
schedule(TimerTask, Date, long) - Method in class java.util.Timer
 
scheduleAtFixedRate(TimerTask, long, long) - Method in class java.util.Timer
 
scheduleAtFixedRate(TimerTask, Date, long) - Method in class java.util.Timer
 
scheduledExecutionTime() - Method in class java.util.TimerTask
 
search(Object) - Method in class java.util.Stack
Returns the index of the first occurrence of the object, starting from the top of the stack.
SECOND - Static variable in class java.util.Calendar
Field number for get and set indicating the second within the minute.
SecurityException - Exception Class in java.lang
Thrown by the system to indicate a security violation.
SecurityException() - Constructor for exception class java.lang.SecurityException
Constructs a SecurityException with no detail message.
SecurityException(String) - Constructor for exception class java.lang.SecurityException
Constructs a SecurityException with the specified detail message.
send(Credentials, String, String, String, String, String, Map, Map, byte[], String) - Static method in class com.codename1.backend.aws.Aws
A signed, sent request.
send(Credentials, String, String, String, String, String, Map, Map, byte[], String, boolean) - Static method in class com.codename1.backend.aws.Aws
As above, over plain HTTP when secure is false.
sendBinary(byte[]) - Method in class com.codename1.backend.WebSocketSession
 
sendBinary(byte[], int, int) - Method in class com.codename1.backend.WebSocketSession
 
sendFile(int, int, long, long) - Static method in class com.codename1.backend.FileIo
Sends bytes from a file straight to a socket, without them entering this process where the platform allows it.
sendPing(byte[], int, int) - Method in class com.codename1.backend.WebSocketSession
 
sendPong(byte[], int, int) - Method in class com.codename1.backend.WebSocketSession
 
sendText(String) - Method in class com.codename1.backend.WebSocketSession
 
SEPTEMBER - Static variable in class java.util.Calendar
Value of the MONTH field indicating the ninth month of the year.
SEQUENCE - Enum constant in enum com.codename1.annotations.db.GenerationType
Uses a native PostgreSQL sequence, or the portable sequence table on other backends.
sequential() - Method in interface java.util.stream.BaseStream
 
Serializable - Interface in java.io
Here to simplify porting, won't actually work...
SERVER_BACKLOG - Static variable in class com.codename1.backend.Config
The listen backlog.
SERVER_PORT - Static variable in class com.codename1.backend.Config
The port to listen on.
SERVER_SHUTDOWN_MILLIS - Static variable in class com.codename1.backend.Config
How long a stop waits for requests in flight, in milliseconds.
SERVER_WORKERS - Static variable in class com.codename1.backend.Config
The size of the request thread pool.
ServerSocket - Class in com.codename1.backend
A listening TCP socket and the blocking read/write a worker uses once it owns a connection.
ServerSocket.TimeoutException - Exception Class in com.codename1.backend
Thrown when a read or write deadline expires.
SERVICE_NAME - Static variable in class com.codename1.backend.otel.OtlpTracer
 
serviceName() - Element in annotation type com.codename1.backend.annotations.OpenTelemetry
The service.name spans are reported under, unless OTEL_SERVICE_NAME or cn1.otel.service.name names another.
Session - Interface in com.codename1.orm.session
A persistence context obtained from an entity manager's openSession() method.
set(boolean) - Method in class java.util.concurrent.atomic.AtomicBoolean
 
set(int) - Method in class java.util.BitSet
Sets the bit at index pos to 1.
set(int) - Method in class java.util.concurrent.atomic.AtomicInteger
 
set(int, boolean) - Method in class java.util.BitSet
Sets the bit at index pos to val.
set(int, int) - Method in class java.util.BitSet
Sets the bits starting from pos1 to pos2.
set(int, int) - Method in class java.util.Calendar
Sets the time field with the given value.
set(int, int, boolean) - Method in class java.util.BitSet
Sets the bits starting from pos1 to pos2 to the given val.
set(int, E) - Method in class java.util.AbstractList
Replaces the element at the specified location in this list with the specified object.
set(int, E) - Method in class java.util.AbstractSequentialList
 
set(int, E) - Method in class java.util.ArrayList
Replaces the element at the specified location in this ArrayList with the specified object.
set(int, E) - Method in class java.util.LinkedList
Replaces the element at the specified location in this LinkedList with the specified object.
set(int, E) - Method in interface java.util.List
Replaces the element at the specified location in this List with the specified object.
set(int, E) - Method in class java.util.Vector
Replaces the element at the specified location in this vector with the specified object.
set(long) - Method in class java.util.concurrent.atomic.AtomicLong
 
set(E) - Method in interface java.util.ListIterator
Replaces the last object returned by next or previous with the specified object.
set(Object, int, Object) - Method in class com.codename1.backend.orm.EntityDefinition
Writes the value of column index into entity, converting whatever the engine sent into the field's type.
set(T) - Method in class java.lang.ThreadLocal
 
set(V) - Method in class java.util.concurrent.atomic.AtomicReference
 
Set<E> - Interface in java.util
A Set is a data structure which does not allow duplicate elements.
setAmPmStrings(String[]) - Method in class java.text.DateFormatSymbols
 
setAttachment(Object) - Method in class com.codename1.backend.WebSocketSession
Anything the endpoint wants to keep per connection.
setAttribute(String, boolean) - Method in class com.codename1.backend.Span
Adds or replaces a flag attribute.
setAttribute(String, double) - Method in class com.codename1.backend.Span
Adds or replaces a floating point attribute.
setAttribute(String, long) - Method in class com.codename1.backend.Span
Adds or replaces an integer attribute.
setAttribute(String, String) - Method in class com.codename1.backend.Span
Adds or replaces a string attribute.
setAuthority(String, boolean) - Method in class java.net.URI
Utility method - set the part, ensuring valid format.
setAuthority(String, int, String, boolean) - Method in class java.net.URI
Utility method to construct the authority segment from given host, port, and userinfo segments.
setBlocking(int, boolean) - Static method in class com.codename1.backend.ServerSocket
Blocking or non-blocking mode for one descriptor.
setBusyTimeout(int) - Method in class com.codename1.backend.Db
How long a blocked writer waits for a competing one before giving up.
setChanged() - Method in class java.util.Observable
Sets the changed flag for this Observable.
setCharAt(int, char) - Method in class java.lang.StringBuffer
The character at the specified index of this string buffer is set to ch.
setCharAt(int, char) - Method in class java.lang.StringBuilder
The character at the specified index of this string builder is set to ch.
setDateFormatSymbols(DateFormatSymbols) - Method in class java.text.SimpleDateFormat
Apply new date format symbols for parsing/formatting textual components of dates in a localisation sensitive way.
setDefault(Locale) - Static method in class java.util.Locale
 
setDefault(TimeZone) - Static method in class java.util.TimeZone
 
setElementAt(E, int) - Method in class java.util.Vector
Replaces the element at the specified location in this vector with the specified object.
setEnumValues(Object[], Class) - Static method in class java.lang.Enum
 
setEras(String[]) - Method in class java.text.DateFormatSymbols
 
setError() - Method in class java.io.PrintStream
Set the error state of the stream to true.
setError(String) - Method in class com.codename1.backend.Span
Marks the span as failed, with a short description.
setFragment(String, boolean) - Method in class java.net.URI
Utility method to set the fragment.
setLength(int) - Method in class java.lang.StringBuffer
Sets the length of this string buffer.
setLength(int) - Method in class java.lang.StringBuilder
Sets the length of this string builder.
setMaxBodyBytes(long) - Static method in class com.codename1.backend.Http2
The ceiling for outstanding response bodies across the process.
setMaxFileBodies(int) - Static method in class com.codename1.backend.Http2
The ceiling for outstanding FILE-backed bodies across the process.
setMonths(String[]) - Method in class java.text.DateFormatSymbols
 
setParameter(String, Object) - Method in interface com.codename1.orm.session.JpqlQuery
Binds a named parameter used by this statement.
setPath(String, boolean) - Method in class java.net.URI
Utility method to set the path.
setPriority(int) - Method in class java.lang.Thread
Changes the priority of this thread.
setQuery(String, boolean) - Method in class java.net.URI
Utility method to set the query.
setReadTimeout(int) - Method in class com.codename1.backend.Tcp
A receive and send deadline for this connection, in milliseconds; 0 for none.
setReceiveTimeout(int, int) - Static method in class com.codename1.backend.ServerSocket
The RECEIVE deadline alone, leaving the send deadline where it is.
setScheme(String) - Method in class java.net.URI
Utility method - set the scheme, ensuring valid format, and determining the query separator to use.
setSchemeSpecificPart(String, boolean) - Method in class java.net.URI
Utility method - set the scheme specific part, ensuring valid format.
setSeed(long) - Method in class java.util.concurrent.ThreadLocalRandom
 
setSeed(long) - Method in class java.util.Random
Sets the seed of this random number generator using a single long seed.
setShortMonths(String[]) - Method in class java.text.DateFormatSymbols
 
setShortWeekdays(String[]) - Method in class java.text.DateFormatSymbols
 
setSize(int) - Method in class java.util.Vector
Sets the size of this vector to the specified size.
setStackTrace(StackTraceElement[]) - Method in exception class java.lang.Throwable
 
setSuppressed(boolean) - Static method in class com.codename1.backend.Tracing
Turns span creation off, or back on, for the calling thread.
setTarget(MethodHandle) - Method in class java.lang.invoke.CallSite
 
setTime(long) - Method in class java.util.Date
Sets this Date object to represent a point in time that is time milliseconds after January 1, 1970 00:00:00 GMT.
setTime(Date) - Method in class java.util.Calendar
Sets this Calendar's current time with the given Date.
setTimeInMillis(long) - Method in class java.util.Calendar
Sets this Calendar's current time from the given long value.
setTimeout(int, int) - Static method in class com.codename1.backend.ServerSocket
Applies a receive and send deadline.
setTimeZone(TimeZone) - Method in class java.util.Calendar
Sets the time zone with the given time zone value.
setValue(V) - Method in class java.util.AbstractMap.SimpleEntry
Sets the value of this entry to the specified value, replacing any existing value.
setValue(V) - Method in class java.util.AbstractMap.SimpleImmutableEntry
Throws an UnsupportedOperationException.
setValue(V) - Method in interface java.util.Map.Entry
Sets the value of this entry to the specified value, replacing any existing value.
setWeekdays(String[]) - Method in class java.text.DateFormatSymbols
 
setZoneStrings(String[][]) - Method in class java.text.DateFormatSymbols
 
sha1(byte[]) - Static method in class com.codename1.backend.Crypto
SHA-1, for the wire protocols that specify it by name: MySQL's mysql_native_password, and the RFC 6455 4.2.2 websocket handshake, where the digest of the client key and a fixed GUID becomes Sec-WebSocket-Accept.
sha256(byte[]) - Static method in class com.codename1.backend.Crypto
 
sha256Hex(byte[]) - Static method in class com.codename1.backend.aws.Aws
 
Short - Class in java.lang
The Short class is the standard wrapper for short values.
Short(short) - Constructor for class java.lang.Short
Constructs a Short object initialized to the specified short value.
SHORT - Static variable in class java.text.DateFormat
Constant for short style parsing/formatting pattern.
shortValue() - Method in class java.lang.Double
Returns the value of this Double as a short (by casting to a short).
shortValue() - Method in class java.lang.Float
Returns the value of this Float as a short (by casting to a short).
shortValue() - Method in class java.lang.Integer
Returns the value of this Integer as a short.
shortValue() - Method in class java.lang.Number
 
shortValue() - Method in class java.lang.Short
Returns the value of this Short as a short.
shuffle(List) - Static method in class java.util.Collections
Moves every element of the list to a random new position in the list.
shuffle(List, Random) - Static method in class java.util.Collections
Moves every element of the list to a random new position in the list using the specified random number generator.
shutdown(int) - Method in class com.codename1.backend.otel.OtlpTracer
 
shutdown(int) - Static method in class com.codename1.backend.ServerSocket
Breaks a descriptor in both directions without closing it.
shutdown(int) - Method in interface com.codename1.backend.Tracer
Flushes, then stops the exporter.
shutdownTimeoutMillis(int) - Method in class com.codename1.backend.Backend.Builder
How long a stop waits for requests in flight.
Signals - Class in com.codename1.backend
Turns SIGTERM into an ordinary blocking call, so a server can shut down cleanly when its container asks it to.
signingKey(String, String, String, String) - Static method in class com.codename1.backend.aws.Aws
The four-step key derivation.
signum(int) - Static method in class java.lang.Integer
Returns the value of the signum function for the specified integer.
SimpleDateFormat - Class in java.text
A class for parsing and formatting dates with a given pattern, compatible with the Java 6 API.
SimpleDateFormat() - Constructor for class java.text.SimpleDateFormat
Construct a SimpleDateFormat with no pattern.
SimpleDateFormat(String) - Constructor for class java.text.SimpleDateFormat
Construct a SimpleDateFormat with a given pattern.
SimpleEntry(Map.Entry) - Constructor for class java.util.AbstractMap.SimpleEntry
Constructs a new instance by an entry
SimpleEntry(K, V) - Constructor for class java.util.AbstractMap.SimpleEntry
Constructs a new instance by key and value.
SimpleImmutableEntry(Map.Entry) - Constructor for class java.util.AbstractMap.SimpleImmutableEntry
Constructs a new instance by an entry
SimpleImmutableEntry(K, V) - Constructor for class java.util.AbstractMap.SimpleImmutableEntry
Constructs a new instance by key and value.
sin(double) - Static method in class java.lang.Math
Returns the trigonometric sine of an angle.
singleton(E) - Static method in class java.util.Collections
Returns a set containing the specified element.
singletonList(E) - Static method in class java.util.Collections
Returns a list containing the specified element.
singletonMap(K, V) - Static method in class java.util.Collections
Returns a Map containing the specified key and value.
size() - Method in class java.io.ByteArrayOutputStream
Returns the current size of the buffer.
size() - Method in class java.util.AbstractCollection
Returns a count of how many objects this Collection contains.
size() - Method in class java.util.AbstractMap
Returns the number of elements in this map.
size() - Method in class java.util.ArrayDeque
Returns the size of the deque.
size() - Method in class java.util.ArrayList
Returns the number of elements in this ArrayList.
size() - Method in class java.util.BitSet
Returns the number of bits this BitSet has.
size() - Method in interface java.util.Collection
Returns a count of how many objects this Collection contains.
size() - Method in class java.util.Dictionary
Returns the number of key/value pairs in this dictionary.
size() - Method in class java.util.HashMap
Returns the number of elements in this map.
size() - Method in class java.util.HashSet
Returns the number of elements in this HashSet.
size() - Method in class java.util.Hashtable
Returns the number of key/value pairs in this Hashtable.
size() - Method in class java.util.IdentityHashMap
Returns the number of mappings in this IdentityHashMap.
size() - Method in class java.util.LinkedList
Returns the number of elements in this LinkedList.
size() - Method in interface java.util.List
Returns the number of elements in this List.
size() - Method in interface java.util.Map
Returns the number of mappings in this Map.
size() - Method in class java.util.PriorityQueue
Gets the size of the priority queue.
size() - Method in interface java.util.Set
Returns the number of elements in this set.
size() - Method in class java.util.TreeMap
Returns the number of mappings in this map.
size() - Method in class java.util.TreeSet
Returns the number of elements in this TreeSet.
size() - Method in class java.util.Vector
Returns the number of elements in this vector.
SIZE - Static variable in class java.lang.Byte
 
SIZE - Static variable in class java.lang.Character
Constant for the number of bits to represent a char in two's compliment form.
skip(long) - Method in class java.io.ByteArrayInputStream
Skips n bytes of input from this input stream.
skip(long) - Method in class java.io.DataInputStream
Skips over and discards n bytes of data from the input stream.
skip(long) - Method in class java.io.InputStream
Skips over and discards n bytes of data from this input stream.
skip(long) - Method in class java.io.InputStreamReader
Skip characters.
skip(long) - Method in class java.io.Reader
Skip characters.
skip(long) - Method in class java.io.StringReader
Moves ns characters in the source string.
skip(long) - Method in interface java.util.stream.Stream
 
skipBytes(int) - Method in interface java.io.DataInput
Makes an attempt to skip over n bytes of data from the input stream, discarding the skipped bytes.
skipBytes(int) - Method in class java.io.DataInputStream
See the general contract of the skipBytes method of DataInput.
sleep(long) - Static method in class java.lang.Thread
Causes the currently executing thread to sleep (temporarily cease execution) for the specified number of milliseconds.
SoftReference - Class in java.lang.ref
A reference the collector keeps while the referent is being used and memory allows, and clears before the process runs out.
SoftReference(Object) - Constructor for class java.lang.ref.SoftReference
Creates a new soft reference that refers to the given object.
sort(byte[]) - Static method in class java.util.Arrays
Sorts the specified array in ascending numerical order.
sort(byte[], int, int) - Static method in class java.util.Arrays
Sorts the specified range in the array in ascending numerical order.
sort(char[]) - Static method in class java.util.Arrays
Sorts the specified array in ascending numerical order.
sort(char[], int, int) - Static method in class java.util.Arrays
Sorts the specified range in the array in ascending numerical order.
sort(double[]) - Static method in class java.util.Arrays
Sorts the specified array in ascending numerical order.
sort(double[], int, int) - Static method in class java.util.Arrays
Sorts the specified range in the array in ascending numerical order.
sort(float[]) - Static method in class java.util.Arrays
Sorts the specified array in ascending numerical order.
sort(float[], int, int) - Static method in class java.util.Arrays
Sorts the specified range in the array in ascending numerical order.
sort(int[]) - Static method in class java.util.Arrays
Sorts the specified array in ascending numerical order.
sort(int[], int, int) - Static method in class java.util.Arrays
Sorts the specified range in the array in ascending numerical order.
sort(long[]) - Static method in class java.util.Arrays
Sorts the specified array in ascending numerical order.
sort(long[], int, int) - Static method in class java.util.Arrays
Sorts the specified range in the array in ascending numerical order.
sort(short[]) - Static method in class java.util.Arrays
Sorts the specified array in ascending numerical order.
sort(short[], int, int) - Static method in class java.util.Arrays
Sorts the specified range in the array in ascending numerical order.
sort(Object[]) - Static method in class java.util.Arrays
Sorts the specified array in ascending natural order.
sort(Object[], int, int) - Static method in class java.util.Arrays
Sorts the specified range in the array in ascending natural order.
sort(Comparator) - Method in interface java.util.List
Sorts this list according to the order induced by the specified Comparator.
sort(List) - Static method in class java.util.Collections
Sorts the specified list in ascending natural order.
sort(List, Comparator) - Static method in class java.util.Collections
Sorts the specified list using the specified comparator.
sort(T[], int, int, Comparator) - Static method in class java.util.Arrays
Sorts the specified range in the array using the specified Comparator.
sort(T[], Comparator) - Static method in class java.util.Arrays
Sorts the specified array using the specified Comparator.
sorted() - Method in interface java.util.stream.Stream
 
SortedMap<K,V> - Interface in java.util
A map that has its keys ordered.
SortedSet<E> - Interface in java.util
SortedSet is a Set which iterates over its elements in a sorted order.
SOURCE - Enum constant in enum java.lang.annotation.RetentionPolicy
 
Span - Class in com.codename1.backend
One timed operation inside a distributed trace.
Span() - Constructor for class com.codename1.backend.Span
For tracer implementations.
spreadInvoker(MethodType, int) - Static method in class java.lang.invoke.MethodHandles
 
SQLITE - Static variable in class com.codename1.backend.sql.Dialect
 
sqrt(double) - Static method in class java.lang.Math
Returns the correctly rounded positive square root of a double value.
Stack<E> - Class in java.util
Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects.
Stack() - Constructor for class java.util.Stack
Constructs a stack with the default size of Vector.
StackTraceElement - Class in java.lang
 
StackTraceElement(String, String, String, int) - Constructor for class java.lang.StackTraceElement
 
StandardCharsets - Class in java.nio.charset
Minimal charset constants supported by CLDC11 stubs.
start() - Method in class com.codename1.backend.Backend.Builder
Starts the server and returns, without installing a signal handler or waiting.
start() - Method in class java.lang.Thread
Causes this thread to begin execution; the Java Virtual Machine calls the run method of this thread.
start(String, int, int, int, HttpServer.Handler) - Static method in class com.codename1.backend.HttpServer
 
start(String, int, int, int, HttpServer.Handler, Tls) - Static method in class com.codename1.backend.HttpServer
  • tls: terminate TLS here, or null to serve plaintext (correct behind a load balancer that already terminated it)
start(String, int, int, int, HttpServer.Handler, Tls, HttpServer.WebSocketRoutes) - Static method in class com.codename1.backend.HttpServer
  • webSockets: asked for its routes before the listener accepts anything
startSpan(String) - Static method in class com.codename1.backend.Tracing
A new child of the current span that is NOT made current, for work whose start and end are in different places.
startSpan(String, int, Span, String, String) - Method in class com.codename1.backend.otel.OtlpTracer
 
startSpan(String, int, Span, String, String) - Method in interface com.codename1.backend.Tracer
A new span.
startsWith(String) - Method in class java.lang.String
Tests if this string starts with the specified prefix.
startsWith(String, int) - Method in class java.lang.String
Tests if this string starts with the specified prefix beginning at the specified index.
startTls(String) - Method in class com.codename1.backend.Tcp
Upgrades this connection to TLS, verifying the peer certificate against the system trust store and against host.
startTls(String, String) - Method in class com.codename1.backend.Tcp
As Tcp.startTls(String), verifying against the PEM bundle at caFile INSTEAD of the system trust store.
stat(int, long[]) - Static method in class com.codename1.backend.FileIo
Fills out[0]=size, out[1]=modified-time-millis, out[2]=1 for a directory.
statFresh(int, long[]) - Static method in class com.codename1.backend.FileIo
The same call, because statImpl is a live fstat on the open descriptor and so is already current.
STATIC_CACHE_CONTROL - Static variable in class com.codename1.backend.Config
The Cache-Control header those files carry.
STATIC_INDEX - Static variable in class com.codename1.backend.Config
The file a directory request is answered with.
STATIC_PREFIX - Static variable in class com.codename1.backend.Config
The path prefix those files are served under.
STATIC_ROOT - Static variable in class com.codename1.backend.Config
A directory to serve static files from.
staticFiles(String, String, String, String) - Method in class com.codename1.backend.Backend.Builder
Serves a directory, after every handler, so a file cannot shadow a route.
StaticFiles - Class in com.codename1.backend
Serves files out of a document root, on the kernel's zero-copy path.
StaticFiles(String, String, String, String) - Constructor for class com.codename1.backend.StaticFiles
  • root: the document root; resolved once, and every request must land inside it
stop() - Method in class com.codename1.backend.Backend
Stops accepting, lets what is in flight finish, and closes the database.
stop() - Method in class com.codename1.backend.HttpServer
Stops with a default drain window.
stop(int) - Method in class com.codename1.backend.HttpServer
Stops accepting, lets in-flight requests finish, then closes what is left.
storageType() - Element in annotation type com.codename1.annotations.db.Convert
Declares the SQL scalar type returned by the converter.
strategy() - Element in annotation type com.codename1.annotations.db.GeneratedValue
Chooses identifier generation, overriding Id.autoIncrement.
Stream<T> - Interface in java.util.stream
 
String - Class in java.lang
The String class represents character strings.
String() - Constructor for class java.lang.String
Initializes a newly created String object so that it represents an empty character sequence.
String(byte[]) - Constructor for class java.lang.String
Construct a new String by converting the specified array of bytes using the platform's default character encoding.
String(byte[], int, int) - Constructor for class java.lang.String
Construct a new String by converting the specified subarray of bytes using the platform's default character encoding.
String(byte[], int, int, String) - Constructor for class java.lang.String
Construct a new String by converting the specified subarray of bytes using the specified character encoding.
String(byte[], String) - Constructor for class java.lang.String
Construct a new String by converting the specified array of bytes using the specified character encoding.
String(byte[], Charset) - Constructor for class java.lang.String
Construct a new String by converting the specified array of bytes using the specified character encoding.
String(char[]) - Constructor for class java.lang.String
Allocates a new String so that it represents the sequence of characters currently contained in the character array argument.
String(char[], int, int) - Constructor for class java.lang.String
Allocates a new String that contains characters from a subarray of the character array argument.
String(String) - Constructor for class java.lang.String
Initializes a newly created String object so that it represents the same sequence of characters as the argument; in other words, the newly created string is a copy of the argument string.
String(StringBuffer) - Constructor for class java.lang.String
Allocates a new string that contains the sequence of characters currently contained in the string buffer argument.
String(StringBuilder) - Constructor for class java.lang.String
 
StringBuffer - Class in java.lang
A string buffer implements a mutable sequence of characters.
StringBuffer() - Constructor for class java.lang.StringBuffer
Constructs a string buffer with no characters in it and an initial capacity of 16 characters.
StringBuffer(int) - Constructor for class java.lang.StringBuffer
Constructs a string buffer with no characters in it and an initial capacity specified by the length argument.
StringBuffer(String) - Constructor for class java.lang.StringBuffer
Constructs a string buffer so that it represents the same sequence of characters as the string argument; in other words, the initial contents of the string buffer is a copy of the argument string.
StringBuffer(CharSequence) - Method in class java.lang.StringBuffer
 
StringBuilder - Class in java.lang
A string builder implements a mutable sequence of characters.
StringBuilder() - Constructor for class java.lang.StringBuilder
Constructs a string builder with no characters in it and an initial capacity of 16 characters.
StringBuilder(int) - Constructor for class java.lang.StringBuilder
Constructs a string builder with no characters in it and an initial capacity specified by the length argument.
StringBuilder(CharSequence) - Constructor for class java.lang.StringBuilder
 
StringBuilder(String) - Constructor for class java.lang.StringBuilder
Constructs a string builder so that it represents the same sequence of characters as the string argument; in other words, the initial contents of the string builder is a copy of the argument string.
StringConcatFactory - Class in java.lang.invoke
Deprecated
StringIndexOutOfBoundsException - Exception Class in java.lang
Thrown by the charAt method in class String and by other String methods to indicate that an index is either negative or greater than or equal to the size of the string.
StringIndexOutOfBoundsException() - Constructor for exception class java.lang.StringIndexOutOfBoundsException
Constructs a StringIndexOutOfBoundsException with no detail message.
StringIndexOutOfBoundsException(int) - Constructor for exception class java.lang.StringIndexOutOfBoundsException
Constructs a new StringIndexOutOfBoundsException class with an argument indicating the illegal index.
StringIndexOutOfBoundsException(String) - Constructor for exception class java.lang.StringIndexOutOfBoundsException
Constructs a StringIndexOutOfBoundsException with the specified detail message.
StringReader - Class in java.io
A specialized Reader that reads characters from a String in a sequential manner.
StringReader(String) - Constructor for class java.io.StringReader
Construct a new StringReader with str as source.
StringTokenizer - Class in java.util
The StringTokenizer class allows an application to break a string into tokens by performing code point comparison.
StringTokenizer(String) - Constructor for class java.util.StringTokenizer
Constructs a new StringTokenizer for the parameter string using whitespace as the delimiter.
StringTokenizer(String, String) - Constructor for class java.util.StringTokenizer
Constructs a new StringTokenizer for the parameter string using the specified delimiters.
StringTokenizer(String, String, boolean) - Constructor for class java.util.StringTokenizer
Constructs a new StringTokenizer for the parameter string using the specified delimiters, returning the delimiters as tokens if the parameter returnDelimiters is true.
StringWriter - Class in java.io
 
StringWriter() - Constructor for class java.io.StringWriter
 
StringWriter(int) - Constructor for class java.io.StringWriter
 
subList(int, int) - Method in class java.util.AbstractList
Returns a part of consecutive elements of this list as a view.
subList(int, int) - Method in interface java.util.List
Returns a List of the specified portion of this List from the given start index to the end index minus one.
subList(int, int) - Method in class java.util.Vector
Returns a List of the specified portion of this vector from the start index to one less than the end index.
subMap(K, boolean, K, boolean) - Method in interface java.util.NavigableMap
Answers a view of part of the map whose keys is from startKey to endKey.
subMap(K, boolean, K, boolean) - Method in class java.util.TreeMap
Answers a view of part of the map whose keys is from startKey to endKey.
subMap(K, K) - Method in interface java.util.SortedMap
Returns a sorted map over a range of this sorted map with all keys greater than or equal to the specified startKey and less than the specified endKey.
subMap(K, K) - Method in class java.util.TreeMap
Returns a sorted map over a range of this sorted map with all keys greater than or equal to the specified startKey and less than the specified endKey.
subSequence(int, int) - Method in interface java.lang.CharSequence
Returns a CharSequence from the start index (inclusive) to the end index (exclusive) of this sequence.
subSequence(int, int) - Method in class java.lang.String
 
subSequence(int, int) - Method in class java.lang.StringBuffer
 
subSequence(int, int) - Method in class java.lang.StringBuilder
 
subSet(E, boolean, E, boolean) - Method in interface java.util.NavigableSet
Answers a NavigableSet of the specified portion of this set which contains elements greater (or equal to, depends on startInclusive) the start element but less than (or equal to, depends on endInclusive) the end element.
subSet(E, boolean, E, boolean) - Method in class java.util.TreeSet
Answers a NavigableSet of the specified portion of this set which contains elements greater (or equal to, depends on startInclusive) the start element but less than (or equal to, depends on endInclusive) the end element.
subSet(E, E) - Method in interface java.util.SortedSet
Returns a SortedSet of the specified portion of this SortedSet which contains elements greater or equal to the start element but less than the end element.
subSet(E, E) - Method in class java.util.TreeSet
Answers a SortedSet of the specified portion of this TreeSet which contains elements greater or equal to the start element but less than the end element.
substring(int) - Method in class java.lang.String
Returns a new string that is a substring of this string.
substring(int, int) - Method in class java.lang.String
Returns a new string that is a substring of this string.
SUNDAY - Static variable in class java.util.Calendar
Value of the DAY_OF_WEEK field indicating Sunday.
supplier() - Method in interface java.util.stream.Collector
 
Supplier<T> - Interface in java.util.function
 
supported() - Static method in class com.codename1.backend.VirtualThread
Whether this build has virtual threads at all, which is not the same question as isVirtual().
SuppressWarnings - Annotation Type in java.lang
An annotation that indicates a compiler should suppress any warnings of the type specified in the #value().
swap(List, int, int) - Static method in class java.util.Collections
Swaps the elements of list list at indices index1 and index2.
synchronizedCollection(Collection) - Static method in class java.util.Collections
Returns a wrapper on the specified collection which synchronizes all access to the collection.
synchronizedList(List) - Static method in class java.util.Collections
Returns a wrapper on the specified List which synchronizes all access to the List.
synchronizedMap(Map) - Static method in class java.util.Collections
Returns a wrapper on the specified map which synchronizes all access to the map.
synchronizedSet(Set) - Static method in class java.util.Collections
Returns a wrapper on the specified set which synchronizes all access to the set.
synchronizedSortedMap(SortedMap) - Static method in class java.util.Collections
Returns a wrapper on the specified sorted map which synchronizes all access to the sorted map.
synchronizedSortedSet(SortedSet) - Static method in class java.util.Collections
Returns a wrapper on the specified sorted set which synchronizes all access to the sorted set.
System - Class in java.lang
The System class contains several useful class fields and methods.
System() - Constructor for class java.lang.System
 
systemDefault() - Static method in class java.time.ZoneId
 
systemDefaultZone() - Static method in class java.time.Clock
 
systemUTC() - Static method in class java.time.Clock
 

T

table() - Element in annotation type com.codename1.annotations.Entity
SQL table name.
table() - Method in class com.codename1.backend.orm.EntityDefinition
The table name: @Entity(table) or the simple class name.
TABLE - Enum constant in enum com.codename1.annotations.db.GenerationType
Allocates integral identifiers using the portable sequence table.
tableName() - Method in class com.codename1.backend.orm.Dao
The table name, from @Entity(table) or the class's simple name.
tailMap(K) - Method in interface java.util.SortedMap
Returns a sorted map over a range of this sorted map with all keys that are greater than or equal to the specified startKey.
tailMap(K) - Method in class java.util.TreeMap
Returns a sorted map over a range of this sorted map with all keys that are greater than or equal to the specified startKey.
tailMap(K, boolean) - Method in interface java.util.NavigableMap
Answers a view of the tail of the map whose keys are bigger than (or equal to, depends on inclusive argument) startKey.
tailMap(K, boolean) - Method in class java.util.TreeMap
Answers a view of the tail of the map whose keys are bigger than (or equal to, depends on inclusive argument) startKey.
tailSet(E) - Method in interface java.util.SortedSet
Returns a SortedSet of the specified portion of this SortedSet which contains elements greater or equal to the start element.
tailSet(E) - Method in class java.util.TreeSet
Answers a SortedSet of the specified portion of this TreeSet which contains elements greater or equal to the start element.
tailSet(E, boolean) - Method in interface java.util.NavigableSet
Answers a NavigableSet of the specified portion of this set which contains elements greater (or equal to, depends on startInclusive) the start element.
tailSet(E, boolean) - Method in class java.util.TreeSet
Answers a NavigableSet of the specified portion of this set which contains elements greater (or equal to, depends on startInclusive) the start element.
tan(double) - Static method in class java.lang.Math
Returns the trigonometric tangent of an angle.
Target - Annotation Type in java.lang.annotation
 
Tcp - Class in com.codename1.backend
Blocking TCP client socket for server-side (clean-target) binaries.
TemporalAccessor - Interface in java.time.temporal
 
test(T) - Method in interface java.util.function.Predicate
 
text(int, String) - Static method in class com.codename1.backend.HttpServer.Response
 
TEXT - Static variable in class com.codename1.backend.sql.Dialect
The portable column kinds.
Thread - Class in java.lang
A thread is a thread of execution in a program.
Thread() - Constructor for class java.lang.Thread
Allocates a new Thread object.
Thread(Runnable) - Constructor for class java.lang.Thread
Allocates a new Thread object with a specific target object whose run method is called.
Thread(Runnable, String) - Constructor for class java.lang.Thread
Allocates a new Thread object with the given target and name.
Thread(String) - Constructor for class java.lang.Thread
Allocates a new Thread object with the given name.
ThreadLocal<T> - Class in java.lang
THE VALUES LIVE ON THE THREAD, under a WEAK key, and both halves of that are load bearing.
ThreadLocal() - Constructor for class java.lang.ThreadLocal
 
ThreadLocalRandom - Class in java.util.concurrent
 
threadReadBuffer(int) - Static method in class com.codename1.backend.ServerSocket
A reusable per-thread read buffer of at least capacity bytes.
Throwable - Exception Class in java.lang
The Throwable class is the superclass of all errors and exceptions in the Java language.
Throwable() - Constructor for exception class java.lang.Throwable
Constructs a new Throwable with null as its error message string.
Throwable(String) - Constructor for exception class java.lang.Throwable
Constructs a new Throwable with the specified error message.
Throwable(String, Throwable) - Constructor for exception class java.lang.Throwable
Constructs a new throwable with the specified detail message and cause.
Throwable(Throwable) - Constructor for exception class java.lang.Throwable
Constructs a new throwable with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
throwException(Class, Class) - Static method in class java.lang.invoke.MethodHandles
 
THURSDAY - Static variable in class java.util.Calendar
Value of the DAY_OF_WEEK field indicating Thursday.
time - Variable in class java.util.Calendar
The currently set time for this calendar, expressed in milliseconds after January 1, 1970, 0:00:00 GMT.
Timer - Class in java.util
 
Timer() - Constructor for class java.util.Timer
 
TimerTask - Class in java.util
 
TimerTask() - Constructor for class java.util.TimerTask
 
TIMESTAMP - Static variable in class com.codename1.backend.sql.Dialect
A moment in time, stored as epoch milliseconds.
TimeZone - Class in java.util
TimeZone represents a time zone offset, and also figures out daylight savings.
TimeZone() - Constructor for class java.util.TimeZone
 
tls(Tls) - Method in class com.codename1.backend.Backend.Builder
Terminates TLS with a context the caller built.
tls(String, String) - Method in class com.codename1.backend.Backend.Builder
Terminates TLS with this certificate and key.
Tls - Class in com.codename1.backend
Server-side TLS.
TLS_CERTIFICATE - Static variable in class com.codename1.backend.Config
A PEM certificate chain to terminate TLS with.
TLS_HTTP2 - Static variable in class com.codename1.backend.Config
Whether to offer HTTP/2 through ALPN when TLS is terminated here.
TLS_KEY - Static variable in class com.codename1.backend.Config
The private key for Config.TLS_CERTIFICATE.
toArray() - Method in class java.util.AbstractCollection
Returns a new array containing all elements contained in this ArrayList.
toArray() - Method in class java.util.AbstractList
Returns a new array containing all elements contained in this ArrayList.
toArray() - Method in class java.util.ArrayList
Returns a new array containing all elements contained in this ArrayList.
toArray() - Method in interface java.util.Collection
Returns a new array containing all elements contained in this Collection.
toArray() - Method in class java.util.LinkedList
Returns a new array containing all elements contained in this LinkedList.
toArray() - Method in interface java.util.List
Returns an array containing all elements contained in this List.
toArray() - Method in class java.util.PriorityQueue
Returns all the elements in an array.
toArray() - Method in interface java.util.Set
Returns an array containing all elements contained in this set.
toArray() - Method in interface java.util.stream.Stream
 
toArray() - Method in class java.util.Vector
Returns a new array containing all elements contained in this vector.
toArray(T[]) - Method in class java.util.AbstractCollection
Returns an array containing all elements contained in this ArrayList.
toArray(T[]) - Method in class java.util.AbstractList
Returns an array containing all elements contained in this ArrayList.
toArray(T[]) - Method in class java.util.ArrayList
Returns an array containing all elements contained in this ArrayList.
toArray(T[]) - Method in interface java.util.Collection
Returns an array containing all elements contained in this Collection.
toArray(T[]) - Method in class java.util.LinkedList
Returns an array containing all elements contained in this LinkedList.
toArray(T[]) - Method in interface java.util.List
Returns an array containing all elements contained in this List.
toArray(T[]) - Method in class java.util.PriorityQueue
Returns all the elements in an array, and the type of the result array is the type of the argument array.
toArray(T[]) - Method in interface java.util.Set
Returns an array containing all elements contained in this set.
toArray(T[]) - Method in class java.util.Vector
Returns an array containing all elements contained in this vector.
toASCIIString() - Method in class java.net.URI
Returns
toBinaryString(int) - Static method in class java.lang.Integer
Creates a string representation of the integer argument as an unsigned integer in base 2.
toByteArray() - Method in class java.io.ByteArrayOutputStream
Creates a newly allocated byte array.
toCharArray() - Method in class java.lang.String
Converts this string to a new character array.
toChars(int) - Static method in class java.lang.Character
Converts the Unicode code point, codePoint, into a UTF-16 encoded sequence that is returned as a char[].
toChars(int, char[], int) - Static method in class java.lang.Character
Converts the Unicode code point, codePoint, into a UTF-16 encoded sequence and copies the value(s) into the char[] dst, starting at the index dstIndex.
toCodePoint(char, char) - Static method in class java.lang.Character
Converts a surrogate pair into a Unicode code point.
toDatabase(T) - Method in interface com.codename1.orm.session.AttributeConverter
Converts an entity field value to its stored scalar representation.
toDegrees(double) - Static method in class java.lang.Math
Converts an angle measured in radians to the equivalent angle measured in degrees.
toEpochDay() - Method in class java.time.LocalDate
 
toEpochMilli() - Method in class java.time.Instant
 
toHexString(int) - Static method in class java.lang.Integer
Creates a string representation of the integer argument as an unsigned integer in base 16.
toInstant() - Method in class java.time.OffsetDateTime
 
toInstant() - Method in class java.time.ZonedDateTime
 
toInstant(ZoneOffset) - Method in class java.time.LocalDateTime
 
toList() - Static method in class java.util.stream.Collectors
 
toLocalDate() - Method in class java.time.LocalDateTime
 
toLocalDateTime() - Method in class java.time.OffsetDateTime
 
toLocalDateTime() - Method in class java.time.ZonedDateTime
 
toLocalTime() - Method in class java.time.LocalDateTime
 
toLowerCase() - Method in class java.lang.String
Converts all of the characters in this String to lower case.
toLowerCase(char) - Static method in class java.lang.Character
The given character is mapped to its lowercase equivalent; if the character has no lowercase equivalent, the character itself is returned.
toMillis() - Method in class java.time.Duration
 
toNanoOfDay() - Method in class java.time.LocalTime
 
toOctalString(int) - Static method in class java.lang.Integer
Creates a string representation of the integer argument as an unsigned integer in base 8.
toPattern() - Method in class java.text.SimpleDateFormat
Returns
toRadians(double) - Static method in class java.lang.Math
Converts an angle measured in degrees to the equivalent angle measured in radians.
toSecondOfDay() - Method in class java.time.LocalTime
 
toString() - Method in class com.codename1.backend.Database
 
toString() - Method in class com.codename1.backend.DataSource
 
toString() - Method in class com.codename1.backend.orm.ColumnDefinition
 
toString() - Method in class com.codename1.backend.orm.EntityDefinition
 
toString() - Method in class com.codename1.backend.orm.Query
The conditions as SQL, for a message or for a statement built around them.
toString() - Method in class com.codename1.backend.sql.Dialect
 
toString() - Method in class java.io.ByteArrayOutputStream
Converts the buffer's contents into a string, translating bytes into characters according to the platform's default character encoding.
toString() - Method in class java.io.StringWriter
 
toString() - Method in interface java.lang.annotation.Annotation
Returns a string representation of this annotation.
toString() - Method in class java.lang.Boolean
Returns a String object representing this Boolean's value.
toString() - Method in class java.lang.Byte
Returns a String object representing this Byte's value.
toString() - Method in class java.lang.Character
Returns a String object representing this character's value.
toString() - Method in interface java.lang.CharSequence
Returns a string with the same characters in the same order as in this sequence.
toString() - Method in class java.lang.Class
Converts the object to a string.
toString() - Method in class java.lang.Double
Returns a String representation of this Double object.
toString() - Method in class java.lang.Enum
 
toString() - Method in class java.lang.Float
Returns a String representation of this Float object.
toString() - Method in class java.lang.Integer
Returns a String object representing this Integer's value.
toString() - Method in class java.lang.Long
Returns a String object representing this Long's value.
toString() - Method in class java.lang.Object
Returns a string representation of the object.
toString() - Method in class java.lang.Record
 
toString() - Method in class java.lang.Short
Returns a String object representing this Short's value.
toString() - Method in class java.lang.String
This object (which is already a string!) is itself returned.
toString() - Method in class java.lang.StringBuffer
Converts to a string representing the data in this string buffer.
toString() - Method in class java.lang.StringBuilder
Converts to a string representing the data in this string builder.
toString() - Method in class java.lang.Thread
Returns a string representation of this thread, including the thread's name and priority.
toString() - Method in exception class java.lang.Throwable
Returns a short description of this Throwable object.
toString() - Method in class java.net.URI
Returns
toString() - Method in class java.time.Duration
 
toString() - Method in class java.time.Instant
 
toString() - Method in class java.time.LocalDate
 
toString() - Method in class java.time.LocalDateTime
 
toString() - Method in class java.time.LocalTime
 
toString() - Method in class java.time.OffsetDateTime
 
toString() - Method in class java.time.Period
 
toString() - Method in class java.time.ZonedDateTime
 
toString() - Method in class java.time.ZoneId
 
toString() - Method in class java.util.AbstractCollection
Returns the string representation of this Collection.
toString() - Method in class java.util.AbstractMap.SimpleEntry
Answers a String representation of this entry.
toString() - Method in class java.util.AbstractMap.SimpleImmutableEntry
Answers a String representation of this entry.
toString() - Method in class java.util.AbstractMap
Returns the string representation of this map.
toString() - Method in class java.util.BitSet
Returns a string containing a concise, human-readable description of the receiver.
toString() - Method in class java.util.Date
Converts this Date object to a String of the form: dow mon dd hh:mm:ss zzz yyyy where: dow is the day of the week (Sun, Mon, Tue, Wed, Thu, Fri, Sat).
toString() - Method in class java.util.Hashtable
Returns the string representation of this Hashtable.
toString() - Method in class java.util.Vector
Returns the string representation of this vector.
toString(boolean[]) - Static method in class java.util.Arrays
Creates a String representation of the boolean[] passed.
toString(byte[]) - Static method in class java.util.Arrays
Creates a String representation of the byte[] passed.
toString(char[]) - Static method in class java.util.Arrays
Creates a String representation of the char[] passed.
toString(double) - Static method in class java.lang.Double
Creates a string representation of the double argument.
toString(double[]) - Static method in class java.util.Arrays
Creates a String representation of the double[] passed.
toString(float) - Static method in class java.lang.Float
Returns a String representation for the specified float value.
toString(float[]) - Static method in class java.util.Arrays
Creates a String representation of the float[] passed.
toString(int) - Static method in class java.lang.Integer
Returns a new String object representing the specified integer.
toString(int[]) - Static method in class java.util.Arrays
Creates a String representation of the int[] passed.
toString(int, int) - Static method in class java.lang.Integer
Creates a string representation of the first argument in the radix specified by the second argument.
toString(long) - Static method in class java.lang.Long
Returns a new String object representing the specified integer.
toString(long[]) - Static method in class java.util.Arrays
Creates a String representation of the long[] passed.
toString(long, int) - Static method in class java.lang.Long
Creates a string representation of the first argument in the radix specified by the second argument.
toString(short[]) - Static method in class java.util.Arrays
Creates a String representation of the short[] passed.
toString(Object) - Static method in class java.util.Objects
 
toString(Object[]) - Static method in class java.util.Arrays
Creates a String representation of the Object[] passed.
toString(Object, String) - Static method in class java.util.Objects
 
toString(String) - Method in class java.io.ByteArrayOutputStream
Converts the buffer's contents into a string, translating bytes into characters according to the named charset.
totalMemory() - Method in class java.lang.Runtime
Returns the total amount of memory in the Java Virtual Machine.
toTitleCase(char) - Static method in class java.lang.Character
 
toTitleCase(int) - Static method in class java.lang.Character
 
toUpperCase() - Method in class java.lang.String
Converts all of the characters in this String to upper case.
toUpperCase(char) - Static method in class java.lang.Character
Converts the character argument to uppercase; if the character has no uppercase equivalent, the character itself is returned.
toUpperCase(Locale) - Method in class java.lang.String
 
traceparent() - Method in class com.codename1.backend.Span
This span as a W3C traceparent value, which is what an outbound request carries so the service it reaches joins the same trace.
Tracer - Interface in com.codename1.backend
Where spans come from and where they go.
TRACES_ENDPOINT - Static variable in class com.codename1.backend.otel.OtlpTracer
 
TRACES_HEADERS - Static variable in class com.codename1.backend.otel.OtlpTracer
 
TRACES_PROTOCOL - Static variable in class com.codename1.backend.otel.OtlpTracer
 
tracestate() - Method in class com.codename1.backend.Span
The W3C tracestate this trace carries, or null for none.
tracing(Tracer) - Method in class com.codename1.backend.Backend.Builder
Traces every request with this tracer, once Tracer.open(Config) has read the configuration and agreed to.
Tracing - Class in com.codename1.backend
Distributed tracing for the server, and the hooks it is instrumented through.
Tracing.Work - Interface in com.codename1.backend
transaction(Database.Work) - Method in class com.codename1.backend.Database
 
transaction(Db.Work) - Method in class com.codename1.backend.Db
Synchronized because a TRANSACTION is not one call.
transaction(EntityManager.Work) - Method in class com.codename1.backend.orm.EntityManager
Runs body inside one transaction on one connection.
TreeMap<K,V> - Class in java.util
TreeMap is an implementation of SortedMap.
TreeMap() - Constructor for class java.util.TreeMap
Constructs a new empty TreeMap instance.
TreeMap(Comparator) - Constructor for class java.util.TreeMap
Constructs a new empty TreeMap instance with the specified comparator.
TreeMap(Map) - Constructor for class java.util.TreeMap
Constructs a new TreeMap instance containing the mappings from the specified map and using natural ordering.
TreeMap(SortedMap) - Constructor for class java.util.TreeMap
Constructs a new TreeMap instance containing the mappings from the specified SortedMap and using the same comparator.
TreeSet<E> - Class in java.util
TreeSet is an implementation of SortedSet.
TreeSet() - Constructor for class java.util.TreeSet
Constructs a new empty instance of TreeSet which uses natural ordering.
TreeSet(Collection) - Constructor for class java.util.TreeSet
Constructs a new instance of TreeSet which uses natural ordering and containing the unique elements in the specified collection.
TreeSet(Comparator) - Constructor for class java.util.TreeSet
Constructs a new empty instance of TreeSet which uses the specified comparator.
TreeSet(SortedSet) - Constructor for class java.util.TreeSet
Constructs a new instance of TreeSet containing the elements of the specified SortedSet and using the same Comparator.
trim() - Method in class java.lang.String
Removes white space from both ends of this string.
trimToSize() - Method in class java.lang.StringBuffer
 
trimToSize() - Method in class java.lang.StringBuilder
 
trimToSize() - Method in class java.util.ArrayList
Sets the capacity of this ArrayList to be the same as the current size.
trimToSize() - Method in class java.util.Vector
Sets the capacity of this vector to be the same as the size.
TRUE - Static variable in class java.lang.Boolean
The Boolean object corresponding to the primitive value true.
TUESDAY - Static variable in class java.util.Calendar
Value of the DAY_OF_WEEK field indicating Tuesday.
tuneForConcurrency(int) - Method in class com.codename1.backend.Database
SQLite-only tuning, ignored elsewhere.
type() - Element in annotation type com.codename1.annotations.Column
Optional explicit SQL type.
type() - Method in class com.codename1.backend.orm.Dao
The entity class.
type() - Method in class com.codename1.backend.orm.EntityDefinition
The entity class.
type() - Method in class java.lang.invoke.CallSite
 
type() - Method in class java.lang.invoke.MethodHandle
 
Type - Interface in java.lang.reflect
 
TYPE - Enum constant in enum java.lang.annotation.ElementType
 
TYPE - Static variable in class java.lang.Byte
 
TYPE - Static variable in class java.lang.Double
 
TYPE - Static variable in class java.lang.Integer
 
TYPE - Static variable in class java.lang.Long
 
TYPE - Static variable in class java.lang.Void
 

U

UnaryOperator<T> - Interface in java.util.function
 
unique() - Element in annotation type com.codename1.annotations.Column
Creates a unique index when the managed schema is created.
unique() - Element in annotation type com.codename1.annotations.db.Index
Requires indexed value combinations to be unique.
unmodifiableCollection(Collection) - Static method in class java.util.Collections
Returns a wrapper on the specified collection which throws an UnsupportedOperationException whenever an attempt is made to modify the collection.
unmodifiableList(List) - Static method in class java.util.Collections
Returns a wrapper on the specified list which throws an UnsupportedOperationException whenever an attempt is made to modify the list.
unmodifiableMap(Map) - Static method in class java.util.Collections
Returns a wrapper on the specified map which throws an UnsupportedOperationException whenever an attempt is made to modify the map.
unmodifiableSet(Set) - Static method in class java.util.Collections
Returns a wrapper on the specified set which throws an UnsupportedOperationException whenever an attempt is made to modify the set.
unmodifiableSortedMap(SortedMap) - Static method in class java.util.Collections
Returns a wrapper on the specified sorted map which throws an UnsupportedOperationException whenever an attempt is made to modify the sorted map.
unmodifiableSortedSet(SortedSet) - Static method in class java.util.Collections
Returns a wrapper on the specified sorted set which throws an UnsupportedOperationException whenever an attempt is made to modify the sorted set.
unreflect(Object) - Method in class java.lang.invoke.MethodHandles.Lookup
 
unreflectConstructor(Object) - Method in class java.lang.invoke.MethodHandles.Lookup
 
unreflectGetter(Object) - Method in class java.lang.invoke.MethodHandles.Lookup
 
unreflectSetter(Object) - Method in class java.lang.invoke.MethodHandles.Lookup
 
unreflectSpecial(Object, Class) - Method in class java.lang.invoke.MethodHandles.Lookup
 
UNSIGNED_PAYLOAD - Static variable in class com.codename1.backend.aws.Aws
The unsigned-payload marker, for a body the caller does not want hashed.
UnsupportedEncodingException - Exception Class in java.io
The Character Encoding is not supported.
UnsupportedEncodingException() - Constructor for exception class java.io.UnsupportedEncodingException
Constructs an UnsupportedEncodingException without a detail message.
UnsupportedEncodingException(String) - Constructor for exception class java.io.UnsupportedEncodingException
Constructs an UnsupportedEncodingException with a detail message.
UnsupportedOperationException - Exception Class in java.lang
 
UnsupportedOperationException() - Constructor for exception class java.lang.UnsupportedOperationException
 
UnsupportedOperationException(String) - Constructor for exception class java.lang.UnsupportedOperationException
 
unwrap() - Method in class java.lang.invoke.MethodType
 
update(Observable, Object) - Method in interface java.util.Observer
This method is called if the specified Observable object's notifyObservers method is called (because the Observable object has been updated.
update(T) - Method in class com.codename1.backend.orm.Dao
Updates every non-key column of the row whose key entity carries.
updateName(String) - Method in class com.codename1.backend.Span
Renames the span.
updatesOnConflict(String) - Method in class com.codename1.backend.sql.Dialect
Whether sql updates an existing row when it conflicts.
URI - Class in java.net
An implementation of a Univeral Resource Identifier (URI).
URI(String) - Constructor for class java.net.URI
Constructor that parses its values from a URI string.
URI(String, String, String) - Constructor for class java.net.URI
Constructor for building URNs.
URI(String, String, String, int, String, String, String) - Constructor for class java.net.URI
Constructor to create a new URI object.
URI(String, String, String, String, String) - Constructor for class java.net.URI
Constructor to create a new URI object.
URISyntaxException - Exception Class in java.net
 
URISyntaxException(String, String) - Constructor for exception class java.net.URISyntaxException
Parameters
URISyntaxException(String, String, int) - Constructor for exception class java.net.URISyntaxException
Parameters
US_ASCII - Static variable in class java.nio.charset.StandardCharsets
 
useDaylightTime() - Method in class java.util.TimeZone
Queries if this time zone uses Daylight Savings Time.
UTC - Static variable in class java.time.ZoneOffset
 
UTF_8 - Static variable in class java.nio.charset.StandardCharsets
 
UTFDataFormatException - Exception Class in java.io
Signals that a malformed UTF-8 string has been read in a data input stream or by any class that implements the data input interface.
UTFDataFormatException() - Constructor for exception class java.io.UTFDataFormatException
Constructs a UTFDataFormatException with null as its error detail message.
UTFDataFormatException(String) - Constructor for exception class java.io.UTFDataFormatException
Constructs a UTFDataFormatException with the specified detail message.
UUID - Enum constant in enum com.codename1.annotations.db.GenerationType
Assigns a generated UUID string.

V

validateSchema() - Method in interface com.codename1.orm.session.Session
Checks mapped columns, type families, nullability, and primary keys.
value() - Element in annotation type com.codename1.annotations.db.DiscriminatorValue
Names the unique discriminator stored for this concrete entity class.
value() - Element in annotation type com.codename1.annotations.db.OrderBy
Orders loaded related entities by Java scalar attribute names.
value() - Element in annotation type com.codename1.backend.annotations.DeleteMapping
The path, relative to any RequestMapping on the class.
value() - Element in annotation type com.codename1.backend.annotations.GetMapping
The path, relative to any RequestMapping on the class.
value() - Element in annotation type com.codename1.backend.annotations.PatchMapping
The path, relative to any RequestMapping on the class.
value() - Element in annotation type com.codename1.backend.annotations.PathVariable
The name to bind from.
value() - Element in annotation type com.codename1.backend.annotations.PostMapping
The path, relative to any RequestMapping on the class.
value() - Element in annotation type com.codename1.backend.annotations.PutMapping
The path, relative to any RequestMapping on the class.
value() - Element in annotation type com.codename1.backend.annotations.RequestHeader
The name to bind from.
value() - Element in annotation type com.codename1.backend.annotations.RequestMapping
The path, or paths, this mapping answers on.
value() - Element in annotation type com.codename1.backend.annotations.RequestParam
The name to bind from.
value() - Element in annotation type com.codename1.backend.annotations.ResponseStatus
The HTTP status code.
value() - Element in annotation type com.codename1.backend.annotations.WebSocketMapping
The path this endpoint serves.
value() - Element in annotation type java.lang.annotation.Retention
 
value() - Element in annotation type java.lang.annotation.Target
 
value() - Element in annotation type java.lang.SuppressWarnings
 
valueOf(boolean) - Static method in class java.lang.Boolean
Returns the object instance of i
valueOf(boolean) - Static method in class java.lang.String
Returns the string representation of the boolean argument.
valueOf(byte) - Static method in class java.lang.Byte
Returns the object instance of i
valueOf(char) - Static method in class java.lang.Character
Returns the object instance of i
valueOf(char) - Static method in class java.lang.String
Returns the string representation of the char argument.
valueOf(char[], int, int) - Static method in class java.lang.String
Returns the string representation of a specific subarray of the char array argument.
valueOf(double) - Static method in class java.lang.Double
Returns the object instance of i
valueOf(double) - Static method in class java.lang.String
Returns the string representation of the double argument.
valueOf(float) - Static method in class java.lang.Float
Returns the object instance of i
valueOf(float) - Static method in class java.lang.String
Returns the string representation of the float argument.
valueOf(int) - Static method in class java.lang.Integer
Returns the object instance of i
valueOf(int) - Static method in class java.lang.String
Returns the string representation of the int argument.
valueOf(long) - Static method in class java.lang.Long
Returns the object instance of i
valueOf(long) - Static method in class java.lang.String
Returns the string representation of the long argument.
valueOf(short) - Static method in class java.lang.Short
Returns the object instance of i
valueOf(Class, String) - Static method in class java.lang.Enum
 
valueOf(Object) - Static method in class java.lang.String
Returns the string representation of the Object argument.
valueOf(String) - Static method in enum com.codename1.annotations.db.CascadeType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.codename1.annotations.db.FetchType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.codename1.annotations.db.GenerationType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.codename1.orm.session.LockMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum java.lang.annotation.ElementType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum java.lang.annotation.RetentionPolicy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in class java.lang.Boolean
 
valueOf(String) - Static method in class java.lang.Double
Returns a new Double object initialized to the value represented by the specified string.
valueOf(String) - Static method in class java.lang.Float
Returns the floating point value represented by the specified String.
valueOf(String) - Static method in class java.lang.Integer
Returns a new Integer object initialized to the value of the specified String.
valueOf(String, int) - Static method in class java.lang.Integer
Returns a new Integer object initialized to the value of the specified String.
values() - Static method in enum com.codename1.annotations.db.CascadeType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.codename1.annotations.db.FetchType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.codename1.annotations.db.GenerationType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class com.codename1.orm.session.Identifier
Returns a copy of the normalized key component array.
values() - Static method in enum com.codename1.orm.session.LockMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum java.lang.annotation.ElementType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum java.lang.annotation.RetentionPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class java.util.AbstractMap
Returns a collection of the values contained in this map.
values() - Method in class java.util.HashMap
Returns a collection of the values contained in this map.
values() - Method in class java.util.Hashtable
Returns a collection of the values contained in this Hashtable.
values() - Method in class java.util.IdentityHashMap
Returns a collection of the values contained in this map.
values() - Method in class java.util.LinkedHashMap
Returns a collection of the values contained in this map.
values() - Method in interface java.util.Map
Returns a Collection of the values contained in this Map.
values() - Method in class java.util.TreeMap
Returns a collection of the values contained in this map.
Vector<E> - Class in java.util
Vector is a variable size contiguous indexable array of objects.
Vector() - Constructor for class java.util.Vector
Constructs a new vector using the default capacity.
Vector(int) - Constructor for class java.util.Vector
Constructs a new vector using the specified capacity.
Vector(int, int) - Constructor for class java.util.Vector
Constructs a new vector using the specified capacity and capacity increment.
Vector(Collection) - Constructor for class java.util.Vector
Constructs a new instance of Vector containing the elements in collection.
verify(String, byte[]) - Static method in class com.codename1.backend.Jwt
Returns the claims of a token that is well-formed, correctly signed and not expired.
verifyPassword(String, String) - Static method in class com.codename1.backend.Crypto
False for any malformed stored value rather than throwing.
Version - Annotation Type in com.codename1.annotations.db
An int or long counter maintained by a managed session for optimistic locking.
VERSION_GATED - Static variable in class com.codename1.backend.sql.Dialect
countInsertRows: the row count depends on the server version.
VirtualMachineError - Exception Class in java.lang
Thrown to indicate that the Java Virtual Machine is broken or has run out of resources necessary for it to continue operating.
VirtualMachineError() - Constructor for exception class java.lang.VirtualMachineError
Constructs a VirtualMachineError with no detail message.
VirtualMachineError(String) - Constructor for exception class java.lang.VirtualMachineError
Constructs a VirtualMachineError with the specified detail message.
VirtualThread - Class in com.codename1.backend
A thread of control that is not an OS thread.
Void - Class in java.lang
 
Void() - Constructor for class java.lang.Void
 

W

wait() - Method in class java.lang.Object
Causes current thread to wait until another thread invokes the method or the method for this object.
wait(long) - Method in class java.lang.Object
Causes current thread to wait until either another thread invokes the method or the method for this object, or a specified amount of time has elapsed.
wait(long, int) - Method in class java.lang.Object
Causes current thread to wait until another thread invokes the method or the method for this object, or some other thread interrupts the current thread, or a certain amount of real time has elapsed.
weakCompareAndSet(boolean, boolean) - Method in class java.util.concurrent.atomic.AtomicBoolean
 
weakCompareAndSet(int, int) - Method in class java.util.concurrent.atomic.AtomicInteger
 
weakCompareAndSet(long, long) - Method in class java.util.concurrent.atomic.AtomicLong
 
weakCompareAndSet(V, V) - Method in class java.util.concurrent.atomic.AtomicReference
 
WeakReference - Class in java.lang.ref
This class provides support for weak references.
WeakReference(Object) - Constructor for class java.lang.ref.WeakReference
Creates a new weak reference that refers to the given object.
Web - Class in com.codename1.backend
Outbound HTTP and HTTPS for server-side binaries.
Web.Result - Class in com.codename1.backend
An outbound response: status, body, and libcurl's message when it failed.
WebSocket - Interface in com.codename1.backend
What an application implements to serve a websocket route.
WebSocketMapping - Annotation Type in com.codename1.backend.annotations
Marks a com.codename1.backend.WebSocket as the endpoint for a path.
webSockets(Backend.WebSocketEndpoints) - Method in class com.codename1.backend.Backend.Builder
Registers this server's websocket endpoints when it starts.
WebSocketSession - Class in com.codename1.backend
One websocket connection: the decoder that turns bytes into messages, and the handle an application sends through.
WEDNESDAY - Static variable in class java.util.Calendar
Value of the DAY_OF_WEEK field indicating Wednesday.
WEEK_OF_MONTH - Static variable in class java.util.Calendar
Field number for get and set indicating the week number within the current month.
WEEK_OF_YEAR - Static variable in class java.util.Calendar
Field number for get and set indicating the week number within the current year.
withConnection(DataSource.Work) - Method in class com.codename1.backend.DataSource
Borrows a connection, runs body, and returns it however body ends.
withConnection(Db.Work) - Method in class com.codename1.backend.DbPool
Borrows a connection, runs body, and returns it however body ends.
workers(int) - Method in class com.codename1.backend.Backend.Builder
The size of the request thread pool.
wrap() - Method in class java.lang.invoke.MethodType
 
write(byte[]) - Method in interface java.io.DataOutput
Writes to the output stream all the bytes in array b.
write(byte[]) - Method in class java.io.OutputStream
Writes b.length bytes from the specified byte array to this output stream.
write(byte[], int, int) - Method in class com.codename1.backend.Tcp
 
write(byte[], int, int) - Method in class java.io.ByteArrayOutputStream
Writes len bytes from the specified byte array starting at offset off to this byte array output stream.
write(byte[], int, int) - Method in interface java.io.DataOutput
Writes len bytes from array b, in order, to the output stream.
write(byte[], int, int) - Method in class java.io.DataOutputStream
Writes len bytes from the specified byte array starting at offset off to the underlying output stream.
write(byte[], int, int) - Method in class java.io.OutputStream
Writes len bytes from the specified byte array starting at offset off to this output stream.
write(byte[], int, int) - Method in class java.io.PrintStream
Write len bytes from the specified byte array starting at offset off to this stream.
write(char[]) - Method in class java.io.StringWriter
 
write(char[]) - Method in class java.io.Writer
Write an array of characters.
write(char[], int, int) - Method in class java.io.OutputStreamWriter
Write a portion of an array of characters.
write(char[], int, int) - Method in class java.io.StringWriter
 
write(char[], int, int) - Method in class java.io.Writer
Write a portion of an array of characters.
write(int) - Method in class java.io.ByteArrayOutputStream
Writes the specified byte to this byte array output stream.
write(int) - Method in interface java.io.DataOutput
Writes to the output stream the eight low-order bits of the argument b.
write(int) - Method in class java.io.DataOutputStream
Writes the specified byte (the low eight bits of the argument b) to the underlying output stream.
write(int) - Method in class java.io.OutputStream
Writes the specified byte to this output stream.
write(int) - Method in class java.io.OutputStreamWriter
Write a single character.
write(int) - Method in class java.io.PrintStream
Write the specified byte to this stream.
write(int) - Method in class java.io.StringWriter
 
write(int) - Method in class java.io.Writer
Write a single character.
write(int, byte[], int, int) - Static method in class com.codename1.backend.ServerSocket
 
write(Object) - Static method in class com.codename1.backend.Json
 
write(Object, ByteSink) - Static method in class com.codename1.backend.Json
Writes JSON as UTF-8 bytes straight into a reusable buffer.
write(String) - Method in class java.io.StringWriter
 
write(String) - Method in class java.io.Writer
Write a string.
write(String, int, int) - Method in class java.io.OutputStreamWriter
Write a portion of a string.
write(String, int, int) - Method in class java.io.StringWriter
 
write(String, int, int) - Method in class java.io.Writer
Write a portion of a string.
WRITE - Static variable in class com.codename1.backend.Reactor
 
writeBoolean(boolean) - Method in interface java.io.DataOutput
Writes a boolean value to this output stream.
writeBoolean(boolean) - Method in class java.io.DataOutputStream
Writes a boolean to the underlying output stream as a 1-byte value.
writeByte(int) - Method in interface java.io.DataOutput
Writes to the output stream the eight low- order bits of the argument v.
writeByte(int) - Method in class java.io.DataOutputStream
Writes out a byte to the underlying output stream as a 1-byte value.
writeChar(int) - Method in interface java.io.DataOutput
Writes a char value, which is comprised of two bytes, to the output stream.
writeChar(int) - Method in class java.io.DataOutputStream
Writes a char to the underlying output stream as a 2-byte value, high byte first.
writeChars(String) - Method in interface java.io.DataOutput
Writes every character in the string s, to the output stream, in order, two bytes per character.
writeChars(String) - Method in class java.io.DataOutputStream
Writes a string to the underlying output stream as a sequence of characters.
writeDouble(double) - Method in interface java.io.DataOutput
Writes a double value, which is comprised of eight bytes, to the output stream.
writeDouble(double) - Method in class java.io.DataOutputStream
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.
writeFloat(float) - Method in interface java.io.DataOutput
Writes a float value, which is comprised of four bytes, to the output stream.
writeFloat(float) - Method in class java.io.DataOutputStream
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.
writeInt(int) - Method in interface java.io.DataOutput
Writes an int value, which is comprised of four bytes, to the output stream.
writeInt(int) - Method in class java.io.DataOutputStream
Writes an int to the underlying output stream as four bytes, high byte first.
writeLong(long) - Method in interface java.io.DataOutput
Writes an long value, which is comprised of four bytes, to the output stream.
writeLong(long) - Method in class java.io.DataOutputStream
Writes a long to the underlying output stream as eight bytes, high byte first.
Writer - Class in java.io
Abstract class for writing to character streams.
Writer() - Constructor for class java.io.Writer
Create a new character-stream writer whose critical sections will synchronize on the writer itself.
Writer(Object) - Constructor for class java.io.Writer
Create a new character-stream writer whose critical sections will synchronize on the given object.
writeShort(int) - Method in interface java.io.DataOutput
Writes two bytes to the output stream to represent the value of the argument.
writeShort(int) - Method in class java.io.DataOutputStream
Writes a short to the underlying output stream as two bytes, high byte first.
writeString(String, ByteSink) - Static method in class com.codename1.backend.Json
One JSON string, escaped, straight into out.
writeTo(ByteSink) - Method in interface com.codename1.backend.Json.Writable
 
writeUTF(String) - Method in interface java.io.DataOutput
Writes two bytes of length information to the output stream, followed by the Java modified UTF representation of every character in the string s.
writeUTF(String) - Method in class java.io.DataOutputStream
Writes a string to the underlying output stream using UTF-8 encoding in a machine-independent manner.
writeValue(Object, ByteSink) - Static method in class com.codename1.backend.Json
One JSON value of unknown type, for the cases a generated codec cannot resolve statically (an unmodelled java.* type, a heterogeneous collection).

X

xor(BitSet) - Method in class java.util.BitSet
Performs the logical XOR of this BitSet with another BitSet.

Y

YEAR - Static variable in class java.util.Calendar
Field number for get and set indicating the year.
yield() - Static method in class java.lang.Thread
Causes the currently executing thread object to temporarily pause and allow other threads to execute.
yieldNow() - Static method in class com.codename1.backend.VirtualThread
Step aside so the host thread can run another virtual thread, without waiting for anything.

Z

ZonedDateTime - Class in java.time
 
ZoneId - Class in java.time
 
ZoneOffset - Class in java.time
 
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form