|
static< T > java.util.ArrayList< T > | clone (java.util.ArrayList< T > list) |
| Clones the specified list. More...
|
|
static int[] | cloneIntArray (int[] intArray) |
| Clones an array of int values. More...
|
|
static long[] | cloneLongArray (long[] longArray) |
| Clones an array of long values. More...
|
|
static String[] | cloneStringArray (String[] stringArray) |
| Clones an array of string values. More...
|
|
static< T > T | firstOrDefault (T[] array) |
| Gets the first element in the array or the default value if the array is null or empty. More...
|
|
static< T > T | firstOrDefault (java.util.ArrayList< T > list) |
| Gets the first element in the list or the default value if the list is null or empty. More...
|
|
static String | formatDoubleAsPercent (double value, int decimalPlaces) |
| Formats a double as a percentage string. More...
|
|
static String | generateId () |
| Generates a globally unique identifier with no hyphens. More...
|
|
static long | generateSynchronizationSource () |
| Generates a synchronization source. More...
|
|
static String | generateTieBreaker () |
| Generates a tie-breaker. More...
|
|
static int | getRtpSequenceNumberDelta (int rtpSequenceNumber, int lastRtpSequenceNumber) |
| Retrieves the difference between two RTP sequence numbers while accounting for overflow rollover. More...
|
|
static long | getRtpTimestampDelta (long rtpTimestamp, long lastRtpTimestamp) |
| Retrieves the difference between two RTP timestamps while accounting for overflow rollover. More...
|
|
static< T > T | lastOrDefault (T[] array) |
| Gets the last element in the array or the default value if the array is null or empty. More...
|
|
static< T > T | lastOrDefault (java.util.ArrayList< T > list) |
| Gets the last element in the list or the default value if the list is null or empty. More...
|
|
static boolean | nullableLongEquals (fm.liveswitch.NullableLong long1, fm.liveswitch.NullableLong long2) |
| Compares two nullable longs for equality. More...
|
|
static< T > T | singleOrDefault (T[] array) |
| Gets the only element in the array or the default value if the array is null or does not have exactly one value. More...
|
|
static< T > T | singleOrDefault (java.util.ArrayList< T > list) |
| Gets the only element in the list or the default value if the list is null or does not have exactly one value. More...
|
|
static< T > T[] | splice (T[] array, int index, T[] addItems, fm.liveswitch.IFunction1< Integer, T[]> createArray) |
| Splices an array. More...
|
|
static< T > T[] | splice (T[] array, int index, int removeCount, T[] addItems, fm.liveswitch.IFunction1< Integer, T[]> createArray) |
| Splices an array. More...
|
|
static< T > T[] | splice (T[] array, int index, int removeCount, fm.liveswitch.IFunction1< Integer, T[]> createArray) |
| Splices an array. More...
|
|
static int[] | toIntArray (java.util.ArrayList< Integer > intList) |
| Converts a list of int values to an array of int values. More...
|
|
static< T > java.util.ArrayList< T > | toList (T[] array) |
| Converts an array to a list. More...
|
|
static long[] | toLongArray (java.util.ArrayList< Long > longList) |
| Converts a list of long values to an array of long values. More...
|
|
static String[] | toStringArray (java.util.ArrayList< String > stringList) |
| Converts a list of string values to an array of string values. More...
|
|
static< T > void | treeFindLeaves (T root, fm.liveswitch.IFunction1< T, T[]> childrenCallback, fm.liveswitch.IAction1< T > nodeCallback) |
| Enumerates over all nodes in the tree, invoking the callback for each one. More...
|
|
static< T > void | treeSearch (T root, fm.liveswitch.IFunction1< T, T[]> childrenCallback, fm.liveswitch.IAction1< T > nodeCallback) |
| Enumerates over all nodes in the tree, invoking the callback for each one. More...
|
|