Uses of Annotation Interface
io.higson.runtime.engine.annotated.annotations.FetchSuggestion
Packages that use FetchSuggestion
Package
Description
-
Uses of FetchSuggestion in io.higson.runtime.core
Methods in io.higson.runtime.core with annotations of type FetchSuggestionModifier and TypeMethodDescriptionTries to resolve given path and return object from the context.booleanHigsonContext.getBoolean(String path) Tries to resolve path the same way as methodHigsonContext.get(String)and then return value as boolean.HigsonContext.getBooleanHolder(String path) Tries to resolve path the same way as methodHigsonContext.get(String)and then return value wrapped into BooleanHolder with some boolean support.static BooleanTypeHigsonContext.getBooleanType()Get Boolean type instance used by Higson.Tries to resolve path the same way as methodHigsonContext.get(String)and then return value as Date with date format.HigsonContext.getDateHolder(String path) Tries to resolve path the same way as methodHigsonContext.get(String)and then return value wrapped into DateHolder with some Date support.HigsonContext.getDatetime(String path) Tries to resolve path the same way as methodHigsonContext.get(String)and then return value as Date with date and time format.HigsonContext.getDatetimeHolder(String path) Tries to resolve path the same way as methodHigsonContext.get(String)and then return value wrapped into DatetimeHolder with some Date support.static DatetimeTypeHigsonContext.getDatetimeType()Get Datetime type instance used by Higson.static DateTypeHigsonContext.getDateType()Get Date type instance used by Higson.HigsonContext.getDecimal(String path) Tries to resolve path the same way as methodHigsonContext.get(String)and then return value as BigDecimal.Tries to resolve path the same way as methodHigsonContext.get(String), but object under this path must implementIterable.HigsonContext.getInteger(String path) Tries to resolve path the same way as methodHigsonContext.get(String)and then return value as Integer.HigsonContext.getIntegerHolder(String path) Tries to resolve path the same way as methodHigsonContext.get(String)and then return value wrapped into IntegerHolder with some integer support.static IntegerTypeHigsonContext.getIntegerType()Get Integer type instance used by Higson.HigsonContext.getLocalDate(String path) Tries to resolve path the same way as methodHigsonContext.get(String)and then return value as LocalDate with date format.HigsonContext.getLocalDateHolder(String path) Tries to resolve path the same way as methodHigsonContext.get(String)and then return value wrapped into LocalDateHolder with some LocalDate support.HigsonContext.getLocalDatetime(String path) Tries to resolve path the same way as methodHigsonContext.get(String)and then return value as LocalDateTime with date and time format.HigsonContext.getLocalDatetimeHolder(String path) Tries to resolve path the same way as methodHigsonContext.get(String)and then return value wrapped into LocalDatetimeHolder with some LocalDateTime support.static LocalDateTimeTypeHigsonContext.getLocalDateTimeType()Get LocalDateTime type instance used by Higson.static LocalDateTypeHigsonContext.getLocalDateType()Get LocalDate type instance used by Higson.doubleTries to resolve path the same way as methodHigsonContext.get(String)and then return value as double.HigsonContext.getNumberHolder(String path) Tries to resolve path the same way as methodHigsonContext.get(String)and then return value wrapped into NumberHolder with some number support.static NumberTypeHigsonContext.getNumberType()Get Number type instance used by Higson.Tries to resolve path the same way as methodHigsonContext.get(String)and then return value as String.HigsonContext.getStringHolder(String path) Tries to resolve path the same way as methodHigsonContext.get(String)and then return value wrapped into StringHolder with some String support.static StringTypeHigsonContext.getStringType()Get String type instance used by Higson.static voidHigsonContext.initialize(TypesDto dto) Initialized supported types.Put given value object under specified path. -
Uses of FetchSuggestion in io.higson.runtime.engine.core.context
Methods in io.higson.runtime.engine.core.context with annotations of type FetchSuggestionModifier and TypeMethodDescription<T> TLooks for object of classclazz(or object which class is assignable fromclazz.<T> TReturn object stored under key and cast it to given class.Object[][]DefaultContext.getLevelValues()final DefaultContextPut value underlowercase(value.class.getSimpleName())in user context map.final voidDefaultContext.setLevelValues(Object... levelValues) Set level values directly as objects.final DefaultContextPutvalueunderlowercase(key).final DefaultContextPutvalueunder keylowercase(key). allowOverwrite flag determines what happens in case of key collision.DefaultContext.withLevelValues(Object... levelValues) DefaultContext.withLevelValues(String... levelValues) -
Uses of FetchSuggestion in io.higson.runtime.function.log
Methods in io.higson.runtime.function.log with annotations of type FetchSuggestion -
Uses of FetchSuggestion in io.higson.runtime.rhino
Fields in io.higson.runtime.rhino with annotations of type FetchSuggestionModifier and TypeFieldDescriptionstatic final doubleRhinoMath.EEuler's numbere=2.718..., base of natural logarithmstatic final doubleRhinoMath.PINumber π= 3.14...Methods in io.higson.runtime.rhino with annotations of type FetchSuggestionModifier and TypeMethodDescriptionstatic doubleRhinoMath.abs(double a) Returns absolute value of the argument using standard Java functionMath.abs(double).static floatRhinoMath.abs(float a) Returns absolute value of the argument using standard Java functionMath.abs(float).static intRhinoMath.abs(int a) Returns absolute value of the argument using standard Java functionMath.abs(int).static longRhinoMath.abs(long a) Returns absolute value of the argument using standard Java functionMath.abs(long).static doubleRhinoMath.acos(double a) Calculates the arc cosine of an argument, using standard Java functionMath.acos(double).static DateAdds amount to 'day' field that is based on given date.static DateAdds amount to 'day' field that is based on given date.static DateAdds amount to 'day' field that is based on given date.static DateAdds amount to 'hour' field that is based on given date.static DateAdds amount to 'hour' field that is based on given date.static DateAdds amount to 'hour' field that is based on given date.static DateAdds amount to 'minute' field that is based on given date.
1) If amount> 0, it will add minutes,
2) If amount< 0, it will subtract minutes from date.
When given date is: String type - must be in yyyy-MM-dd HH:mm:ss or yyyy-MM-dd HH:mm:ss.SSS formats, instance of DateHolder - it will try to retrieve date from holder, instance of other type - it will try to convert date to proper ValueHolder and then retrieve date. This method doesn't modify input date, but creates new instance of date type.static DateAdds amount to 'minute' field that is based on given date.static DateAdds amount to 'minute' field that is based on given date.
1) If amount> 0, it will add minutes,
2) If amount< 0, it will subtract minutes from date.
This method doesn't modify input date, but creates new instance of date type.static DateAdds amount to 'month' field that is based on given date.static DateAdds amount to 'month' field that is based on given date.static DateAdds amount to 'month' field that is based on given date.static DateRhinoDate.addMonthOracle(Object date, int amount) Adds amount to 'month' field that is based on given date, but if day is last day of a given month, then moves day to the last possible day of a calculated month.
1) If amount> 0, it will add months,
2) If amount< 0, it will subtract months from date.
When given date is: String type - must be in yyyy-MM-dd HH:mm:ss or yyyy-MM-dd formats, instance of DateHolder od NumberHolder - it will try to retrieve date from holder, instance of other type - it will try to convert date to proper ValueHolder and then retrieve date. This method doesn't modify input date, but creates new instance of date type.static DateRhinoDate.addMonthOracle(Object date, Object amount) Adds amount to 'month' field that is based on given date, but if day is last day of a given month, then moves day to the last possible day of a calculated month.
1) If amount> 0, it will add months,
2) If amount< 0, it will subtract months from date.
When given date is: String type - must be in yyyy-MM-dd HH:mm:ss or yyyy-MM-dd formats, instance of DateHolder od NumberHolder - it will try to retrieve date from holder, instance of other type - it will try to convert date to proper ValueHolder and then retrieve date. When given amount is: int type - If amount is positive it will add months, but if negative it will subtract months from date, instance of Number - it will try to retrieve int from number, instance of other Object types - it will try to retrieve int from instance, by parsing toString() as Integer. This method doesn't modify input date, but creates new instance of date type.static DateRhinoDate.addMonthOracle(Date date, int amount) Adds amount to 'month' field that is based on given date, but if day is last day of a given month, then moves day to the last possible day of a calculated month.
1) If amount> 0, it will add months,
2) If amount< 0, it will subtract months from date.
This method doesn't modify input date, but creates new instance of date type.static DateAdds amount to 'second' field that is based on given date.
1) If amount> 0, it will add seconds,
2) If amount< 0, it will subtract seconds from date.
When given date is: String type - must be in yyyy-MM-dd HH:mm:ss or yyyy-MM-dd HH:mm:ss.SSS formats, instance of DateHolder - it will try to retrieve date from holder, instance of other type - it will try to convert date to proper ValueHolder and then retrieve date. This method doesn't modify input date, but creates new instance of date type.static DateAdds amount to 'second' field that is based on given date.
1) If amount> 0, it will add seconds,
2) If amount< 0, it will subtract seconds from date.
When given date is: String type - must be in yyyy-MM-dd HH:mm:ss or yyyy-MM-dd HH:mm:ss.SSS formats, instance of DateHolder - it will try to retrieve date from holder, instance of other type - it will try to convert date to proper ValueHolder and then retrieve date. When given amount is: int type - If amount is positive it will add seconds, but if negative it will subtract seconds from date, instance of Number - it will try to retrieve int from number, instance of other Object types - it will try to retrieve int from instance, by parsing toString() as Integer. This method doesn't modify input date, but creates new instance of date type.static DateAdds amount to 'second' field that is based on given date.
1) If amount> 0, it will add seconds,
2) If amount< 0, it will subtract seconds from date.
This method doesn't modify input date, but creates new instance of date type.static DateAdds amount to 'year' field that is based on given date.static DateAdds amount to 'year' field that is based on given date.static DateAdds amount to 'year' field that is based on given date.static doubleRhinoMath.asin(double a) Calculates the arc sine of an argument using standard Java functionMath.asin(double).static doubleRhinoMath.atan(double a) Calculates the arc tangent of an argument, using standard Java functionMath.atan(double).static doubleRhinoUtil.calculateHaversineDistance(double latitude1, double longitude1, double latitude2, double longitude2) Calculate distance between two points not taking into account height difference.static doubleRhinoUtil.calculateHaversineDistance(double latitude1, double longitude1, double elevation1, double latitude2, double longitude2, double elevation2) Calculate distance between two points in latitude and longitude taking into account height difference.RhinoHigson.call(String functionName, ParamContext ctx) Method is workaround for python invoke 'higson.call()' without args.RhinoHigson.call(String functionName, ParamContext ctx, Object... args) Call function in higson with given functionName, context and possible arguments for function.Call function in higson with given functionName and possible arguments for function.booleanRhinoHigson.callBoolean(String functionName, ParamContext ctx, Object... args) Call function in higson with given functionName, context and possible arguments for function.RhinoHigson.callDate(String functionName, ParamContext ctx, Object... args) Call function in higson with given functionName, context and possible arguments for function.RhinoHigson.callDecimal(String functionName, ParamContext ctx, Object... args) Call function in higson with given functionName, context and possible arguments for function.RhinoHigson.callInteger(String functionName, ParamContext ctx, Object... args) Call function in higson with given functionName, context and possible arguments for function.RhinoHigson.callLocalDate(String functionName, ParamContext ctx, Object... args) Call function in higson with given functionName, context and possible arguments for function.RhinoHigson.callLocalDateTime(String functionName, ParamContext ctx, Object... args) Call function in higson with given functionName, context and possible arguments for function.doubleRhinoHigson.callNumber(String functionName, ParamContext ctx, Object... args) Call function in higson with given functionName, context and possible arguments for function.RhinoHigson.callString(String functionName, ParamContext ctx, Object... args) Call function in higson with given functionName, context and possible arguments for function.RhinoHigson.callValue(String functionName, ParamContext ctx, Object... args) Call function in higson with given functionName, context and possible arguments for function.static StringRhinoStr.capitalizeAll(String str) Capitalizes first letter of all words in the provided String.static StringRhinoStr.capitalizeFirst(String text) Capitalizes the first letter of the provided argument.static doubleRhinoMath.cbrt(double a) Calculates the cube root using standard Java functionStrictMath.cbrt(double).static doubleRhinoMath.ceil(double a) Returns the smallest rounded to whole number value which is greater than or equal to the argument, using standard Java functionMath.ceil(double).static StringRhinoStr.compactSpaces(String s) Changes all occurrences of adjacent spaces into one space.static intRhinoDate.compareYMD(Date date1, Date date2) Compares two dates by year, month, date.static StringReturns comma-separated string representations of array elements.static StringReturns the string representations of array elements, concatenated into oneString, separated by provided delimiter.static StringReturns the string representations of array elements, concatenated into oneString, separated by provided delimiter.static StringReturns the string representations of elements of theList, concatenated into one comma-separatedString.static StringReturns the string representations of elements of theList, concatenated into oneString, separated by provided delimiter.static booleanChecks if an array ofStrings contains the specified element.static booleanRhinoStr.contains(Collection<?> coll, String fragment) Checks if the collection contains an object, whoseStringrepresentation contains the specified fragment, ignoring letter case.static DateCreates copy of given date.static doubleRhinoMath.cos(double a) Calculates trigonometric cosine of an angle using standard Java functionMath.cos(double).static doubleRhinoMath.cosh(double x) Calculates the hyperbolic cosine, using standard Java functionMath.cosh(double).static intCounts the occurrences of character inStringRhinoHigson.createContext(Object... args) Helper method for creating context on fly, for given arguments.static DateRhinoDate.current()Deprecated.static DateRhinoDate.currentDate()Return current date with time set to 00:00:00.static DateRhinoDate.currentDatetime()Return current date with time.static doubleRhinoMath.exp(double a) Calculates Euler's numbereraised to the given power using standard Java functionMath.exp(double).static StringRhinoStr.filterChars(String s, char lower, char upper) Quick method removing from the givenStringall characters not betweenlower(inclusive) andupper(inclusive).static StringRhinoStr.filterChars(String s, String allowed) A quick method removing from the givenStringall characters not appearing in the secondStringargument.static StringRhinoStr.filterDigits(String s) Quick method removing from the givenStringall non-digits.static doubleRhinoMath.floor(double a) Returns the largest rounded to whole number value which is less than or equal to the argument, using standard Java functionMath.floor(double).static StringReturns String from date using yyyy-MM-dd format.static StringReturns String in given pattern from date.static StringPerforms argument substitution for thepatternpassed as parameter.static StringReturns String in dd-MM-yyyy pattern from date.static StringRhinoDate.formatTimestamp(long timestamp) Returns String from timestamp as long using yyyy-MM-dd HH:mm:ss.SSS format.static StringRhinoDate.formatTimestamp(Date date) Returns String from date using yyyy-MM-dd HH:mm:ss.SSS format.static DateRhinoDate.fromInt(int date) It will try to convert given date as int to proper date instance.Returns the root element of domain for given profile.RhinoDomain.get(String profile, HigsonContext ctx) Returns the root element of domain for given profile, associated with the given context object.Returns the element of domain identified by the provided path for given profile.RhinoDomain.get(String profile, String path, HigsonContext ctx) Returns the element of domain identified by the provided path for given profile, evaluated with the provided context.RhinoHigson.get(String param, ParamContext ctx) Return raw object value from first cell of matched first row based on given parameter within given context as first token value.Return raw object value from first cell of first row based on given parameter within given context as first token value.static intRhinoDate.getAbsoluteYearDiff(Object date1, Object date2) Calculates full years intervals between date1 and date2.booleanRhinoHigson.getBoolean(String param, ParamContext ctx) Return raw value as boolean from first cell of first row based on given parameter within given context as first token value.booleanRhinoHigson.getBoolean(String param, Object... tokens) Return raw value as boolean from first cell of first row based on given parameter within given context as first token value.booleanRhinoType.getBoolean(Object obj) RhinoHigson.getBooleanType()Get Boolean type instance used by higson.static StringRhinoStr.getCommonStart(String s1, String s2) Returns the longest common prefix of twoStringsstatic DateRhinoDate.getDate(int year, int month, int day) Creates new date from given parameters without time.static DateRhinoDate.getDate(int year, int month, int day, int hour, int minute) Creates new date from given parameters.static DateRhinoDate.getDate(int year, int month, int day, int hour, int minute, int second) Creates new date from given parameters.RhinoHigson.getDate(String param, ParamContext ctx) Return raw value as java.util.Date from first cell of first row based on given parameter within given context as first token value.Return raw value as java.util.Date from first cell of first row based on given parameter within given context as first token value.RhinoType.getDatetime(Object obj) RhinoHigson.getDateType()Get Date type instance used by higson.static intGet day from date, but date must be in yyyy-MM-dd HH:mm:ss or yyyy-MM-dd formats.static intRhinoDate.getDayDiff(Object date1, Object date2) Returns difference of days between givens dates.static intRhinoDate.getDayDiff(Object date1, Object date2, String pattern) Returns difference of days between givens dates.static intRhinoDate.getDayDiffDeprecated(Object date1, Object date2) Deprecated.will be removed in future, useRhinoDate.getDayDiff(java.lang.Object, java.lang.Object)static intRhinoDate.getDaysBetween(Date date1, Date date2) Calculates full days intervals between date1 and date2.static intRhinoDate.getDaysInYear(int year) Number of days in a given year.RhinoHigson.getDecimal(String param, ParamContext ctx) Return raw value as BigDecimal from first cell of first row based on given parameter within given context as first token value.RhinoHigson.getDecimal(String param, Object... tokens) Return raw value as BigDecimal from first cell of first row based on given parameter within given context as first token value.RhinoType.getDecimal(Object obj) RhinoType.getDecimal(Object obj, int scale) static DateRhinoDate.getFirstDayOfMonth(Date date) Create new date based on given date, but set to first day of a month.static DateRhinoDate.getFirstDayOfYear(int year) Create date with a beginning for a given year.static DateRhinoDate.getFirstDayOfYear(Date date) Create new date based on given date, but set to first day of a year.static DateRhinoDate.getFirstWorkingDayOfYear(int year) Create date, that is set to the first work day of beginning of given year.static intRhinoDate.getFullYearDiff(Date date1, Date date2) The same asRhinoDate.getAbsoluteYearDiff(Object, Object), but it is not null safe.static intGet hour from date, but date must be in yyyy-MM-dd HH:mm:ss format.static intRhinoDate.getHourDiff(Object date1, Object date2) Deprecated.Will be removed in the futureRhinoHigson.getInteger(String param, ParamContext ctx) Return raw value as Integer from first cell of first row based on given parameter within given context as first token value.RhinoHigson.getInteger(String param, Object... tokens) Return raw value as Integer from first cell of first row based on given parameter within given context as first token value.RhinoType.getInteger(Object obj) RhinoHigson.getIntegerType()Get Integer type instance used by higson.static DateRhinoDate.getLastDayOfMonth(Date date) Create new date based on given date, but set to last day of a month.static DateRhinoDate.getLastDayOfYear(Date date) Create new date based on given date, but set to last day of a year.RhinoHigson.getLocalDate(String param, ParamContext ctx) Return raw value as java.time.LocalDate from first cell of first row based on given parameter within given context as first token value.RhinoHigson.getLocalDate(String param, Object... tokens) Return raw value as java.time.LocalDate from first cell of first row based on given parameter within given context as first token value.RhinoType.getLocalDate(Object obj) RhinoHigson.getLocalDateTime(String param, ParamContext ctx) Return raw value as java.time.LocalDateTime from first cell of first row based on given parameter within given context as first token value.RhinoHigson.getLocalDateTime(String param, Object... tokens) Return raw value as java.time.LocalDateTime from first cell of first row based on given parameter within given context as first token value.RhinoType.getLocalDateTime(Object obj) RhinoHigson.getLocalDateTimeType()Get LocalDateTime type instance used by higson.RhinoHigson.getLocalDateType()Get LocalDate type instance used by higson.static intGet minutes from date, but date must be in yyyy-MM-dd HH:mm:ss format.static intRhinoDate.getMinuteDiff(Object date1, Object date2) Deprecated.Will be removed in the futurestatic intGet month from date, but date must be in yyyy-MM-dd HH:mm:ss or yyyy-MM-dd formats.static intRhinoDate.getMonthDiff(Object date1, Object date2) Returns difference of months between givens dates.static intRhinoDate.getMonthDiffDeprecated(Object date1, Object date2) Deprecated.will be removed in future, useRhinoDate.getMonthDiff(java.lang.Object, java.lang.Object)static intRhinoDate.getMonthsBetween(Date date1, Date date2) Calculates full months intervals between date1 and date2.static DateRhinoDate.getNearestWorkDay(Date date) Get closets work day from given date, but if given date is work date, it will return same instance.static DateRhinoDate.getNearestWorkDayExcludingPolishHolidays(Date date) Get next work day based on given date, but also verify polish holidays, and consider them during verification.static DateRhinoDate.getNextWorkDay(Date date) Get next working date from given date.doubleRhinoHigson.getNum(String param, ParamContext ctx) Deprecated.use getNumber, getDecimal or getIntegerdoubleRhinoHigson.getNumber(String param, ParamContext ctx) Return raw value as double from first cell of first row based on given parameter within given context as first token value.doubleReturn raw value as double from first cell of first row based on given parameter within given context as first token value.doubledoubleRhinoHigson.getNumberType()Get Number type instance used by higson.RhinoHigson.getParamValue(String param, ParamContext ctx) Return container of parameter's sub-matrix from matrix based on given parameter within given context as first token value.RhinoHigson.getParamValue(String param, Object... tokens) Return container of parameter's sub-matrix from matrix based on given parameter within given context as first token value.RhinoDate.getPolishHolidays(int year) Returns set of polish holidays for given year, except these years that happen to occur during weekend.RhinoDomain.getProfiles()Returns codes of profiles with at least one domain element.static intGet seconds from date, but date must be in yyyy-MM-dd HH:mm:ss format.static SimpleDateFormatRhinoDate.getSimpleDateFormat(String pattern) Returns instance of SimpleDateFormat that is currently used in active Thread.RhinoHigson.getString(String param, ParamContext ctx) Return raw value as String from first cell of first row based on given parameter within given context as first token value.Return raw value as String from first cell of first row based on given parameter within given context as first token value.RhinoHigson.getStringType()Get String type instance used by higson.static DateDeprecated.Will be removed in the futureRhinoHigson.getValue(String param, ParamContext ctx) This method is almost the same sameRhinoHigson.getParamValue(String param, ParamContext ctx), but the result is wrapped with type conversion support.This method is almost the same sameRhinoHigson.getParamValue(String param, Object...tokens), but the result is wrapped with type conversion support.static intGet year from date, but date must be in yyyy-MM-dd HH:mm:ss or yyyy-MM-dd formats.static intRhinoDate.getYearDiff(Object date1, Object date2) Returns difference of years between givens dates.
Possible outcomes: negative result if date1> date2, positive result if date1< date2, zero if there is no difference or any of given dates are null.static intRhinoDate.getYearsBetween(Date date1, Date date2) Calculates full years intervals between date1 and date2.static booleanRhinoDate.isFirstWorkDayOfMonth(Date date) Checks if given date is both a first day of a month and a work day.static booleanRhinoDate.isInPeriod(long d, long d1, long d2) Works the same asRhinoDate.isInPeriod(Date, Date, Date), but for longs.static booleanRhinoDate.isInPeriod(Date dateToCheck, Date minDateInclusive, Date maxDateExclusive) Checks if given dateToCheck is within boundaries.static booleanRhinoDate.isInPeriodInclusive(long d, long d1, long d2) Works the same asRhinoDate.isInPeriodInclusive(Date, Date, Date), but for longs.static booleanRhinoDate.isInPeriodInclusive(Date dateToCheck, Date minDateInclusive, Date maxDateInclusive) Checks if given dateToCheck is within boundaries.static booleanRhinoDate.isLastDayOfMonth(Date date) Checks if given date is last date of a month.static booleanRhinoDate.isLeapYear(int year) Verifies if given year is a leap year.static booleanChecks if given date is work date.static intRhinoDate.julianDay(int year, int month, int day) Read more about here: http://en.wikipedia.org/wiki/Julian_daystatic intRead more about here: http://en.wikipedia.org/wiki/Julian_daystatic intRhinoDate.julianDayDiff(Date date1, Date date2) Read more about here: http://en.wikipedia.org/wiki/Julian_day Difference between to julian days.static intReturns the length of theStringor0if the string isnull.static doubleRhinoMath.log(double a) Calculates the natural logarithm using standard Java functionMath.log(double).static doubleRhinoMath.log(double a, double b) Calculates logarithm ofbwith basea.static doubleRhinoMath.log10(double a) Calculates the base 10 logarithm using standard Java functionMath.log10(double).static DateChecks which one of given dates is greater then the other.static DateChecks which one of given dates is greater then the others.static doubleRhinoMath.max(double a, double b) Returns the greater of two values found using standard Java functionMath.max(double, double).static floatRhinoMath.max(float a, float b) Returns the greater of two values found using standard Java functionMath.max(float, float).static intRhinoMath.max(int a, int b) Returns the greater of two values found using standard Java functionMath.max(int, int).static longRhinoMath.max(long a, long b) Returns the greater of two values found using standard Java functionMath.max(long, long).static DateChecks which one of given dates is smaller then the other.static DateChecks which one of given dates is the earliest.static doubleRhinoMath.min(double a, double b) Returns the smaller of two values found using standard Java functionMath.min(double, double).static floatRhinoMath.min(float a, float b) Returns the smaller of two values found using standard Java functionMath.min(float, float).static intRhinoMath.min(int a, int b) Returns the smaller of two values found using standard Java functionMath.min(int, int).static longRhinoMath.min(long a, long b) Returns the smaller of two values found using standard Java functionMath.min(long, long).RhinoType.multiValue()Returns builder forMultiValuestatic StringConverts nullStrings to empty strings.static StringReturns the argument if it is notnull.static StringReturns theStringargument with provided character appended at the end required number of times, so that the length of the resulting string is at least equal to the last argument.static StringReturns theStringargument with spaces added at the end if necessary, so that the length of the resulting string is at least equal to the second argument.static StringReturns theStringargument with provided character added at the beginning required number of times, so that the length of the resulting string is at least equal to the last argument.static StringReturns theStringargument with spaces added at the beginning if necessary, so that the length of the resulting string is at least equal to the second argument.RhinoType.paramValue()static DateTries to parse given date with default pattern yyyy-MM-dd.static DateTries to parse given date for given object pattern.static DateTries to parse String for multiple supported formats and return date.static DateTries to parse String for given format, then return date.static DateTries to parse given String in dd-MM-yyyy format.static DateTries to parse given object in yyyy-MM-dd HH:mm:ss or yyyy-MM-dd formats.static DateTries to parse given date with default pattern yyyy-MM-dd.static DateTries to parse given date for given pattern String.static DateTries to parse given String in yyyy-MM-dd format.static doubleRhinoMath.pow(double a, double b) Returns the value of the first argument raised to the power of the second argument, calculated using standard Java functionMath.pow(double, double).static StringCreates aStringrepresenting the content ofCollection, array orIterablein a clear form of a list of items, with each item in separate line.static StringCreates aStringrepresenting the content ofCollection, array orIterablein a clear form of a list of items, with each item in separate line.static StringCreates aStringrepresenting the content ofCollection, array orIterablein a clear form of a list of items, with each item in separate line.static doubleRhinoMath.random()Returns a pseudo-random number greater than or equal to0.0and less than1.0, using standard Java functionMath.random()static StringRhinoStr.rejectChars(String s, String rejected) A quick method removing from the givenStringall characters appearing in the secondStringargument.static StringRhinoStr.repeat(char c, int count) Returns theStringconsisting of the given character repeated specified number of times.static DateAdds amount to the 'day' field without changing other fields.static DateAdds amount to the 'hour' field without changing other fields.static DateRhinoDate.rollMinute(Object date, Object amount) Adds amount to the 'minute' field without changing other fields.static DateAdds amount to the 'month' field without changing other fields.static DateRhinoDate.rollSecond(Object date, Object amount) Adds amount to the 'second' field without changing other fields.static DateAdds amount to the 'year' field without changing other fields.static longRhinoMath.round(double a) Returns the closestlongto the argument, with ties rounding to positive infinity, using standard Java functionMath.round(double).static doubleRhinoMath.round(double a, int scale) Rounds the number to specified decimal places.static intRhinoMath.round(float a) Returns the closestintto the argument, calculated using standard Java functionMath.round(float).static DateSets day for given date.static DateSets hour for given date.static DateSets minute for given date.static DateSets month for given date.static DateSets second for given date.static DateSets year for given date.static doubleRhinoMath.signum(double d) Returns the signum function of the argument, determined using standard Java functionMath.signum(double).static floatRhinoMath.signum(float f) Returns the signum function of the argument, determined using standard Java functionMath.signum(float).static doubleRhinoMath.sin(double a) Calculates trigonometric sine of an angle using standard Java functionMath.sin(double).static doubleRhinoMath.sinh(double x) Calculates the hyperbolic sine, using standard Java functionMath.sinh(double).static String[]Splits the given string into substrings delimited by specified single character and returns an array of substrings.static String[]Splits the given string into substrings delimited by specified single character.static doubleRhinoMath.sqrt(double a) Calculates the positive square root using standard Java functionMath.sqrt(double).static DateRhinoDate.subtractYear(Date date) Deprecated.will be removed in the future, useRhinoDate.addYear(Date, int)with -1 amount.static doubleRhinoMath.tan(double a) Calculates trigonometric tangent of an angle using standard Java functionMath.tan(double).RhinoType.toBooleanHolder(Object obj) RhinoType.toDateHolder(Object obj) RhinoType.toDatetimeHolder(Object obj) static doubleRhinoMath.toDegrees(double angrad) Converts an angle measured in radians to angle measured in degrees, using standard Java functionMath.toDegrees(double).static intIt will try to convert given date to int representation.RhinoType.toIntegerHolder(Object obj) RhinoType.toLocalDateHolder(Object obj) RhinoType.toLocalDateTimeHolder(Object obj) RhinoType.toMultiValue(Object[] row, String... codes) RhinoType.toMultiValue(Object[] row, Map<String, Integer> indexMap) RhinoType.toNumberHolder(Object obj) RhinoType.toParamValue(MultiValue... rows) RhinoType.toParamValue(String[] codes, Object[][] matrix) Deprecated.static doubleRhinoMath.toRadians(double angdeg) Converts an angle measured in degrees to angle measured in radians, using standard Java functionMath.toRadians(double).RhinoType.toStringHolder(Object obj) static DateClearing time part of a given date.static StringTrims the argument from leading and trailing whitespaces if it's not null.static doubleRhinoMath.trunc(double a, int scale) Rounds the number to specified decimal places.static StringIf necessary, shortens the givenStringto the specified length, by removing appropriate number of characters at the end of the string and adding ellipsis ("...").RhinoHigson.value(String param, ParamContext ctx) Same as getParamValueSame as getParamValueRhinoType.wrap(ParamValue pv) ConvertsParamValuetoRhinoParamValue
RhinoDate.currentDatetime()method