javaclass

Changeset

116:e35d4948ff82
2005-01-11 Paul Boddie raw files shortlog changelog graph Added commented-out special method for conversion of HashMap to dictionary.
java/util.py (file)
     1.1 --- a/java/util.py	Mon Jan 10 23:53:19 2005 +0100
     1.2 +++ b/java/util.py	Tue Jan 11 00:58:26 2005 +0100
     1.3 @@ -116,6 +116,11 @@
     1.4      def items(self):
     1.5          return self.d.items()
     1.6  
     1.7 +    # NOTE: Private interface for cases where the above methods are not enough.
     1.8 +
     1.9 +    # def as_dict(self):
    1.10 +        # return self.d
    1.11 +
    1.12  setattr(HashMap, "__init_____", HashMap.__init__)
    1.13  setattr(HashMap, "__init_____java__util__Map", HashMap.init_____java__util__Map)
    1.14