ArrayIntList(java)
<blockquote>
  <p>Write a method isPairwiseSorted that returns whether or not a list of integers is pairwise sorted (true if it is, false otherwise). A list is considered pairwise sorted if each successive pair of numbers is in sorted (non-decreasing) order.</p>
</blockquote>

<p>I wrote the following method but it always return true. Need some help here please.</p>

<pre><code>public boolean isPairwiseSorted() {
    boolean isFalse=false;
    for(int i = 0; i &lt; size; i+=2){
        if( elementData[i] &lt; elementData[i+1] || size == 0 || size == 1){
            return true;
        }
    }
    return isFalse;
}
</code></pre>
