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

Diff of /classpath/java/util/LinkedList.java

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

revision 1.21 by brawer, Tue Apr 30 22:13:40 2002 UTC revision 1.22 by ericb, Tue May 7 05:13:05 2002 UTC
# Line 1  Line 1 
1  /* LinkedList.java -- Linked list implementation of the List interface  /* LinkedList.java -- Linked list implementation of the List interface
2     Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.     Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 130  public class LinkedList extends Abstract Line 130  public class LinkedList extends Abstract
130     * @param n the number of the entry to get     * @param n the number of the entry to get
131     * @return the entry at position n     * @return the entry at position n
132     */     */
133    private Entry getEntry(int n)    // Package visible for use in nested classes.
134      Entry getEntry(int n)
135    {    {
136      Entry e;      Entry e;
137      if (n < size / 2)      if (n < size / 2)
# Line 156  public class LinkedList extends Abstract Line 157  public class LinkedList extends Abstract
157     *     *
158     * @param e the entry to remove     * @param e the entry to remove
159     */     */
160    private void removeEntry(Entry e)    // Package visible for use in nested classes.
161      void removeEntry(Entry e)
162    {    {
163      modCount++;      modCount++;
164      size--;      size--;

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

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