src/java.base/share/classes/java/util/LinkedHashSet.java
changeset 57956 e0b8b019d2f5
parent 49433 b6671a111395
equal deleted inserted replaced
57955:18863bf3501f 57956:e0b8b019d2f5
     1 /*
     1 /*
     2  * Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2000, 2019, 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
   117 
   117 
   118 public class LinkedHashSet<E>
   118 public class LinkedHashSet<E>
   119     extends HashSet<E>
   119     extends HashSet<E>
   120     implements Set<E>, Cloneable, java.io.Serializable {
   120     implements Set<E>, Cloneable, java.io.Serializable {
   121 
   121 
       
   122     @java.io.Serial
   122     private static final long serialVersionUID = -2851667679971038690L;
   123     private static final long serialVersionUID = -2851667679971038690L;
   123 
   124 
   124     /**
   125     /**
   125      * Constructs a new, empty linked hash set with the specified initial
   126      * Constructs a new, empty linked hash set with the specified initial
   126      * capacity and load factor.
   127      * capacity and load factor.