class PrimitiveLongArrayQueue implements PrimitiveLongCollection {

    public long dequeue()
    {
        if ( isEmpty() )
        {
            throw new IllegalStateException( "Fail to poll first element. Queue is empty." );
        }
        long value = values[head];
        head = (head + 1) & (values.length - 1);
        return value;
    }

    public  PrimitiveLongArrayQueue();
      PrimitiveLongArrayQueue( int capacity );

}