Back to project page SpareDeck.
The source code is released under:
MIT License
If you think the Android project SpareDeck 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 com.hacsoft.sparedeck; /*w w w .j a va 2 s .c om*/ //class Deck //{ //// private final List<Card> m_cards; //// private final String m_name; //// private int m_thumbid; //// //// public Deck( String name, int thumb_drawable_id ) //// { //// this.m_name = name; //// this.m_cards = new ArrayList<Card>(); //// this.setThumbId( thumb_drawable_id ); //// } //// //// public void addCard( String name, int resource_id ) //// { //// this.m_cards.add( new Card( name, resource_id ) ); //// } //// //// public Card getCard( int index ) //// { //// return this.m_cards.get( index ); //// } //// //// public String getName() //// { //// return m_name; //// } //// //// public int count() //// { //// return this.m_cards.size(); //// } //// //// public int getThumbId() //// { //// return m_thumbid; //// } //// //// public void setThumbId( int m_thumbid ) //// { //// this.m_thumbid = m_thumbid; //// } //}