src/java.base/share/classes/java/util/concurrent/ConcurrentSkipListMap.java
changeset 58657 6252605fb005
parent 55032 11d9cd8d99f3
equal deleted inserted replaced
58656:7322c48a84cf 58657:6252605fb005
   332      * The comparator used to maintain order in this map, or null if
   332      * The comparator used to maintain order in this map, or null if
   333      * using natural ordering.  (Non-private to simplify access in
   333      * using natural ordering.  (Non-private to simplify access in
   334      * nested classes.)
   334      * nested classes.)
   335      * @serial
   335      * @serial
   336      */
   336      */
       
   337     @SuppressWarnings("serial") // Conditionally serializable
   337     final Comparator<? super K> comparator;
   338     final Comparator<? super K> comparator;
   338 
   339 
   339     /** Lazily initialized topmost index of the skiplist. */
   340     /** Lazily initialized topmost index of the skiplist. */
   340     private transient Index<K,V> head;
   341     private transient Index<K,V> head;
   341     /** Lazily initialized element count */
   342     /** Lazily initialized element count */
  2373         private static final long serialVersionUID = -7647078645895051609L;
  2374         private static final long serialVersionUID = -7647078645895051609L;
  2374 
  2375 
  2375         /** Underlying map */
  2376         /** Underlying map */
  2376         final ConcurrentSkipListMap<K,V> m;
  2377         final ConcurrentSkipListMap<K,V> m;
  2377         /** lower bound key, or null if from start */
  2378         /** lower bound key, or null if from start */
       
  2379         @SuppressWarnings("serial") // Conditionally serializable
  2378         private final K lo;
  2380         private final K lo;
  2379         /** upper bound key, or null if to end */
  2381         /** upper bound key, or null if to end */
       
  2382         @SuppressWarnings("serial") // Conditionally serializable
  2380         private final K hi;
  2383         private final K hi;
  2381         /** inclusion flag for lo */
  2384         /** inclusion flag for lo */
  2382         private final boolean loInclusive;
  2385         private final boolean loInclusive;
  2383         /** inclusion flag for hi */
  2386         /** inclusion flag for hi */
  2384         private final boolean hiInclusive;
  2387         private final boolean hiInclusive;