Back to project page bitcoin-wallet.
The source code is released under:
Copyright (C) 2011 by Caleb Anderson Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the ...
If you think the Android project bitcoin-wallet 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 net.dirtyfilthy.bitcoin.core; /*from ww w.j a va2 s .com*/ // this class is a total waste of time but java doesn't have a stinking Pair! public class OpData { private byte[] data; private int code; public OpData(int code, byte[] data) { this.code=code; this.data=data; } public int code(){ return this.code; } public byte[] data(){ return this.data; } public OpCode opCode(){ return OpCode.getByCode(this.code); } }