Skip navigation links
A B C D E F G I K M N O P R S T U W 

A

add(T) - Method in interface de.tsl2.nano.util.operation.IOperable
returns the addition of current value and given operand
add(T) - Method in class de.tsl2.nano.util.operation.Operable
returns the addition of current value and given operand
addOperation(INPUT, IAction<OUTPUT>) - Method in class de.tsl2.nano.util.operation.Operator
helper to define an operation-definition
addValue(INPUT, OUTPUT) - Method in class de.tsl2.nano.util.operation.Operator
addValue

B

BooleanOperator - Class in de.tsl2.nano.util.operation
Boolean Operator as a sample implementation of Operator.
BooleanOperator() - Constructor for class de.tsl2.nano.util.operation.BooleanOperator
constructor
BooleanOperator(Map<CharSequence, Boolean>) - Constructor for class de.tsl2.nano.util.operation.BooleanOperator
constructor

C

checkConverter() - Method in class de.tsl2.nano.util.operation.Operable
throws an exception, if converter is null.
ComparationOperator - Class in de.tsl2.nano.util.operation
UNDER CONSTRUCTION

compares two operands and returns a boolean. both operands have to be evaluated before and have to exist in the value map.

ComparationOperator() - Constructor for class de.tsl2.nano.util.operation.ComparationOperator
 
compareTo(CRange<T>) - Method in class de.tsl2.nano.util.operation.CRange
concat(Object...) - Method in class de.tsl2.nano.util.operation.SOperator
 
concat(Object...) - Method in interface de.tsl2.nano.util.parser.IParser
concatenates given elements of type INPUT
concat(Object...) - Method in class de.tsl2.nano.util.parser.SParser
 
ConditionOperator<T> - Class in de.tsl2.nano.util.operation
Input: string holding boolean expressions. conditional execution
ConditionOperator() - Constructor for class de.tsl2.nano.util.operation.ConditionOperator
constructor
ConditionOperator(Map<CharSequence, T>) - Constructor for class de.tsl2.nano.util.operation.ConditionOperator
constructor
contains(T) - Method in class de.tsl2.nano.util.operation.CRange
checks, if given value is inside range
contains(IRange<T>) - Method in class de.tsl2.nano.util.operation.CRange
Check if this period includes another one.
convert(IConvertableUnit<T1, U1>) - Method in class de.tsl2.nano.util.operation.OperableUnit
converts the own value to the given operableunit.
CRange<T extends Comparable<T>> - Class in de.tsl2.nano.util.operation
generic range object. usable for comparable values like numbers, dates, strings. but it is usable too for any object, implementing Comparable.
CRange(T, T, C) - Constructor for class de.tsl2.nano.util.operation.CRange
constructor
createConverter() - Static method in class de.tsl2.nano.util.operation.BooleanOperator
 
createConverter() - Method in class de.tsl2.nano.util.operation.ConditionOperator
 
createConverter() - Static method in class de.tsl2.nano.util.operation.NumericOperator
 
createOperations() - Method in class de.tsl2.nano.util.operation.BooleanOperator
define all possible operations. see Operator.operationDefs
createOperations() - Method in class de.tsl2.nano.util.operation.ComparationOperator
 
createOperations() - Method in class de.tsl2.nano.util.operation.ConditionOperator
 
createOperations() - Method in class de.tsl2.nano.util.operation.NumericConditionOperator
 
createOperations() - Method in class de.tsl2.nano.util.operation.NumericOperator
define all possible operations. see Operator.operationDefs
createOperations() - Method in class de.tsl2.nano.util.operation.Operator
define all possible operations. see Operator.operationDefs. should set value for Operator.KEY_OPERATION in Operator.syntax, too!
createSyntax() - Method in class de.tsl2.nano.util.operation.Operator
default implementation. please override
createSyntax() - Method in class de.tsl2.nano.util.operation.SOperator
default implementation. please override
createTermSyntax() - Method in class de.tsl2.nano.util.operation.Operator
defines the syntax of a term with given set of operators
createTermSyntax() - Method in class de.tsl2.nano.util.operation.SOperator
 
