Back to project page RejsekortReader.
The source code is released under:
GNU General Public License
If you think the Android project RejsekortReader listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package info.rejsekort.reader.rkf.datatypes; //w w w . j a va 2 s .c o m import java.math.BigInteger; public class RKFInteger extends DataType { public int mInt; public RKFInteger(int bitlength, boolean reverse) { super(bitlength, reverse); } @Override void interpret() { BigInteger a = new BigInteger(mBits, 2); mInt = a.intValue(); } public String toString() { return "Int " + Integer.toString(mInt); } }