Class PermissionMap

java.lang.Object
de.espirit.firstspirit.store.access.PermissionMap
All Implemented Interfaces:
Serializable, Iterable<Pair<Long,Integer>>

@NonExtendable public class PermissionMap extends Object implements Serializable, Iterable<Pair<Long,Integer>>
Permissions combined from defined and inherited permissions
Since:
5.2.250202
See Also:
  • Constructor Details

    • PermissionMap

      public PermissionMap()
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isEmpty

      public boolean isEmpty()
      Indicates if the map of permissions is empty
      Returns:
      true if the map is empty, false otherwise
      Since:
      5.2.250202
    • size

      public int size()
      Returns the size of the map
      Returns:
      the size
      Since:
      5.2.250202
    • clear

      @TestOnly public void clear()
      Removes all entries of the map
      Since:
      5.2.250202
    • iterator

      @NotNull public @NotNull Iterator<Pair<Long,Integer>> iterator()
      Specified by:
      iterator in interface Iterable<Pair<Long,Integer>>