Wiki

Changes between Version 3 and Version 4 of PrimitiveTypeMembers

Show
Ignore:
Timestamp:
10/14/08 02:50:36 (16 years ago)
Author:
Chuck
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PrimitiveTypeMembers

    v3 v4  
    99{{{ 
    1010#!python 
     11 
    1112type bool 
    1213    shared 
    13         def parse as bool 
    14         def tryParse(result as out bool) as bool 
     14        def parse(value as String) as bool 
     15        def tryParse(value as String, result as out bool) as bool 
    1516    def compareTo(obj as Object) as int 
    1617    def compareTo(value as bool) as int 
     
    2425type char 
    2526    shared 
    26         def convertFromUtf32 as String 
    27         def convertToUtf32(index as int) as int 
    28         def getNumericValue(index as int) as float 
    29         def getUnicodeCategory(index as int) as UnicodeCategory 
    30         def isControl(index as int) as bool 
    31         def isDigit(index as int) as bool 
    32         def isHighSurrogate(index as int) as bool 
    33         def isLetter(index as int) as bool 
    34         def isLetterOrDigit(index as int) as bool 
    35         def isLower(index as int) as bool 
    36         def isLowSurrogate(index as int) as bool 
    37         def isNumber(index as int) as bool 
    38         def isPunctuation(index as int) as bool 
    39         def isSeparator(index as int) as bool 
    40         def isSurrogate(index as int) as bool 
    41         def isSurrogatePair(index as int) as bool 
    42         def isSymbol(index as int) as bool 
    43         def isUpper(index as int) as bool 
    44         def isWhiteSpace(index as int) as bool 
    45         def parse as char 
    46         def tryParse(result as out char) as bool 
     27        def convertFromUtf32(utf32 as int) as String 
     28        def convertToUtf32(s as String, index as int) as int 
     29        def getNumericValue(s as String, index as int) as float 
     30        def getUnicodeCategory(s as String, index as int) as UnicodeCategory 
     31        def isControl(s as String, index as int) as bool 
     32        def isDigit(s as String, index as int) as bool 
     33        def isHighSurrogate(s as String, index as int) as bool 
     34        def isLetter(s as String, index as int) as bool 
     35        def isLetterOrDigit(s as String, index as int) as bool 
     36        def isLower(s as String, index as int) as bool 
     37        def isLowSurrogate(s as String, index as int) as bool 
     38        def isNumber(s as String, index as int) as bool 
     39        def isPunctuation(s as String, index as int) as bool 
     40        def isSeparator(s as String, index as int) as bool 
     41        def isSurrogate(s as String, index as int) as bool 
     42        def isSurrogatePair(s as String, index as int) as bool 
     43        def isSymbol(s as String, index as int) as bool 
     44        def isUpper(s as String, index as int) as bool 
     45        def isWhiteSpace(s as String, index as int) as bool 
     46        def parse(s as String) as char 
     47        def tryParse(s as String, result as out char) as bool 
    4748    def compareTo(value as Object) as int 
    4849    def compareTo(value as char) as int 
     
    8182type decimal 
    8283    shared 
    83         def fromOACurrency as decimal 
    84         def parse(provider as IFormatProvider) as decimal 
    85         def parse(style as NumberStyles, provider as IFormatProvider) as decimal 
    86         def parse as decimal 
    87         def parse(style as NumberStyles) as decimal 
    88         def tryParse(style as NumberStyles, provider as IFormatProvider, result as out decimal) as bool 
    89         def tryParse(result as out decimal) as bool 
     84        def fromOACurrency(cy as int64) as decimal 
     85        def parse(s as String, provider as IFormatProvider) as decimal 
     86        def parse(s as String, style as NumberStyles, provider as IFormatProvider) as decimal 
     87        def parse(s as String) as decimal 
     88        def parse(s as String, style as NumberStyles) as decimal 
     89        def tryParse(s as String, style as NumberStyles, provider as IFormatProvider, result as out decimal) as bool 
     90        def tryParse(s as String, result as out decimal) as bool 
    9091    def abs as decimal 
    9192    def add(d2 as decimal) as decimal 
     
    139140type float 
    140141    shared 
    141         def parse(provider as IFormatProvider) as float 
    142         def parse(style as NumberStyles, provider as IFormatProvider) as float 
    143         def parse as float 
    144         def parse(style as NumberStyles) as float 
    145         def tryParse(style as NumberStyles, provider as IFormatProvider, result as out float) as bool 
    146         def tryParse(result as out float) as bool 
     142        def parse(s as String, provider as IFormatProvider) as float 
     143        def parse(s as String, style as NumberStyles, provider as IFormatProvider) as float 
     144        def parse(s as String) as float 
     145        def parse(s as String, style as NumberStyles) as float 
     146        def tryParse(s as String, style as NumberStyles, provider as IFormatProvider, result as out float) as bool 
     147        def tryParse(s as String, result as out float) as bool 
    147148    def abs as float 
    148149    def acos as float 
     
    190191type float32 
    191192    shared 
    192         def parse(provider as IFormatProvider) as float32 
    193         def parse(style as NumberStyles, provider as IFormatProvider) as float32 
    194         def parse as float32 
    195         def parse(style as NumberStyles) as float32 
    196         def tryParse(style as NumberStyles, provider as IFormatProvider, result as out float32) as bool 
    197         def tryParse(result as out float32) as bool 
     193        def parse(s as String, provider as IFormatProvider) as float32 
     194        def parse(s as String, style as NumberStyles, provider as IFormatProvider) as float32 
     195        def parse(s as String) as float32 
     196        def parse(s as String, style as NumberStyles) as float32 
     197        def tryParse(s as String, style as NumberStyles, provider as IFormatProvider, result as out float32) as bool 
     198        def tryParse(s as String, result as out float32) as bool 
    198199    def abs as float32 
    199200    def compareTo(value as float32) as int 
     
    217218type int8 
    218219    shared 
    219         def parse(provider as IFormatProvider) as int8 
    220         def parse(style as NumberStyles, provider as IFormatProvider) as int8 
    221         def parse as int8 
    222         def parse(style as NumberStyles) as int8 
    223         def tryParse(style as NumberStyles, provider as IFormatProvider, result as out int8) as bool 
    224         def tryParse(result as out int8) as bool 
     220        def parse(s as String, provider as IFormatProvider) as int8 
     221        def parse(s as String, style as NumberStyles, provider as IFormatProvider) as int8 
     222        def parse(s as String) as int8 
     223        def parse(s as String, style as NumberStyles) as int8 
     224        def tryParse(s as String, style as NumberStyles, provider as IFormatProvider, result as out int8) as bool 
     225        def tryParse(s as String, result as out int8) as bool 
    225226    def abs as int8 
    226227    def compareTo(obj as Object) as int 
     
    240241type int16 
    241242    shared 
    242         def parse(provider as IFormatProvider) as int16 
    243         def parse(style as NumberStyles, provider as IFormatProvider) as int16 
    244         def parse as int16 
    245         def parse(style as NumberStyles) as int16 
    246         def tryParse(style as NumberStyles, provider as IFormatProvider, result as out int16) as bool 
    247         def tryParse(result as out int16) as bool 
     243        def parse(s as String, provider as IFormatProvider) as int16 
     244        def parse(s as String, style as NumberStyles, provider as IFormatProvider) as int16 
     245        def parse(s as String) as int16 
     246        def parse(s as String, style as NumberStyles) as int16 
     247        def tryParse(s as String, style as NumberStyles, provider as IFormatProvider, result as out int16) as bool 
     248        def tryParse(s as String, result as out int16) as bool 
    248249    def abs as int16 
    249250    def compareTo(value as int16) as int 
     
    263264type int 
    264265    shared 
    265         def parse(provider as IFormatProvider) as int 
    266         def parse(style as NumberStyles, provider as IFormatProvider) as int 
    267         def parse as int 
    268         def parse(style as NumberStyles) as int 
    269         def tryParse(style as NumberStyles, provider as IFormatProvider, result as out int) as bool 
    270         def tryParse(result as out int) as bool 
     266        def parse(s as String, provider as IFormatProvider) as int 
     267        def parse(s as String, style as NumberStyles, provider as IFormatProvider) as int 
     268        def parse(s as String) as int 
     269        def parse(s as String, style as NumberStyles) as int 
     270        def tryParse(s as String, style as NumberStyles, provider as IFormatProvider, result as out int) as bool 
     271        def tryParse(s as String, result as out int) as bool 
    271272    def abs as int 
    272273    def bigMul(b as int) as int64 
     
    288289type int64 
    289290    shared 
    290         def parse(provider as IFormatProvider) as int64 
    291         def parse(style as NumberStyles, provider as IFormatProvider) as int64 
    292         def parse as int64 
    293         def parse(style as NumberStyles) as int64 
    294         def tryParse(style as NumberStyles, provider as IFormatProvider, result as out int64) as bool 
    295         def tryParse(result as out int64) as bool 
     291        def parse(s as String, provider as IFormatProvider) as int64 
     292        def parse(s as String, style as NumberStyles, provider as IFormatProvider) as int64 
     293        def parse(s as String) as int64 
     294        def parse(s as String, style as NumberStyles) as int64 
     295        def tryParse(s as String, style as NumberStyles, provider as IFormatProvider, result as out int64) as bool 
     296        def tryParse(s as String, result as out int64) as bool 
    296297    def abs as int64 
    297298    def compareTo(value as int64) as int 
     
    312313type uint8 
    313314    shared 
    314         def parse(provider as IFormatProvider) as uint8 
    315         def parse(style as NumberStyles, provider as IFormatProvider) as uint8 
    316         def parse as uint8 
    317         def parse(style as NumberStyles) as uint8 
    318         def tryParse(style as NumberStyles, provider as IFormatProvider, result as out uint8) as bool 
    319         def tryParse(result as out uint8) as bool 
     315        def parse(s as String, provider as IFormatProvider) as uint8 
     316        def parse(s as String, style as NumberStyles, provider as IFormatProvider) as uint8 
     317        def parse(s as String) as uint8 
     318        def parse(s as String, style as NumberStyles) as uint8 
     319        def tryParse(s as String, style as NumberStyles, provider as IFormatProvider, result as out uint8) as bool 
     320        def tryParse(s as String, result as out uint8) as bool 
    320321    def compareTo(value as uint8) as int 
    321322    def compareTo(value as Object) as int 
     
    333334type uint16 
    334335    shared 
    335         def parse(provider as IFormatProvider) as uint16 
    336         def parse(style as NumberStyles, provider as IFormatProvider) as uint16 
    337         def parse as uint16 
    338         def parse(style as NumberStyles) as uint16 
    339         def tryParse(style as NumberStyles, provider as IFormatProvider, result as out uint16) as bool 
    340         def tryParse(result as out uint16) as bool 
     336        def parse(s as String, provider as IFormatProvider) as uint16 
     337        def parse(s as String, style as NumberStyles, provider as IFormatProvider) as uint16 
     338        def parse(s as String) as uint16 
     339        def parse(s as String, style as NumberStyles) as uint16 
     340        def tryParse(s as String, style as NumberStyles, provider as IFormatProvider, result as out uint16) as bool 
     341        def tryParse(s as String, result as out uint16) as bool 
    341342    def compareTo(value as uint16) as int 
    342343    def compareTo(value as Object) as int 
     
    354355type uint 
    355356    shared 
    356         def parse(provider as IFormatProvider) as uint 
    357         def parse(style as NumberStyles, provider as IFormatProvider) as uint 
    358         def parse as uint 
    359         def parse(style as NumberStyles) as uint 
    360         def tryParse(style as NumberStyles, provider as IFormatProvider, result as out uint) as bool 
    361         def tryParse(result as out uint) as bool 
     357        def parse(s as String, provider as IFormatProvider) as uint 
     358        def parse(s as String, style as NumberStyles, provider as IFormatProvider) as uint 
     359        def parse(s as String) as uint 
     360        def parse(s as String, style as NumberStyles) as uint 
     361        def tryParse(s as String, style as NumberStyles, provider as IFormatProvider, result as out uint) as bool 
     362        def tryParse(s as String, result as out uint) as bool 
    362363    def compareTo(value as uint) as int 
    363364    def compareTo(value as Object) as int 
     
    375376type uint64 
    376377    shared 
    377         def parse(provider as IFormatProvider) as uint64 
    378         def parse(style as NumberStyles, provider as IFormatProvider) as uint64 
    379         def parse as uint64 
    380         def parse(style as NumberStyles) as uint64 
    381         def tryParse(style as NumberStyles, provider as IFormatProvider, result as out uint64) as bool 
    382         def tryParse(result as out uint64) as bool 
     378        def parse(s as String, provider as IFormatProvider) as uint64 
     379        def parse(s as String, style as NumberStyles, provider as IFormatProvider) as uint64 
     380        def parse(s as String) as uint64 
     381        def parse(s as String, style as NumberStyles) as uint64 
     382        def tryParse(s as String, style as NumberStyles, provider as IFormatProvider, result as out uint64) as bool 
     383        def tryParse(s as String, result as out uint64) as bool 
    383384    def compareTo(value as uint64) as int 
    384385    def compareTo(value as Object) as int