Hrmm...this is bizarre - I'm getting the same errors when I just create a new HashMap(). Those methods are all accounted for but for some reason the interface is expecting them to be in a different namespace than public...and on top of that the internal classes below (grumble grumble) are also in the wrong namespace for their respective interface.

This is extremely screwy - I'm not sure why using this in a linked class would affect anything but I suggest you use a different data structure for now. I'm not sure what your needs are but you could probably use an object or a Dictionary for similar results.

Anyone else have any insights on this? Here's a paraphrase:

PHP Code:
//  error
1044: Interface method get size in namespace de.polygonal.ds:Collection not implemented by class de.polygonal.ds:HashMap
PHP Code:
public interface Collection{
    
// ...
            
function get size():int;
    
// ...

PHP Code:
public class HashMap implements Collection{
    
// ...
    
public function get size():int{
        return 
_size;
    }
    
// ...