Directory cdx/scorebot/util/translator/

Directory Created:
2007-02-18 19:54
Total Files:
Deleted Files:
Lines of Code:


Lines of Code

cdx/scorebot/util/translator/ Lines of Code


Author Changes Lines of Code Lines per Change
dound 27 (100.0%) 965 (100.0%) 35.7

Most Recent Commits

dound 2007-04-07 23:17

Fixed/removed checks for null pointers after having previously dereferenced the object.

4 lines of code changed in:

  • cdx/scorebot/util/translator: (+4 -3)
dound 2007-03-31 17:34

Stores a value as a Integer and can translate to and from an String. The String may specify the unit of time using its last character. That String is resulting from the translation from an Integer will be in the base unit. The String may be specified as a Double, though any fraction of a second will be rounded to the nearest integer value.

88 lines of code changed in:

  • cdx/scorebot/util/translator: (new 88)
dound 2007-02-28 23:14

Spaces are now replaced with underscores as intended.

3 lines of code changed in:

  • cdx/scorebot/util/translator: (+3 -3)
dound 2007-02-28 01:06

Provides validation/translation between a String which is a valid identifier and an arbitrary String.

63 lines of code changed in:

  • cdx/scorebot/util/translator: (new 63)
dound 2007-02-28 01:05

Now tracks the last exception which occurred when calling the canTranslate1/2 methods -- this is retrieved by those interested in what the exception was after the method returns false.

12 lines of code changed in:

  • cdx/scorebot/util/translator: (+12 -2)
dound 2007-02-23 21:29

This class allows the user to specify multiple translators and this translator will choose which one to use based on what value it is actually given. Useful for when a mix of Object types are contained in a list, etc.

89 lines of code changed in:

  • cdx/scorebot/util/translator: (new 89)
dound 2007-02-23 21:28

no message

2 lines of code changed in:

  • cdx/scorebot/util/translator: (+2 -4)
dound 2007-02-23 20:48

If the type T isn't known and Object is used, the type will need to be ascertained when something is actually translated -- so type is now updated whenever translate1 is called. If translate2 is called before translate1, the constructor will not be found because Object itself will be searched for a string constructor which it does not have.

11 lines of code changed in:

  • cdx/scorebot/util/translator: (+11 -3)
dound 2007-02-23 20:41

Changed the name of TranslatorObjectString to clarify its use. Add TranslatorInsanceString to translate between an Object and a string using a string constructor.

230 lines of code changed in:

  • cdx/scorebot/util/translator: (new 97), (new 133), (del)
dound 2007-02-20 19:57

Can now take one, two, or a list of objects to pass as parameters to the appropriate constructor vice always having to use the default constructor.

71 lines of code changed in:

  • cdx/scorebot/util/translator: (+71 -5)
dound 2007-02-20 17:51

This new translator translates a String representation of an Object (package.class) and the Object itself (created from the default constructor for that Object).

5 lines of code changed in:

  • cdx/scorebot/util/translator: (new 5)
dound 2007-02-20 08:13

Updated translators so they return null vice die when they are given a null pointer to convert. Also added some a new "self-translator" which is a placeholder class which simply returns the values that are passed in.

61 lines of code changed in:

  • cdx/scorebot/util/translator: (new 55), (changed), (+2 -8), (+2 -8), (+2 -8), (del), (-17)
dound 2007-02-18 19:54

Fixed ConfingOption design flaw so it now allows its values to be set and retrieved from their string representations. Translators now do the translation.

326 lines of code changed in:

  • cdx/scorebot/util/translator: (new 28), (new 64), (new 64), (new 64), (new), (new 103), package.html (new 3)
Generated by StatCVS 0.3