code: @Nonnull
    public static <ELEMENTTYPE> Enumeration <ELEMENTTYPE> getEnumeration (@Nullable final Iterator <ELEMENTTYPE> aIter)
    {
      if (aIter == null)
        return new EmptyEnumeration <> ();
      return new EnumerationFromIterator <> (aIter);
    }
docs: Get an Enumeration object based on an Iterator object.
  
  @param <ELEMENTTYPE>
  the type of the elements in the container
  @param aIter
  iterator object to use
  @return an Enumeration object