Tools class

Class Tools is instantiated as: tl Very handy, you gonna like it!

Constructors

Tools()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strLin String
some class tests.. for #teamNext use
getter/setter pair
toolsActive Map<String, bool>
getter/setter pair
toolsSpeed Map<num, String>
sample map
getter/setter pair

Methods

boxInList(int _r, int _c, dynamic _asked, dynamic _w, List<String> boxL, List<String> masterL) → dynamic
box_serve aBox(int _r, _c, _items, _w, List __l) calls this Fill list-box-data in big matrix List, in r, _c coordinates. change to bool!
bufToList(StringBuffer buf) List<String>
QUEST: can this be done in one row? Return iterable List from StringBuffer.
changeLetter(String inS, int pos, String newS) String
:QUEST: ?? Make it better with regExp? Change letter/s in a String
countInnerList(List<List<String>> _l) int
Counts items in inner list
countInnerMap(List<Map<String, String>> _l) int
Counts items in inner list
isNumber(String _s) bool
QUEST: sure you can do better? is it number?
listListIntToListString(List<List<int>> inL) List<String>
listShow(List _l, String caller) → void
Method for informative list-printing.
listShowNeat(List _l, String _lName, String caller) → void
Method for informative list-printing.
listToString(List<String> _l) String
Return String from List of Strings.
longestItemInList(List<String> _l) int
Longest item in List
map_SI_toMapSS(Map<String, int> thisMap) Map<String, String>
Return list
mapToFineList(Map<String, String> thisMap, int _kl, dynamic _vl) List<String>
Return list
mapToList(Map<String, String> thisMap) List<String>
Return list
mapToListB(Map<String, bool> thisMap) List<String>
Return list
mapToListI(Map<String, int> thisMap) List<String>
Return list
mapToListO(Map<String, Object> thisMap) List<String>
DO9: Trying to handle String, Mission with this for connector Is #Object enough? Return list
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
operationMapPrint(Map thisMap) → void
howTo Map print a map.
padListRL(List<String> _l, int _w, String _leS, dynamic _raS) → void
Add padLeft & padRight Strings to make this more useful. Pad List right and left with: _leS, _raS and make all even length
printClass(dynamic thisClass, String str1, String str2, String str3) → void
To print class, that is commonly used in dawo
printN(num n) → void
printNS(num n, String str2) → void
printSS(String str, String str2) → void
some functions for to print two values
printStringMapMap(Map<String, Map<String, String>> _map) → void
print Map<String, Map<String, String>> map nicely
printStringMapMapFail(Map<String, Map<String, String>> _map) → void
DO:FAIL did it go right? No. print Map<String, Map<String, String>> map nicely
rowFromMap(Map<String, String> thisMap, int kw, dynamic vw) String
Return String from map<String, String>. parameters: Key_width: kw, Value_width vw
shortenItemsInList(List<String> _l, int _w) → void
shortMapPrint(Map thisMap) → void
Just to print map in one row.
sleepMS(int waitingTime, [bool infoB = false]) → void
Sleep method with time and optional infoB boolean for info-printing. the parameter infoB can't cant have a value 'null' because of its tye, but implicit default value = null try adding explicit non-null default value or the 'required' modifier OK Done void sleepMS(int waitingTime, bool infoB) { callers: No usages found :BUG: dart doc warning: unresolved doc reference bool infoB
sleepSimple(int waitingTime) → void
Small sleep-methods, to get time, to see, what is happening in tests.
stampDateTime() String
DateTime
stampDateTimePlain() String
Look at the comments in previous function. Output like: 2017-12-23 08:47:27
StrInList(List<String> _l, String _s) List<String>
Return List of items, where #String exist. from dawo-tools.
strMark(String mark, int l) String
Long line with same mark.
strToList(String str, int count) List<String>
Making for example vertical lines for box
toString() String
A string representation of this object.
inherited
valuesInStr(List<Map<String, String>> _inlM, String _inS1, dynamic _inS2) List<List<int>>
Copied schema from shower.dart highValue List. Demand number 0-9 to be in formats: X:N, T:7 U:5 aso. Find 2 int in Strings like: V:3 E:7 > 3, 7 Map value: 'January x-plan is for V:3 and that demands E:7 to complete.'

Operators

operator ==(Object other) bool
The equality operator.
inherited