Serialized Form

  • Package manifold.util.concurrent

    • Class manifold.util.concurrent.ConcurrentWeakHashMap

      class ConcurrentWeakHashMap extends AbstractMap<K,V> implements Serializable
      serialVersionUID:
      7249069246763182397L
      • Serialization Methods

        • readObject
          private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
          Reconstitute the ConcurrentWeakHashMap instance from a stream (i.e., deserialize it).
          Parameters:
          s - the stream
          Throws:
          IOException
          ClassNotFoundException
        • writeObject
          private void writeObject(ObjectOutputStream s) throws IOException
          Save the state of the ConcurrentWeakHashMap instance to a stream (i.e., serialize it).
          Serial Data:
          the key (Object) and value (Object) for each key-value mapping, followed by a null pair. The key-value mappings are emitted in no particular order.
          Parameters:
          s - the stream
          Throws:
          IOException
      • Serialized Fields

        • segmentMask
          int segmentMask
          Mask value for indexing into segments. The upper bits of a key's hash code are used to choose the segment.
        • segments
          manifold.util.concurrent.ConcurrentWeakHashMap.Segment<K,V>[] segments
          The segments, each of which is a specialized hash table
        • segmentShift
          int segmentShift
          Shift value for indexing within segments.