jdk/src/share/classes/javax/swing/DefaultListModel.java
changeset 22574 7f8ce0c8c20a
parent 20458 f2423fb3fd19
child 25201 4adc75e0c4e5
equal deleted inserted replaced
22573:8f0344f13b7f 22574:7f8ce0c8c20a
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2004, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    50  *
    50  *
    51  * @param <E> the type of the elements of this model
    51  * @param <E> the type of the elements of this model
    52  *
    52  *
    53  * @author Hans Muller
    53  * @author Hans Muller
    54  */
    54  */
       
    55 @SuppressWarnings("serial") // Same-version serialization only
    55 public class DefaultListModel<E> extends AbstractListModel<E>
    56 public class DefaultListModel<E> extends AbstractListModel<E>
    56 {
    57 {
    57     private Vector<E> delegate = new Vector<E>();
    58     private Vector<E> delegate = new Vector<E>();
    58 
    59 
    59     /**
    60     /**