Documentation of 'org.hsqldb.lib.LongDeque' Java class
LongDeque
org.hsqldb.lib

Class LongDeque



  • public class LongDeque
    extends java.lang.Object
    A deque of long value. Implementation based on HsqlDeque class.
    Since:
    1.9.0
    • Constructor Detail

      • LongDeque

        public LongDeque()
    • Method Detail

      • size

        public int size()
      • isEmpty

        public boolean isEmpty()
      • getFirst

        public long getFirst()
                      throws java.util.NoSuchElementException
        Throws:
        java.util.NoSuchElementException
      • getLast

        public long getLast()
                     throws java.util.NoSuchElementException
        Throws:
        java.util.NoSuchElementException
      • get

        public long get(int i)
                 throws java.lang.IndexOutOfBoundsException
        Throws:
        java.lang.IndexOutOfBoundsException
      • removeFirst

        public long removeFirst()
                         throws java.util.NoSuchElementException
        Throws:
        java.util.NoSuchElementException
      • removeLast

        public long removeLast()
                        throws java.util.NoSuchElementException
        Throws:
        java.util.NoSuchElementException
      • add

        public boolean add(long value)
      • addLast

        public boolean addLast(long value)
      • addFirst

        public boolean addFirst(long value)
      • addAll

        public int addAll(LongDeque deque)
      • clear

        public void clear()
      • zeroSize

        public void zeroSize()
      • indexOf

        public int indexOf(long value)
      • remove

        public long remove(int index)
      • contains

        public boolean contains(long value)
      • toArray

        public void toArray(int[] array)
      • toArray

        public void toArray(long[] array)

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.