Uses of Annotation Interface
com.scriptbasic.api.BasicFunction
Packages that use BasicFunction
-
Uses of BasicFunction in com.scriptbasic.utility.functions
Methods in com.scriptbasic.utility.functions with annotations of type BasicFunctionModifier and TypeMethodDescriptionstatic Numberstatic doubleMathFunctions.acos(double x) static IntegerReturns an Integer representing the character code corresponding to the first letter in a string.static doubleMathFunctions.asin(double x) static voidThrow an exception causing BASIC runtime error if the assertion fails.static doubleMathFunctions.atan(double x) static doubleMathFunctions.atan2(double x, double y) static byte[]UtilityFunctions.byteBuffer(int len) Create a new byte buffer of lengthlen.static doubleMathFunctions.cbrt(double x) static LocalDateConversion function to datestatic Doublestatic doubleMathFunctions.ceil(double x) static StringReturns a one character string that contains the character that is at the positioniin the strings1.static StringChop off the new line character(s) from the end of the string.static StringReturns a String containing the character associated with the specified character code.static Longstatic intStringFunctions.codePointAt(String s1, int i) static intStringFunctions.codePointBefore(String s1, int i) static intStringFunctions.codePointCount(String s1, int i, int j) static intstatic intStringFunctions.compareToIgnoreCase(String s1, String s2) static booleanstatic doubleMathFunctions.copySign(double magnitude, double sign) static doubleMathFunctions.cos(double x) static doubleMathFunctions.cosh(double x) static StringReturns string for the argument.static LocalDateDateFunctions.date()static LocalDateReturns a date containing a date to which a specified time interval has been added.static longReturns a Variant (Long) specifying the number of time intervals between two specified dates.static BasicDateValueDateFunctions.dateserial(Integer year, Integer month, Integer dayOfMonth) Returns a Date for a specified year, month, and day.static IntegerReturns a Integer specifying a whole number between 1 and 31, inclusive, representing the day of the month.static booleanstatic voidThrow an exception causing BASIC runtime error.static doubleMathFunctions.exp(double a) static doubleMathFunctions.expm1(double x) static DoubleConvert a value to floating point.static doubleMathFunctions.floor(double x) static Longstatic LongMathFunctions.getExponent(double d) static byte[]UtilityFunctions.getStringBytes(String s) static doubleMathFunctions.hypot(double x, double y) static doubleMathFunctions.IEEEremainder(double f1, double f2) static LongImplements the functionality of the methods1.indexOf(s2)static LongStringFunctions.indexAfter(String s1, String s2, int i) Implements the functionality of the methods1.indexOf(s2,i)static LongConvert a value to integer.static booleanstatic Booleanstatic booleanstatic Booleanstatic Booleanstatic LongImplements the functionality of the methods1.lastIndexOf(s2)static LongStringFunctions.lastIndexAfter(String s1, String s2, int i) Implements the functionality of the methods1.lastIndexOf(s2,i)static StringReturn a string lower cased.static StringReturnlennumber of characters from the left (the beginning) of the string.static Longstatic doubleMathFunctions.log(double x) static doubleMathFunctions.log10(double x) static doubleMathFunctions.log1p(double x) static voidstatic voidstatic voidstatic StringTrim the white spaces from the start of the string.static Numberstatic StringReturn a substring from the string that starts at the positionstartand has a length oflen.static Numberstatic IntegerReturns a Integer specifying a whole number between 1 and 12, inclusive, representing the month of the year.static ObjectUtilityFunctions.newMagicBean()static doubleMathFunctions.pow(double a, double b) static doubleMathFunctions.random()static StringStringFunctions.replaceAll(String s1, String regex, String s2) static StringStringFunctions.replaceFirst(String s1, String regex, String s2) static StringReturnlennumber of characters from the right (the end) of the string.static doubleMathFunctions.rint(double a) static NumberReturns a number rounded to a specified number of decimal places.static StringTrim the white spaces from the end of the string.static doubleMathFunctions.scalb(double d, int scaleFactor) static voidstatic doubleMathFunctions.signum(double d) static doubleMathFunctions.sin(double x) static doubleMathFunctions.sinh(double x) static StringStringFunctions.space(int len) Return a string that islennumber of space characters.static doubleMathFunctions.sqrt(double a) static booleanStringFunctions.startsWith(String s1, String s2) static StringReturn a string that islentimes the character ins.static StringUtilityFunctions.stringifyBuffer(byte[] buffer) static intstatic StringStringFunctions.strreverse(String s) Return a string with the characters reversed.static doubleMathFunctions.tan(double x) static doubleMathFunctions.tanh(double x) static doubleMathFunctions.toDegrees(double angrad) static doubleMathFunctions.toRadians(double angdeg) static Stringstatic StringReturn a string upper cased.static ObjectUtilityFunctions.undef()This function returns the undef value.static IntegerReturns a Integer containing a whole number representing the year. -
Uses of BasicFunction in com.scriptbasic.utility.functions.file
Methods in com.scriptbasic.utility.functions.file with annotations of type BasicFunctionModifier and TypeMethodDescriptionstatic StringFileHandlingFunctions.absoluteFileName(String fileName) static voidFileHandlingFunctions.close(FileHandler fh) static voidFileHandlingFunctions.deleteFile(String fileName) static booleanFileHandlingFunctions.fileCanExecute(String fileName) static booleanFileHandlingFunctions.fileExists(String fileName) static booleanFileHandlingFunctions.fileIsExecutable(String fileName) static booleanFileHandlingFunctions.fileIsReadable(String fileName) static booleanFileHandlingFunctions.fileIsWritable(String fileName) static LongFileHandlingFunctions.fileLength(String fileName) static Longstatic booleanFileHandlingFunctions.isDirectory(String fileName) static booleanstatic booleanstatic LongFileHandlingFunctions.lastModified(String fileName) static BasicArraystatic booleanstatic FileHandlerOpens a file and returns a file handler.static StringFileHandlingFunctions.parentDirectory(String fileName) static voidFileHandlingFunctions.printf(FileHandler fh, String line) static voidFileHandlingFunctions.printfln(FileHandler fh, String line) static byte[]FileHandlingFunctions.read(FileHandler fh, int len) static StringFileHandlingFunctions.readLine(FileHandler fh) static booleanFileHandlingFunctions.renameFile(String fileNameFrom, String fileNameTo) static booleanFileHandlingFunctions.setExecutable(String fileName, boolean executable, boolean ownerOnly) static booleanFileHandlingFunctions.setLastModified(String fileName, Long time) static booleanFileHandlingFunctions.setReadable(String fileName, boolean readable, boolean ownerOnly) static booleanFileHandlingFunctions.setRedOnly(String fileName) static booleanFileHandlingFunctions.setWritable(String fileName, boolean writable, boolean ownerOnly) static voidFileHandlingFunctions.write(FileHandler fh, byte[] buffer)