Class ArrayChimbo<T>

  • All Implemented Interfaces:
    IArrayChimbo<T>, java.io.Serializable, java.lang.Iterable<T>

    public class ArrayChimbo<T>
    extends java.lang.Object
    implements IArrayChimbo<T>
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ArrayChimbo()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void agregar​(T elemento)  
      T get​(int pos)  
      T getRandom()  
      int getSize()  
      java.util.Iterator<T> iterator()  
      T remove​(int pos)  
      java.lang.Object[] sort()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Constructor Detail

      • ArrayChimbo

        public ArrayChimbo()
    • Method Detail

      • get

        public T get​(int pos)
        Specified by:
        get in interface IArrayChimbo<T>
        Returns:
      • getSize

        public int getSize()
        Returns:
      • remove

        public T remove​(int pos)
        Specified by:
        remove in interface IArrayChimbo<T>
        Returns:
      • iterator

        public java.util.Iterator<T> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<T>
      • sort

        public java.lang.Object[] sort()
        Specified by:
        sort in interface IArrayChimbo<T>
        Returns: