diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-01-06 08:31:13 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-01-06 08:31:13 +0000 |
| commit | b69c8f7c8e2c16aade681ceaae046456a5ef2a85 (patch) | |
| tree | 6737fa9da75bc4dc5cd9cf620ac6b8f686aebae6 /src/main/resources/python/runtime/java | |
| parent | e4229671c4cf6db860fc6cf68bcfb8fdd69fdcb8 (diff) | |
Partially implement method overloading
Diffstat (limited to 'src/main/resources/python/runtime/java')
| -rw-r--r-- | src/main/resources/python/runtime/java/lang/Integer.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/resources/python/runtime/java/lang/Integer.py b/src/main/resources/python/runtime/java/lang/Integer.py index 8ea30a4..0cf55af 100644 --- a/src/main/resources/python/runtime/java/lang/Integer.py +++ b/src/main/resources/python/runtime/java/lang/Integer.py @@ -1,12 +1,12 @@ class Integer(object): @staticmethod - def parseInt(value): + def parseInt_1(value): return int(value) def __init__(self, value): self._value = value - def equals(self, other): + def equals_1(self, other): # TODO: test this properly return isinstance(other, Integer) and other._value == self._value |
