Class UserSet<T extends User>

Type Parameters:
T - User 인터페이스를 구현한 타입
All Implemented Interfaces:
Serializable, Iterable<T>, Collection<T>, Set<T>

public class UserSet<T extends User> extends SecuritySet<Long,T>
User 전용 SecuritySet 구현체. User 의 PK 타입은 Long 으로 고정되어 있으므로 K 제네릭을 Long 으로 지정한다.
See Also:
  • Constructor Details

    • UserSet

      public UserSet()
      Constructs an empty UserSet
    • UserSet

      public UserSet(Collection<? extends T> users)
      Constructs a new UserSet with specified contents.

      If the given collection contains multiple objects that have the same id or name, only the first one is added.

      Parameters:
      users - A collection of users to be contained in the set.
  • Method Details