home
 
 index of namespace default
 
 index of project core
 
 index of module core

Class core.HashTable


SynopsisA dictionary that maps Strings to arbitrary values.

  Methods:
Method addFloat
Signature
addFloat(Stringkey,
  floatf 
  )  
 :int
Arguments
Stringkey
floatf
Returns
int

 
 top of page
Method addInt
Signature
addInt(Stringkey,
  inti 
  )  
 :int
Arguments
Stringkey
inti
Returns
int

 
 top of page
Method addObject
Signature
addObject(Stringkey,
  Objecto 
  )  
 :int
Arguments
Stringkey
Objecto
Returns
int

 
 top of page
Method addObjectRef
Signature
addObjectRef(Stringkey,
  Valuev 
  )  
 :int
Arguments
Stringkey
Valuev
Returns
int

 
 top of page
Method addString
Signature
addString(Stringkey,
  Strings 
  )  
 :int
Arguments
Stringkey
Strings
Returns
int

 
 top of page
Method alloc
Signature
alloc(intcacheSize)
 :boolean
Arguments
intcacheSize
Returns
boolean
See also:  


 
 top of page
Method delete
Signature
delete(Stringkey)
Arguments
Stringkey

 
 top of page
Method exists
Signature
exists(Stringkey)
 :boolean
Arguments
Stringkey
Returns
boolean

 
 top of page
Method free
Signature
free()
See also:  


 
 top of page
Method get
Signature
get(Stringkey)
 :var
Arguments
Stringkey
Returns
var

 
 top of page
Method getDeref
Signature
getDeref(Stringkey)
 :var
Arguments
Stringkey
Returns
var

 
 top of page
Method getMaxElements
Signature
getMaxElements():int
Returns
int

 
 top of page
Method getNumElements
Signature
getNumElements():int
Returns
int

 
 top of page
Method getReparsableString
Prepare keys and string values so they can be reparsed.
Signature
getReparsableString():String
Returns
String
Description

Mostly usuable for generating script source code.

 
 top of page
Method getString
Signature
getString():String
Returns
String

 
 top of page
Method keyToArray
Signature
keyToArray(Objectarray)
 :int
Arguments
Objectarray
Returns
int

 
 top of page
Method replaceKey
Signature
replaceKey(StringoldKey,
  StringnewKey 
  )  
 :boolean
Arguments
StringoldKey
StringnewKey
Returns
booleantrue if key has been replaced

 
 top of page
Method set
Signature
set(Stringkey,
  Objectvalue 
  )  
Arguments
Stringkey
Objectvalue

 
 top of page
Method setCopy
Signature
setCopy(Stringkey,
  Objecto 
  )  
Arguments
Stringkey
Objecto

 
 top of page
Method setFloat
Signature
setFloat(Stringkey,
  floatf 
  )  
Arguments
Stringkey
floatf

 
 top of page
Method setInt
Signature
setInt(Stringkey,
  inti 
  )  
Arguments
Stringkey
inti

 
 top of page
Method setObject
Signature
setObject(Stringkey,
  Objectvalue 
  )  
Arguments
Stringkey
Objectvalue

 
 top of page
Method setString
Signature
setString(Stringkey,
  Strings 
  )  
Arguments
Stringkey
Strings

 
 top of page
Method valuesToArray
Signature
valuesToArray(Objectarray)
 :int
Arguments
Objectarray
Returns
int

 
 top of page
 

Project Modules:core 
Project Classes:Boolean , Buffer , Byte , Class , ClassArray , Condition , Configuration , Double , DummyStream , Envelope , Event , Exception , File , Float , FloatArray , FloatArray128 , FloatArray16 , FloatArray32 , FloatArray64 , FloatArray8 , Function , HashTable , IntArray , IntArray128 , IntArray16 , IntArray32 , IntArray64 , IntArray8 , Integer , List , ListNode , Long , Mailbox , Mutex , Object , ObjectArray , PakFile , PointerArray , Pool , Script , SharedBuffer , Short , Stack , StdErrStream , StdInStream , StdOutStream , Stream , String , String128 , String16 , String32 , String64 , String8 , StringArray , StringIterator , Thread , Time , TKS , TreeNode , UnsignedByte , UnsignedInteger , UnsignedLong , UnsignedShort , Value , ValueArray , Variable 
Project Functions:ceil , exit , floor , GetCurrentThread , getenv , lcchar , mathAbsMaxf , mathAbsMinf , mathAbsMini , mathAbsMini , mathClampf , mathClampi , mathDistancePointPlane2d , mathLerpf , mathMaxf , mathMaxi , mathMinf , mathMini , mathPowerf , mathPoweri , mathSmoothStepf , mathWrapf , mathWrapi , milliSeconds , psystem , putenv , srand , system , ucchar 
All Namespaces:default , ui 
All Projects:core , debugtext , tkfreetype2 , tkmath , tkmidi , tkopengl , tkportaudio , tksdl , tkui , tkunit 


auto-generated by "DOG", the TkScript document generator. Mon, 28/Dec/2015 13:15:54