[cvs] / jsr166 / src / main / java / util / Vector.java Repository:
ViewVC logotype

Diff of /jsr166/src/main/java/util/Vector.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4, Mon Nov 28 03:28:25 2005 UTC revision 1.5, Mon Nov 28 23:53:32 2005 UTC
# Line 1088  Line 1088 
1088          public boolean hasNext() {          public boolean hasNext() {
1089              // Racy but within spec, since modifications are checked              // Racy but within spec, since modifications are checked
1090              // within or after synchronization in next/previous              // within or after synchronization in next/previous
1091              return cursor < Vector.this.elementCount;              return cursor != elementCount;
1092          }          }
1093    
1094          public boolean hasPrevious() {          public boolean hasPrevious() {
1095              return cursor > 0;              return cursor != 0;
1096          }          }
1097    
1098          public int nextIndex() {          public int nextIndex() {

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8