A question: adding setters and getters in ItemPoolView class
Hello,
What is the reason that in revision 11666 jendave has added setters and getters in ItemPoolView class to fields that are not supposed to be public?
What is the reason that in revision 11666 jendave has added setters and getters in ItemPoolView class to fields that are not supposed to be public?
- Code: Select all
/**
* @return the cards
*/
public Map<T, Integer> getCards() {
return cards;
}
/**
* @param cards the cards to set
*/
public void setCards(Map<T, Integer> cards) {
this.cards = cards; // TODO: Add 0 to parameter's name.
}
/**
* @return the myClass
*/
public Class<T> getMyClass() {
return myClass;
}
/**
* @return the isListInSync
*/
public boolean isListInSync() {
return isListInSync;
}
/**
* @param isListInSync the isListInSync to set
*/
public void setListInSync(boolean isListInSync) {
this.isListInSync = isListInSync; // TODO: Add 0 to parameter's name.
}