View Single Post
Old 02-06-2015, 10:20 AM   #1
nubble
Junior Member
nubble has learned how to read e-booksnubble has learned how to read e-booksnubble has learned how to read e-booksnubble has learned how to read e-booksnubble has learned how to read e-booksnubble has learned how to read e-booksnubble has learned how to read e-booksnubble has learned how to read e-books
 
Posts: 8
Karma: 962
Join Date: Dec 2012
Device: Kindle paperwhite, Kobo Mini
ConcurrentHashMap

Hi,
In an earlier post [https://www.mobileread.com/forums/sho...eventlistener] I outlined that I ma using a nmea library in my kindle PW.

After fixing the build issues in the earlier post, I discovered that the kindle doesnt like:
Code:
private static final Logger LOGGER = Logger.getLogger(SentenceReader.class.getName());
and this:
Code:
private ConcurrentMap<String, List<SentenceListener>> listeners = new ConcurrentHashMap<String, List<SentenceListener>>();
For the logger fix I shamelessly used ixtabs logger class.
however for the ConcurrentHashMap I am not sure what to use instead and was hoping for some advice here.

The project builds fine but the kindlet gets stuck/ freezes at this method.

thanks
Nubble
nubble is offline   Reply With Quote