package com.codename1.util
General utilities classes
Types
class AsyncResource | A wrapper for an object that needs to be loaded asynchronously. |
interface AsyncResult | A callback used by AsyncResource to be able to handle both the success and error case in a single method. |
class Base64 | This class implements Base64 encoding/decoding functionality as specified in RFC 2045 (http://www.ietf.org/rfc/rfc2045.txt). |
class BigDecimal | Class representing a simple version of a big decimal. |
class BigInteger | A simplified version of big integer from the bouncy castle implementation |
class CStringBuilder | This is generally the Apache String builder class refactored here so we can use it regardless of vm limitations/differences for increased performance. |
interface Callback | Simple interface that allows asynchronous code to perform a parameterized callback or failure in a similar way to GWT’s callback interface. |
class CallbackAdapter | Adapter for the {Callback} interface. |
class CallbackDispatcher | A utility class for calling Callbacks on the EDT. |
class CaseInsensitiveOrder | A string comparator equivalent to String.CASE_INSENSITIVE_ORDER which isn’t available in Codename One |
class DateUtil | Utility class for working with dates and timezones. |
class EasyThread | 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. |
interface FailureCallback | Simple interface that allows asynchronous code to perform a parameterized callback in a similar way to GWT’s callback interface. |
interface LazyValue | Useful 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 MathUtil | MathUtil for Java ME. |
interface OnComplete | Invoked when a process is completed, this is a generic interface designed to replace the SuccessCallback interface. |
interface RunnableWithResult | A Runnable like interface that can return a result possibly asynchronously |
interface RunnableWithResultSync | A Runnable like interface that can return a result synchronously |
class Simd | Portable SIMD API with Java fallback implementations. |
class StringUtil | Various utility methods for manipulating strings |
interface SuccessCallback | Simple interface that allows asynchronous code to perform a parameterized callback in a similar way to GWT’s callback interface. |
class Wrapper | Generic object wrapper, as workaround for the issue “Local variables referenced from a lambda expression must be final or effectively final”. |