You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use the org.apache.commons.collections.map.LRUMap class in http://commons.apache.org/collections/. I need to override the "removeLRU" method there, which was made exactly for the purpose of overriding.
(see [http://commons.apache.org/collections/api-release/org/apache/commons/collections/map/LRUMap.html#removeLRU(org.apache.commons.collections.map.AbstractLinkedMap.LinkEntry) removeLRU])
with Scala (Eclipse Plugin) 2.7.3.final I get the following error:
"class LinkEntry cannot be accessed in object org.apache.commons.collections.map.AbstractLinkedMap"
I'm trying to use the org.apache.commons.collections.map.LRUMap class in http://commons.apache.org/collections/. I need to override the "removeLRU" method there, which was made exactly for the purpose of overriding.
(see [http://commons.apache.org/collections/api-release/org/apache/commons/collections/map/LRUMap.html#removeLRU(org.apache.commons.collections.map.AbstractLinkedMap.LinkEntry) removeLRU])
Compiling the following program
with Scala (Eclipse Plugin) 2.7.3.final I get the following error:
"class LinkEntry cannot be accessed in object org.apache.commons.collections.map.AbstractLinkedMap"
The identical Java program compiles okay:
The text was updated successfully, but these errors were encountered: