Lines Matching refs:entries
34 * A group of roster entries.
43 private final List<RosterEntry> entries;
54 entries = new ArrayList<RosterEntry>();
67 * Sets the name of the group. Changing the group's name is like moving all the group entries
68 * of the group to a new group specified by the new name. Since this group won't have entries
75 synchronized (entries) {
76 for (RosterEntry entry : entries) {
89 * Returns the number of entries in the group.
91 * @return the number of entries in the group.
94 synchronized (entries) {
95 return entries.size();
100 * Returns an unmodifiable collection of all entries in the group.
102 * @return all entries in the group.
105 synchronized (entries) {
106 return Collections.unmodifiableList(new ArrayList<RosterEntry>(entries));
121 // Roster entries never include a resource so remove the resource
125 synchronized (entries) {
126 for (RosterEntry entry : entries) {
142 synchronized (entries) {
143 return entries.contains(entry);
169 synchronized (entries) {
170 if (!entries.contains(entry)) {
198 * entries.
211 synchronized (entries) {
212 if (entries.contains(entry)) {
239 synchronized (entries) {
240 entries.remove(entry);
241 entries.add(entry);
247 synchronized (entries) {
248 if (entries.contains(entry)) {
249 entries.remove(entry);