Class SimpleIntDeque

java.lang.Object
com.graphhopper.util.SimpleIntDeque

public class SimpleIntDeque extends Object
push to end, pop from beginning

Author:
Peter Karich
  • Constructor Details

    • SimpleIntDeque

      public SimpleIntDeque()
    • SimpleIntDeque

      public SimpleIntDeque(int initSize)
    • SimpleIntDeque

      public SimpleIntDeque(int initSize, float growFactor)
  • Method Details

    • setGrowFactor

      public void setGrowFactor(float factor)
    • isEmpty

      public boolean isEmpty()
    • pop

      public int pop()
    • getSize

      public int getSize()
    • push

      public void push(int v)
    • toString

      public String toString()
      Overrides:
      toString in class Object