createTermSyntax_NEW_ALTERNIVE13062015() - Method in class de.tsl2.nano.util.operation.SOperator
 

D

de.tsl2.nano.util.operation - package de.tsl2.nano.util.operation
 
de.tsl2.nano.util.parser - package de.tsl2.nano.util.parser
 
divide(T) - Method in interface de.tsl2.nano.util.operation.IOperable
returns the division of current value and given operand
divide(T) - Method in class de.tsl2.nano.util.operation.Operable
returns the division of current value and given operand

E

encloseInBrackets(INPUT) - Method in class de.tsl2.nano.util.operation.Operator
searches for not enclosed terms with a Operator.KEY_HIGH_OPERATION to enclose it.
eval(CharSequence) - Method in class de.tsl2.nano.util.operation.ConditionOperator
 
eval(CharSequence, Map<CharSequence, Object>) - Method in class de.tsl2.nano.util.operation.Function
 
eval(CharSequence, Map<CharSequence, Object>) - Method in class de.tsl2.nano.util.operation.NumericConditionOperator
 
eval(INPUT, Map<INPUT, OUTPUT>) - Method in class de.tsl2.nano.util.operation.Operator
delegates to Operator.eval(Object) filling the given values to Operator.values.
eval(INPUT) - Method in class de.tsl2.nano.util.operation.Operator
eval
extract(CharSequence, CharSequence, CharSequence) - Method in class de.tsl2.nano.util.operation.SOperator
 
extract(INPUT, INPUT) - Method in interface de.tsl2.nano.util.parser.IParser
extracts the given part from source
extract(INPUT, INPUT, INPUT) - Method in interface de.tsl2.nano.util.parser.IParser
extracts the given part from source and replaces it with replacement
extract(INPUT, INPUT) - Method in class de.tsl2.nano.util.parser.Parser
 
extract(CharSequence, CharSequence, CharSequence) - Method in class de.tsl2.nano.util.parser.SParser
 

F

from(T) - Method in class de.tsl2.nano.util.operation.FromCharSequenceConverter
converts TO to FROM
from(TO) - Method in interface de.tsl2.nano.util.operation.IConverter
converts TO to FROM
from - Variable in class de.tsl2.nano.util.operation.Range
the range minimum value
from(String) - Method in class de.tsl2.nano.util.operation.ToStrConverter
converts TO to FROM
FromCharSequenceConverter<T> - Class in de.tsl2.nano.util.operation
standard converter to convert an object into a string and vice versa - using a given Format.
FromCharSequenceConverter(Format) - Constructor for class de.tsl2.nano.util.operation.FromCharSequenceConverter
constructor
Function<OUTPUT> - Class in de.tsl2.nano.util.operation
 

G

getConversion() - Method in class de.tsl2.nano.util.operation.Operable
 
getDelta() - Method in class de.tsl2.nano.util.operation.CRange
Calculates the span between from and to
getDelta(T) - Method in class de.tsl2.nano.util.operation.Operable
 
getDiff(T) - Method in interface de.tsl2.nano.util.operation.IOperable
returns the difference between current value and given operand
getDiff(T) - Method in class de.tsl2.nano.util.operation.Operable
returns the difference between current value and given operand
getDivision(T) - Method in class de.tsl2.nano.util.operation.Operable
 
getFrom() - Method in interface de.tsl2.nano.util.operation.IRange
 
getFrom() - Method in class de.tsl2.nano.util.operation.Range
getMultiplication(T) - Method in class de.tsl2.nano.util.operation.Operable
 
getOp() - Method in class de.tsl2.nano.util.operation.ConditionOperator
 
getSum(T) - Method in class de.tsl2.nano.util.operation.Operable
 
getTo() - Method in interface de.tsl2.nano.util.operation.IRange
 
