algorithmfoundry / Foundry

The Cognitive Foundry is an open-source Java library for building intelligent systems using machine learning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Protected class AbstractMutableDoubleMap.SimpleEntrySet is exposed through AbstractMutableDoubleMap#entrySet()

Zero3 opened this issue · comments

The AbstractMutableDoubleMap.SimpleEntrySet class is protected, but exposed through the public AbstractMutableDoubleMap#entrySet() method. This is a problem, because you can't look at the SimpleEntrySet object returned by the entrySet() method from "public" when you do not have "public" access to the SimpleEntrySet class.

Yeah, good catch. That return type should be changed to an interface.