/[classpath]/classpath/java/util/AbstractList.java
ViewVC logotype

Diff of /classpath/java/util/AbstractList.java

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

revision 1.21.2.2 by tromey, Wed Nov 3 18:35:07 2004 UTC revision 1.21.2.3 by tromey, Wed Jan 12 01:12:48 2005 UTC
# Line 467  while (i.hasNext()) Line 467  while (i.hasNext())
467          knownMod = modCount;          knownMod = modCount;
468        }        }
469    
470        public void set(Object o)        public void set(E o)
471        {        {
472          checkMod();          checkMod();
473          if (lastReturned < 0)          if (lastReturned < 0)
# Line 475  while (i.hasNext()) Line 475  while (i.hasNext())
475          AbstractList.this.set(lastReturned, o);          AbstractList.this.set(lastReturned, o);
476        }        }
477    
478        public void add(Object o)        public void add(E o)
479        {        {
480          checkMod();          checkMod();
481          AbstractList.this.add(position++, o);          AbstractList.this.add(position++, o);

Legend:
Removed from v.1.21.2.2  
changed lines
  Added in v.1.21.2.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26