Java Runtime 3.0.1
|
Inherited by alfa.rt.utils.BuiltinFunctionsImpl.
Classes | |
interface | CannotInferReturnType |
interface | CustomTypeResolution |
interface | NonUdtFieldReference |
Public Member Functions | |
Void | debug (Object s) |
< T > Void | add ( @NonUdtFieldReference Set< T > s, T e) |
< T > Void | add (@NonUdtFieldReference List< T > s, T e) |
< T > LocalDate | add (LocalDate d, Duration i) |
< T > LocalDateTime | add (LocalDateTime d, Duration i) |
< T > LocalTime | add (LocalTime d, Duration i) |
< T > LocalDate | add (LocalDate d, NormalizedPeriod i) |
< T > LocalDateTime | add (LocalDateTime d, NormalizedPeriod i) |
< T > LocalTime | add (LocalTime d, NormalizedPeriod i) |
< T > Boolean | contains (List< T > s, T e) |
< T > Boolean | contains (Set< T > s, T e) |
< K, V > Boolean | contains (Map< K, V > s, K k) |
< T > Integer | indexOf (List< T > s, T e) |
Integer | indexOf (String fullString, String pattern) |
< T extends Object > Boolean | isNone (Optional< T > t) |
< T extends Object > Boolean | isSome (Optional< T > t) |
Boolean | isSet (Supplier< Boolean > t) |
String | left (String s, Integer items) |
< T > List< T > | left (List< T > s, Integer items) |
< T > Integer | len (List< T > s) |
< T > Integer | len (Set< T > s) |
< T > Long | len (Stream< T > s) |
< K, V > Integer | len (Map< K, V > s) |
Integer | len (String s) |
String | right (String s, Integer items) |
< T > List< T > | right (List< T > s, Integer items) |
< T > Void | delete (List< T > s, Integer index) |
< T > Void | delete (Set< T > s, T e) |
< K, V > Void | delete (Map< K, V > s, K k) |
< T > List< T > | filter (List< T > s, Predicate< T > e) |
< T > Set< T > | filter (Set< T > s, Predicate< T > e) |
< T > List< T > | filter (Stream< T > s, Predicate< T > e) |
< K, V > Map< K, V > | filter (Map< K, V > s, BiPredicate< K, V > e) |
< T > Boolean | isEmpty (List< T > s) |
< T > Boolean | isEmpty (Set< T > s) |
< K, T > Boolean | isEmpty (Map< K, T > s) |
< T, R > List< R > | map (List< T > s, Function< T, R > e) |
< T, R > List< R > | map (Stream< T > s, Function< T, R > e) |
< T, R > Set< R > | map (Set< T > s, Function< T, R > e) |
< K, V, KR, VR > Map< KR, VR > | map (Map< K, V > s, BiFunction< K, V, KR > keyLambda, BiFunction< K, V, VR > valueLambda) |
< K, V > Map< K, V > | put (@NonUdtFieldReference Map< K, V > m, K k, V v) |
< T > T | get (Try< T > e) |
< T > T | getOrElse (Optional< T > e, T elseVal) |
< T > T | get (Optional< T > e) |
< K, V > Optional< V > | get (Map< K, V > m, K k) |
< K, V > V | getOrElse (Map< K, V > m, K k, V elze) |
< T > Optional< T > | get (List< T > l, Integer index) |
< R, K, V > R | reduce (Map< K, V > m, R acc, TriFunction< R, K, V, R > f) |
< T, R > R | reduce (List< T > m, R acc, BiFunction< R, T, R > f) |
< T, R > R | reduce (Set< T > m, R acc, BiFunction< R, T, R > f) |
< T, R > R | reduce (Stream< T > m, R acc, BiFunction< R, T, R > f) |
< Rv, Tv > Map< Rv, List< Tv > > | groupBy (List< Tv > s, Function< Tv, Rv > e) |
< Rv, Tv > Map< Rv, List< Tv > > | duplicates (List< Tv > s, Function< Tv, Rv > e) |
< Rv, Tv > Map< Rv, List< Tv > > | duplicates (Set< Tv > s, Function< Tv, Rv > e) |
< Rv, Tv > List< Pair< Rv, List< Tv > > > | duplicates (Stream< Tv > s, Function< Tv, Rv > e) |
< Rv, Tv > Set< Rv > | distinct (Set< Tv > s, Function< Tv, Rv > e) |
< Rv, Tv > Set< Rv > | distinct (List< Tv > s, Function< Tv, Rv > e) |
< Rv, Tv > List< Rv > | distinct (Stream< Tv > s, Function< Tv, Rv > e) |
< Rv, Tv > Map< Rv, List< Tv > > | groupBy (Set< Tv > s, Function< Tv, Rv > e) |
< Rv, Tv > List< Pair< Rv, List< Tv > > > | groupBy (Stream< Tv > s, Function< Tv, Rv > e) |
< T, K, V > Map< K, V > | aggregate (List< T > s, Function< T, K > e, V acc, BiFunction< V, T, V > lambda) |
< T, K, V > Map< K, V > | aggregate (Set< T > s, Function< T, K > e, V acc, BiFunction< V, T, V > lambda) |
< T, K, V > List< Pair< K, V > > | aggregate (Stream< T > s, Function< T, K > e, V acc, BiFunction< V, T, V > lambda) |
< T extends Number > Double | stddev (List< T > l) |
< T extends Number > Double | average (List< T > l) |
< T extends Comparable > Double | quartile (List< T > l, int quart) |
< T extends Comparable > Double | percentile (List< T > l, int percent) |
< T extends Number > Double | variance (List< T > l) |
< T extends Number > Double | stddev (Stream< T > l) |
< T extends Number > Double | average (Stream< T > l) |
< T extends Comparable > Double | quartile (Stream< T > l, int quart) |
< T extends Comparable > Double | percentile (Stream< T > l, int percent) |
< T extends Number > Double | variance (Stream< T > l) |
< K, V > List< V > | values (Map< K, V > m) |
< K, V > Set< K > | keys (Map< K, V > s) |
< T > Optional< T > | some (T t) |
LocalDate | toDate (String s) |
LocalDate | toDate (ZonedDateTime s) |
LocalDate | toDate (LocalDateTime s) |
LocalDateTime | toDatetime (String s) |
ZonedDateTime | toDatetimetz (String s) |
LocalDateTime | toDatetime (LocalDate s) |
LocalTime | toTime (String s) |
LocalTime | toTime (LocalDateTime s) |
BigDecimal | toDecimal (String s) |
BigDecimal | toDecimal (Integer s) |
BigDecimal | toDecimal (Long s) |
BigDecimal | toDecimal (Double s) |
Double | toDouble (String s) |
Double | toDouble (Integer s) |
Double | toDouble (Long s) |
Duration | toDuration (String s) |
NormalizedPeriod | toPeriod (String s) |
Integer | toInt (String s) |
< T > List< T > | toList (Set< T > s) |
< T > List< T > | toList (Stream< T > s) |
< T > Set< T > | toSet (List< T > s) |
< T > Set< T > | toSet (Stream< T > s) |
< T, K, V > Map< K, V > | toMap (List< T > e, Function< T, K > kfn, Function< T, V > vfn) |
< T, K, V > Map< K, V > | toMap (Set< T > e, Function< T, K > kfn, Function< T, V > vfn) |
String | toString (String e) |
String | toString (UUID e) |
String | toString (Integer e) |
String | toString (Double e) |
String | toString (Long e) |
String | toString (BigDecimal e) |
String | toString (Boolean e) |
String | toString (LocalDate e) |
String | toString (LocalDateTime e) |
String | toString (LocalTime e) |
String | toString (Duration e) |
< T > String | toString (T e) |
< L, R > Either< L, R > | newEitherLeft (L e) |
< L, R > Either< L, R > | newEitherRight (R e) |
< L, R > L | left (Either< L, R > e) |
< L, R > R | right (Either< L, R > e) |
< L, R > L | left (Pair< L, R > e) |
< L, R > R | right (Pair< L, R > e) |
< L, R > Boolean | isLeft (Either< L, R > e) |
< L, R > Boolean | isRight (Either< L, R > e) |
< T > Try< T > | newTryValue (T e) |
< T > Try< T > | newTryFailure (String e) |
< T > Boolean | isTryFailure (Try< T > e) |
UUID | newUUID () |
LocalTime | now () |
LocalDate | today () |
LocalDateTime | timestamp () |
Integer | year (LocalDate e) |
Integer | year (LocalDateTime e) |
Integer | month (LocalDate e) |
Integer | month (LocalDateTime e) |
Integer | day (LocalDate e) |
Integer | day (Duration e) |
Integer | day (LocalDateTime e) |
Integer | weekday (LocalDateTime e) |
Integer | weekday (LocalDate e) |
Integer | hour (LocalDateTime e) |
Integer | hour (Duration e) |
Integer | hour (LocalTime e) |
Integer | minute (LocalDateTime e) |
Integer | minute (LocalTime e) |
Integer | minute (Duration e) |
Integer | millisecond (LocalDateTime e) |
Integer | millisecond (LocalTime e) |
Integer | second (LocalDateTime e) |
Integer | second (Duration e) |
Integer | second (LocalTime e) |
Long | dateDiff (LocalDate a, LocalDate b) |
Integer | abs (Integer a) |
Long | abs (Long a) |
Double | abs (Double a) |
Double | ceil (Double a) |
Double | floor (Double a) |
Double | log (Double a) |
long | round (Double a) |
Double | sqrt (Double a) |
Double | sqrt (Long a) |
Double | sqrt (Integer a) |
Double | random () |
Boolean | endsWith (String main, String sub) |
Boolean | matches (String regex, String value) |
Boolean | startsWith (String main, String sub) |
List< String > | split (String main, String delimiter) |
String | toLower (String main) |
String | toUpper (String main) |
String | replaceAll (String main, String oldStr, String newStr) |
String | substring (String main, Integer start) |
String | substring (String main, Integer start, Integer end) |
Integer | min (Integer l, Integer r) |
Integer | max (Integer l, Integer r) |
Long | min (Long l, Long r) |
Long | max (Long l, Long r) |
Double | min (Double l, Double r) |
Double | max (Double l, Double r) |
BigDecimal | min (BigDecimal l, BigDecimal r) |
BigDecimal | max (BigDecimal l, BigDecimal r) |
LocalDate | min (LocalDate l, LocalDate r) |
LocalDate | max (LocalDate l, LocalDate r) |
LocalDateTime | min (LocalDateTime l, LocalDateTime r) |
LocalDateTime | max (LocalDateTime l, LocalDateTime r) |
LocalTime | min (LocalTime l, LocalTime r) |
LocalTime | max (LocalTime l, LocalTime r) |
< T extends Comparable< T > T | min (Set< T > l, BiFunction< T, T, Integer > r) |
< T extends Comparable< T > T | min (Set< T > l) |
< T extends Comparable< T > Integer | compare (T l, T r) |
< T extends Comparable< T > T | max (Set< T > l, BiFunction< T, T, Integer > r) |
< T extends Comparable< T > T | max (Set< T > l) |
< T extends Comparable< T > T | min (List< T > l, BiFunction< T, T, Integer > r) |
< T extends Comparable< T > T | min (List< T > l) |
< T extends Comparable< T > T | max (List< T > l, BiFunction< T, T, Integer > r) |
< T extends Comparable< T > T | max (List< T > l) |
< T extends Comparable< T > T | min (Stream< T > l, BiFunction< T, T, Integer > r) |
< T extends Comparable< T > T | min (Stream< T > l) |
< T extends Comparable< T > T | max (Stream< T > l, BiFunction< T, T, Integer > r) |
< T extends Comparable< T > T | max (Stream< T > l) |
< T > List< T > | sort (Set< T > l, BiFunction< T, T, Integer > r) |
< T extends Comparable< T > List< T > | sort (Set< T > l) |
< T > List< T > | sort (List< T > l, BiFunction< T, T, Integer > r) |
< T extends Comparable< T > List< T > | sort (List< T > l) |
< T extends Comparable< T > List< T > | sort (Stream< T > l) |
< T > List< T > | sort (Stream< T > l, BiFunction< T, T, Integer > r) |
< E > List< E > | query (Optional< AlfaObject > currentObject, E entityType, Predicate< E > e, Map< String, Integer > sort, int limit) |
< E > List< E > | query (Optional< AlfaObject > currentObject, E entityType, Predicate< E > e, Map< String, Integer > sort, int limit, String storeName) |
< E extends Entity, K extends Key > Optional< E > | lookup (String entityType, K k) |
< E extends Entity, K extends Key > Optional< E > | lookup (String entityType, K k, String storeName) |
< E extends Entity > void | save (E entity) |
< E extends Entity > void | save (E entity, String storeName) |
< E extends AlfaObject > void | publish (String queueName, E alfaObj) |
< E extends Entity > Boolean | exists (String entityType, Predicate< E > e) |
< E extends Entity > Boolean | exists (String entityType, Predicate< E > e, String storeName) |
< E extends Entity, K extends Key > Boolean | keyExists (String entityType, K k) |
< E extends Entity, K extends Key > Boolean | keyExists (String entityType, K k, String storeName) |
< T, R > List< R > | flatten (List< T > data) |
< T, R > Set< R > | flatten (Set< T > data) |
< T extends alfa.rt.Enum > Optional< T > | toEnum (String enumDataType, String enumConst) |
< E > Set< String > | enumValues (Enum s) |
Set< String > | enumValues (String s) |
Set< String > | enumValues (String s, List< String > deft) |
String | toFormattedTable (List d) |
Always used boxed Java types as type inference is based on those.