Class AbstractObjectCollection<KType>

    • Constructor Detail

      • AbstractObjectCollection

        AbstractObjectCollection()
    • Method Detail

      • toArray

        public java.lang.Object[] toArray()
        Default implementation of copying to an array.
        Specified by:
        toArray in interface ObjectContainer<KType>
      • toArray

        public <T> T[] toArray​(java.lang.Class<T> componentClass)
        Description copied from interface: ObjectContainer
        Copies all elements of this container to a dynamically created array of the given component type.
        Specified by:
        toArray in interface ObjectContainer<KType>
      • toString

        public java.lang.String toString()
        Convert the contents of this container to a human-friendly string.
        Overrides:
        toString in class java.lang.Object
      • equals

        protected boolean equals​(java.lang.Object v1,
                                 java.lang.Object v2)