jdk/src/share/classes/javax/swing/text/html/Map.java
changeset 23697 e556a715949f
parent 5506 202f599c92aa
equal deleted inserted replaced
23696:7deff68428ef 23697:e556a715949f
     1 /*
     1 /*
     2  * Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1998, 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
    35  * Once a Map has been created, and any number of areas have been added,
    35  * Once a Map has been created, and any number of areas have been added,
    36  * you can test if a point falls inside the map via the contains method.
    36  * you can test if a point falls inside the map via the contains method.
    37  *
    37  *
    38  * @author  Scott Violet
    38  * @author  Scott Violet
    39  */
    39  */
       
    40 @SuppressWarnings("serial") // Same-version serialization only
    40 class Map implements Serializable {
    41 class Map implements Serializable {
    41     /** Name of the Map. */
    42     /** Name of the Map. */
    42     private String           name;
    43     private String           name;
    43     /** An array of AttributeSets. */
    44     /** An array of AttributeSets. */
    44     private Vector<AttributeSet>           areaAttributes;
    45     private Vector<AttributeSet>           areaAttributes;