package com.codename1.util

General utilities classes

Types

class AsyncResourceA wrapper for an object that needs to be loaded asynchronously.
interface AsyncResultA callback used by AsyncResource to be able to handle both the success and error case in a single method.
class Base64This class implements Base64 encoding/decoding functionality as specified in RFC 2045 (http://www.ietf.org/rfc/rfc2045.txt).
class BigDecimalClass representing a simple version of a big decimal.
class BigIntegerA simplified version of big integer from the bouncy castle implementation
class CStringBuilderThis is generally the Apache String builder class refactored here so we can use it regardless of vm limitations/differences for increased performance.
interface CallbackSimple interface that allows asynchronous code to perform a parameterized callback or failure in a similar way to GWT’s callback interface.
class CallbackAdapterAdapter for the {Callback} interface.
class CallbackDispatcherA utility class for calling Callbacks on the EDT.
class CaseInsensitiveOrderA string comparator equivalent to String.CASE_INSENSITIVE_ORDER which isn’t available in Codename One
class DateUtilUtility class for working with dates and timezones.
class EasyThreadAn easy API for working with threads similar to call serially/and wait that allows us to create a thread and dispatch tasks to it.
interface FailureCallbackSimple interface that allows asynchronous code to perform a parameterized callback in a similar way to GWT’s callback interface.
interface LazyValueUseful when passing a value that might not exist to a function, e.g. when we pass a form that we might need to construct dynamically later on.
class MathUtilMathUtil for Java ME.
interface OnCompleteInvoked when a process is completed, this is a generic interface designed to replace the SuccessCallback interface.
interface RunnableWithResultA Runnable like interface that can return a result possibly asynchronously
interface RunnableWithResultSyncA Runnable like interface that can return a result synchronously
class SimdPortable SIMD API with Java fallback implementations.
class StringUtilVarious utility methods for manipulating strings
interface SuccessCallbackSimple interface that allows asynchronous code to perform a parameterized callback in a similar way to GWT’s callback interface.
class WrapperGeneric object wrapper, as workaround for the issue “Local variables referenced from a lambda expression must be final or effectively final”.