getTo() - Method in class de.tsl2.nano.util.operation.Range
getUnit() - Method in interface de.tsl2.nano.util.operation.IUnit
defines the unit of a value
getUnit() - Method in class de.tsl2.nano.util.operation.OperableUnit
defines the unit of a value
getValue() - Method in interface de.tsl2.nano.util.operation.IOperable
returns the current operand
getValue() - Method in class de.tsl2.nano.util.operation.Operable
returns the current operand
getValue(Object) - Method in class de.tsl2.nano.util.operation.Operator
gets a value - usable to fill values from value map. overwrite this method to do more...
getValues() - Method in class de.tsl2.nano.util.operation.Operator
getValues

I

IConvertableUnit<T,U> - Interface in de.tsl2.nano.util.operation
combination of a convertable value and its unit
IConverter<FROM,TO> - Interface in de.tsl2.nano.util.operation
to convert from one to another object. we use the names from and to. synonyms would be:
from = source, min, begin
to = destination, max, end, until
intersects(IRange<T>) - Method in class de.tsl2.nano.util.operation.CRange
Determines if a given period intersects the range.
intersects(T, T) - Method in class de.tsl2.nano.util.operation.CRange
Another variant of intersection check (save range construction).
IOperable<T> - Interface in de.tsl2.nano.util.operation
base for comparable objects like numbers, dates, strings - but for any other objects, too - to provide some standard operations.
IParser<INPUT> - Interface in de.tsl2.nano.util.parser
Defines all methods to create a simple parser. the parser is independent of a type like string - so extensions are portable to other systems or languages.
IRange<T> - Interface in de.tsl2.nano.util.operation
 
isEmpty(INPUT) - Method in interface de.tsl2.nano.util.parser.IParser
isEmpty
isEmpty(INPUT) - Method in class de.tsl2.nano.util.parser.Parser
isEmpty
isGreater(T) - Method in interface de.tsl2.nano.util.operation.IOperable
returns true, if the current value is greater than the given operand value
isGreater(T) - Method in class de.tsl2.nano.util.operation.Operable
returns true, if the current value is greater than the given operand value
isLower(T) - Method in interface de.tsl2.nano.util.operation.IOperable
returns true, if the current value is lower than the given operand value
isLower(T) - Method in class de.tsl2.nano.util.operation.Operable
returns true, if the current value is lower than the given operand value
IUnit<U> - Interface in de.tsl2.nano.util.operation

K

KEY_ANY - Static variable in class de.tsl2.nano.util.operation.ConditionOperator
 
KEY_BEGIN - Static variable in class de.tsl2.nano.util.operation.Operator
begin of eclosing a term (e.g. brackets)
KEY_BETWEEN - Static variable in class de.tsl2.nano.util.operation.Operator
operation for: min max
KEY_CONCAT - Static variable in class de.tsl2.nano.util.operation.Operator
 
KEY_ELSE - Static variable in class de.tsl2.nano.util.operation.ConditionOperator
 
KEY_EMPTY - Static variable in class de.tsl2.nano.util.operation.Operator
key word for an empty expression
KEY_END - Static variable in class de.tsl2.nano.util.operation.Operator
end of eclosing a term (e.g. brackets)
KEY_EQUALS - Static variable in class de.tsl2.nano.util.operation.ConditionOperator
 
KEY_HIGH_OPERATION - Static variable in class de.tsl2.nano.util.operation.Operator
for numeric operations we need a classification of operations (like square root, pow, ...)
KEY_OPERAND - Static variable in class de.tsl2.nano.util.operation.Operator
expression for first or second operand
KEY_OPERATION - Static variable in class de.tsl2.nano.util.operation.Operator
 
KEY_RESULT - Static variable in class de.tsl2.nano.util.operation.Operator
key word to store the the result inside the value map
KEY_TERM - Static variable in class de.tsl2.nano.util.operation.Operator
operand1 + operation + operand2
KEY_TERM_ENCLOSED - Static variable in class de.tsl2.nano.util.operation.Operator
enclosing a term with brackets
KEY_THEN - Static variable in class de.tsl2.nano.util.operation.ConditionOperator
 

M

