Class PrincipalIteratorAdapter

    • Constructor Detail

      • PrincipalIteratorAdapter

        public PrincipalIteratorAdapter​(Iterator<? extends Principal> iterator)
        Creates an adapter for the given Iterator of principals.
        Parameters:
        iterator - iterator of Principals
      • PrincipalIteratorAdapter

        public PrincipalIteratorAdapter​(Collection<? extends Principal> collection)
        Creates an iterator for the given collection of Principals.
        Parameters:
        collection - collection of Principal objects.