Пример #1
0
 /** @return A non-<code>null</code> but maybe empty set with all currently logged in user IDs. */
 @Nonnull
 @ReturnsMutableCopy
 public Set<String> getAllLoggedInUserIDs() {
   m_aRWLock.readLock().lock();
   try {
     return CollectionHelper.newSet(m_aLoggedInUsers.keySet());
   } finally {
     m_aRWLock.readLock().unlock();
   }
 }
 @Nonnull
 @ReturnsMutableCopy
 public Set<KEYTYPE> getAllAttributeNames() {
   return CollectionHelper.newSet(m_aAttrs.keySet());
 }