max(T) - Method in interface de.tsl2.nano.util.operation.IOperable
returns the maximum of current value and given operand
max(T) - Method in class de.tsl2.nano.util.operation.Operable
returns the maximum of current value and given operand
min(T) - Method in interface de.tsl2.nano.util.operation.IOperable
returns the mimimum of current value and given operand
min(T) - Method in class de.tsl2.nano.util.operation.Operable
returns the mimimum of current value and given operand
multiply(T) - Method in interface de.tsl2.nano.util.operation.IOperable
returns the multiplication of current value and given operand
multiply(T) - Method in class de.tsl2.nano.util.operation.Operable
returns the multiplication of current value and given operand

N

newOperand(INPUT) - Method in class de.tsl2.nano.util.operation.Operator
 
NumericConditionOperator - Class in de.tsl2.nano.util.operation
Combination of conditioning (including booleans) and numeric operator. result has to be of type BigDecimal.
NumericConditionOperator() - Constructor for class de.tsl2.nano.util.operation.NumericConditionOperator
 
NumericOperator - Class in de.tsl2.nano.util.operation
Numeric Operator as a sample implementation of Operator.
NumericOperator() - Constructor for class de.tsl2.nano.util.operation.NumericOperator
constructor
NumericOperator(Map<CharSequence, BigDecimal>) - Constructor for class de.tsl2.nano.util.operation.NumericOperator
constructor

O

Operable<T extends Comparable<T>> - Class in de.tsl2.nano.util.operation
Standard operand providing operations through IOperable. it wraps the Comparable interface to become readable/usable. in other words: wraps any java-bean to be a comparable number.
Operable(T, IConverter<T, Number>) - Constructor for class de.tsl2.nano.util.operation.Operable
constructor
OperableUnit<T extends Comparable<T>,U> - Class in de.tsl2.nano.util.operation
usable to compare values with defined units. f.e., a bigdecimal working as currency.
OperableUnit(T, IConvertableUnit<T, U>) - Constructor for class de.tsl2.nano.util.operation.OperableUnit
constructor
operate(INPUT, Map<INPUT, OUTPUT>) - Method in class de.tsl2.nano.util.operation.Operator
main function to extract operation elements and to execute the operation.
Operator<INPUT,OUTPUT> - Class in de.tsl2.nano.util.operation
Base class to execute any operation with terms having two operands and one operator. it is like a primitive parser using regular expressions. may be used to implement equation-solvers etc.
Operator() - Constructor for class de.tsl2.nano.util.operation.Operator
 
Operator(Class<? extends INPUT>, IConverter<INPUT, OUTPUT>, Map<INPUT, OUTPUT>) - Constructor for class de.tsl2.nano.util.operation.Operator
constructor

P

Parser<INPUT> - Class in de.tsl2.nano.util.parser
 
Parser() - Constructor for class de.tsl2.nano.util.parser.Parser
 
precalc(CharSequence) - Method in class de.tsl2.nano.util.operation.ConditionOperator
may do some pre calculations. override this method to do them.
precalc(CharSequence) - Method in class de.tsl2.nano.util.operation.NumericConditionOperator
calculate functions

R

Range<T> - Class in de.tsl2.nano.util.operation
Simplest implementation of IRange.
Range() - Constructor for class de.tsl2.nano.util.operation.Range
constructor for deserialization
Range(T, T) - Constructor for class de.tsl2.nano.util.operation.Range
constructor
replace(CharSequence, CharSequence, CharSequence) - Method in class de.tsl2.nano.util.operation.SOperator
 
replace(INPUT, INPUT, INPUT) - Method in interface de.tsl2.nano.util.parser.IParser
replace
replace(CharSequence, CharSequence, CharSequence) - Method in class de.tsl2.nano.util.parser.SParser
 
reset() - Method in class de.tsl2.nano.util.operation.Operator
resets stored values - to do the next operation
resultEstablished() - Method in class de.tsl2.nano.util.operation.Operator
used to do a break if result already available

S

setFrom(T) - Method in class de.tsl2.nano.util.operation.Range
 
setPrimitiveMaxValues(Object) - Static method in class de.tsl2.nano.util.operation.Range
evaluates all primitive attributes of the given instance type and sets maximum values for them
setPrimitiveMinValues(Object) - Static method in class de.tsl2.nano.util.operation.Range
evaluates all primitive attributes of the given instance type and sets minimum values for them
setTo(T) - Method in class de.tsl2.nano.util.operation.Range
 
