Code example for SortedSet

Methods: first, size

0
dest.writeIntArray(marks);
        } 
 
        public boolean isValid() { 
            if (mMarks.size() == 1) {
                return mMarks.first() == mSolution;
            } 
            return false; 
        } 
 
        public SortedSet<Integer> getMarks() {
            return mMarks;
        } 
 
        public int getSolution() { 
            return mSolution;
        } 
 
        public boolean isLocked() { 
            return mLocked;