JCML - Java Card Modeling Language: Definição e ... - Ifrn
JCML - Java Card Modeling Language: Definição e ... - Ifrn
JCML - Java Card Modeling Language: Definição e ... - Ifrn
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
CAPÍTULO 4. APLICABILIDADE DE JML A JAVA CARD 6501 import javacard.framework.*;02 public class Wallet extends Applet {0304 final static byte CREDIT = (byte) 0x30;05 final static byte DEBIT = (byte) 0x40;06 final static byte GET_BALANCE = (byte) 0x50;0708 final static short MAX_BALANCE = 0x7FFF;09 short balance;1011 /*@ invariant balance >= 0 &&12 balance