Can it be used without java.util.ArrayDeque? (older Android versions miss it)

57 views
Skip to first unread message

Lyuben Penkovski

unread,
Nov 17, 2013, 1:06:34 PM11/17/13
to jso...@googlegroups.com
Hi, 

I would like to congratulate you for the really good and tiny library! It's great and works very well with deep object serialization.

However I have e problem with the ArrayDeque class and the String.isEmpty() method. 

Both java.util.ArrayDeque class and the String.isEmpty() method are not available on Android versions below 2.3. Currently I need to support 2.2 (Froyo).

Do you think it's possible to replace the ArrayDeque class with something else and what is the best class to use?

Thank you very much and have a good day!
Lyuben

John DeRegnaucourt

unread,
Nov 17, 2013, 1:33:38 PM11/17/13
to jso...@googlegroups.com
Replace it with a LinkedList and you should be fine


--
You received this message because you are subscribed to the Google Groups "json-io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to json-io+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages