Class VectorComplexDouble

  • All Implemented Interfaces:
    java.lang.Iterable<complexd>, java.util.Collection<complexd>, java.util.List<complexd>, java.util.RandomAccess

    public class VectorComplexDouble
    extends java.util.AbstractList<complexd>
    implements java.util.RandomAccess
    • Constructor Detail

      • VectorComplexDouble

        public VectorComplexDouble​(long cPtr,
                                   boolean cMemoryOwn)
      • VectorComplexDouble

        public VectorComplexDouble​(complexd[] initialElements)
      • VectorComplexDouble

        public VectorComplexDouble​(java.lang.Iterable<complexd> initialElements)
      • VectorComplexDouble

        public VectorComplexDouble()
      • VectorComplexDouble

        public VectorComplexDouble​(int count,
                                   complexd value)
    • Method Detail

      • delete

        public void delete()
      • get

        public complexd get​(int index)
        Specified by:
        get in interface java.util.List<complexd>
        Specified by:
        get in class java.util.AbstractList<complexd>
      • set

        public complexd set​(int index,
                            complexd e)
        Specified by:
        set in interface java.util.List<complexd>
        Overrides:
        set in class java.util.AbstractList<complexd>
      • add

        public boolean add​(complexd e)
        Specified by:
        add in interface java.util.Collection<complexd>
        Specified by:
        add in interface java.util.List<complexd>
        Overrides:
        add in class java.util.AbstractList<complexd>
      • add

        public void add​(int index,
                        complexd e)
        Specified by:
        add in interface java.util.List<complexd>
        Overrides:
        add in class java.util.AbstractList<complexd>
      • remove

        public complexd remove​(int index)
        Specified by:
        remove in interface java.util.List<complexd>
        Overrides:
        remove in class java.util.AbstractList<complexd>
      • size

        public int size()
        Specified by:
        size in interface java.util.Collection<complexd>
        Specified by:
        size in interface java.util.List<complexd>
        Specified by:
        size in class java.util.AbstractCollection<complexd>
      • capacity

        public long capacity()
      • reserve

        public void reserve​(long n)
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface java.util.Collection<complexd>
        Specified by:
        isEmpty in interface java.util.List<complexd>
        Overrides:
        isEmpty in class java.util.AbstractCollection<complexd>
      • clear

        public void clear()
        Specified by:
        clear in interface java.util.Collection<complexd>
        Specified by:
        clear in interface java.util.List<complexd>
        Overrides:
        clear in class java.util.AbstractList<complexd>