SOperator<T> - Class in de.tsl2.nano.util.operation
Base Operator for string expressions.
SOperator() - Constructor for class de.tsl2.nano.util.operation.SOperator
constructor
SOperator(Class<? extends CharSequence>, IConverter<CharSequence, T>, Map<CharSequence, T>) - Constructor for class de.tsl2.nano.util.operation.SOperator
constructor
SParser - Class in de.tsl2.nano.util.parser
Simple text parser as extension of generic parser Parser.
SParser() - Constructor for class de.tsl2.nano.util.parser.SParser
 
subElement(CharSequence, CharSequence, CharSequence, boolean) - Method in class de.tsl2.nano.util.operation.SOperator
 
subElement(INPUT, INPUT, INPUT, boolean) - Method in interface de.tsl2.nano.util.parser.IParser
searches for the given block starting with begin and ending with end. if last is true, the last block will be searched.
subElement(CharSequence, CharSequence, CharSequence, boolean) - Method in class de.tsl2.nano.util.parser.SParser
 
subEnclosing(CharSequence, CharSequence, CharSequence) - Method in class de.tsl2.nano.util.operation.SOperator
 
subEnclosing(INPUT, INPUT, INPUT) - Method in interface de.tsl2.nano.util.parser.IParser
searches in src for a block starting (excluding) from first begin and ending with last end.
subEnclosing(CharSequence, CharSequence, CharSequence) - Method in class de.tsl2.nano.util.parser.SParser
 
subtract(T) - Method in interface de.tsl2.nano.util.operation.IOperable
returns the subtraction of current value and given operand
subtract(T) - Method in class de.tsl2.nano.util.operation.Operable
returns the subtraction of current value and given operand
syntax(String) - Method in class de.tsl2.nano.util.operation.Operator
syntax

T

to(CharSequence) - Method in class de.tsl2.nano.util.operation.FromCharSequenceConverter
converts FROM to TO
to(FROM) - Method in interface de.tsl2.nano.util.operation.IConverter
converts FROM to TO
to - Variable in class de.tsl2.nano.util.operation.Range
the range maximum value
to(T) - Method in class de.tsl2.nano.util.operation.ToStrConverter
converts FROM to TO
ToStrConverter<T> - Class in de.tsl2.nano.util.operation
standard converter to convert an object into a string and vice versa - using a given Format.
ToStrConverter(Format) - Constructor for class de.tsl2.nano.util.operation.ToStrConverter
constructor
toString() - Method in class de.tsl2.nano.util.operation.OperableUnit
toString() - Method in class de.tsl2.nano.util.operation.Operator
 
toString() - Method in class de.tsl2.nano.util.operation.Range
 
trim(CharSequence) - Method in class de.tsl2.nano.util.operation.SOperator
 
trim(INPUT) - Method in interface de.tsl2.nano.util.parser.IParser
right and left trim
trim(CharSequence) - Method in class de.tsl2.nano.util.parser.SParser
right and left trim

U

unwrap(CharSequence) - Method in class de.tsl2.nano.util.operation.SOperator
 
unwrap(INPUT) - Method in interface de.tsl2.nano.util.parser.IParser
unwrap(INPUT) - Method in class de.tsl2.nano.util.parser.Parser
unwrap(CharSequence) - Method in class de.tsl2.nano.util.parser.SParser
 

W

wrap(CharSequence) - Method in class de.tsl2.nano.util.operation.SOperator
 
wrap(INPUT) - Method in interface de.tsl2.nano.util.parser.IParser
should be overridden if you need a transformation.
wrap(INPUT) - Method in class de.tsl2.nano.util.parser.Parser
should be overridden if you need a transformation.
wrap(CharSequence) - Method in class de.tsl2.nano.util.parser.SParser
 
A B C D E F G I K M N O P R S T U W 
Skip navigation links

Copyright © 2012–2022. All rights reserved.