Class VectorExtensions


  • public class VectorExtensions
    extends java.lang.Object
    The extensions VectorExtensions class can be used with Vector objects.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> java.util.Vector<T> toVector​(java.util.Enumeration<T> enumaration)
      Converts the given enumaration to a Vector.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VectorExtensions

        public VectorExtensions()
    • Method Detail

      • toVector

        public static <T> java.util.Vector<T> toVector​(java.util.Enumeration<T> enumaration)
        Converts the given enumaration to a Vector.
        Type Parameters:
        T - the generic type
        Parameters:
        enumaration - The Enumeration to convert.
        Returns:
        A new Vector with the content of the given Enumeration.