java - Android support for parseUnsignedLong?

I want to treat a value of type Long as unsigned long. I have read that in Java 8 they added methods to do things like that. But when I try to use the new methods like:

long values = Long.parseUnsignedLong("18446744073709551615");

Android Studio gives me an error message like this:

cannot resolve method parseUnsignedLong(java.lang.string)

Can I not use the Java 8 methods on an Android system?

What would be an alternative solution?

2 Answers

Leave a Reply

Your email address will not be published. Required fields are marked *

You can use these HTML tags and attributes <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>