Documentation of 'gnu.trove.queue.TIntQueue' Java class
TIntQueue
gnu.trove.queue

Interface TIntQueue

  • All Superinterfaces:
    TIntCollection


    public interface TIntQueue
    extends TIntCollection
    Interface for Trove queue implementations.
    See Also:
    Queue
    • Method Detail

      • element

        int element()
        Retrieves and removes the head of this queue. This method differs from poll() only in that it throws an exception if this queue is empty.
      • offer

        boolean offer(int e)
        Inserts the specified element into this queue if it is possible to do so immediately without violating capacity restrictions. When using a capacity-restricted queue, this method is generally preferable to TIntCollection.add(int), which can fail to insert an element only by throwing an exception.
        Parameters:
        e - The element to add.
        Returns:
        true if the element was added to this queue, else false

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.