Back to project page AndroSol.
The source code is released under:
MIT License
If you think the Android project AndroSol 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 lib.cards.models; // w ww .j a v a 2 s .c om public class CardStackId { public StackType stackType; public int index; @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + index; result = prime * result + ((stackType == null) ? 0 : stackType.hashCode()); return result; } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; CardStackId other = (CardStackId) obj; if (index != other.index) return false; if (stackType != other.stackType) return false; return true; } }