blob: 8073e1c613e780672bd4febb22fd42b9abaaccf0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
package org.wordpress.android.models;
import java.util.HashSet;
public class ReaderUserIdList extends HashSet<Long> {
/*
* returns true if passed list contains the same userIds as this list
*/
public boolean isSameList(ReaderUserIdList compareIds) {
if (compareIds==null || compareIds.size()!=this.size())
return false;
return this.containsAll(compareIds);
}
}
|