Package com.codename1.util
package com.codename1.util
General utilities classes
-
ClassDescriptionA wrapper for an object that needs to be loaded asynchronously.Exception to wrap exceptions that are thrown during asynchronous execution.Exception thrown when the AsyncResource is cancelled.AsyncResult<V>A callback used by
AsyncResourceto be able to handle both the success and error case in a single method.This class implements Base64 encoding/decoding functionality as specified in RFC 2045 (http://www.ietf.org/rfc/rfc2045.txt).Class representing a simple version of a big decimal.A simplified version of big integer from the bouncy castle implementationCallback<T>Simple interface that allows asynchronous code to perform a parameterized callback or failure in a similar way to GWT's callback interface.Adapter for the {Callback} interface.A utility class for callingCallbacks on the EDT.A string comparator equivalent to String.CASE_INSENSITIVE_ORDER which isn't available in Codename OneThis is generally the Apache String builder class refactored here so we can use it regardless of vm limitations/differences for increased performance.Utility class for working with dates and timezones.An easy API for working with threads similar to call serially/and wait that allows us to create a thread and dispatch tasks to it.Callback listener for errors on easy threadSimple interface that allows asynchronous code to perform a parameterized callback in a similar way to GWT's callback interface.LazyValue<T>Useful when passing a value that might not exist to a function, e.g.MathUtil for Java ME.OnComplete<T>Invoked when a process is completed, this is a generic interface designed to replace theSuccessCallbackinterface.A Runnable like interface that can return a result possibly asynchronouslyA Runnable like interface that can return a result synchronouslyVarious utility methods for manipulating stringsSimple interface that allows asynchronous code to perform a parameterized callback in a similar way to GWT's callback interface.Wrapper<T>Generic object wrapper, as workaround for the issue "Local variables referenced from a lambda expression must be final or effectively final".