From 780b92ada9afcf1d58085a83a0b9e6bc982203d1 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 17 Feb 2015 17:25:57 +0000 Subject: Imported from /home/lorry/working-area/delta_berkeleydb/db-6.1.23.tar.gz. --- .../sleepycat/collections/MapEntryParameter.html | 753 ++++++++++----------- 1 file changed, 372 insertions(+), 381 deletions(-) (limited to 'docs/java/com/sleepycat/collections/MapEntryParameter.html') diff --git a/docs/java/com/sleepycat/collections/MapEntryParameter.html b/docs/java/com/sleepycat/collections/MapEntryParameter.html index 7d76c64f..5b690b06 100644 --- a/docs/java/com/sleepycat/collections/MapEntryParameter.html +++ b/docs/java/com/sleepycat/collections/MapEntryParameter.html @@ -1,113 +1,113 @@ - - - - - -MapEntryParameter (Oracle - Berkeley DB Java API) - - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-

- -com.sleepycat.collections -
-Class MapEntryParameter<K,V>

-
-java.lang.Object
-  extended by com.sleepycat.collections.MapEntryParameter<K,V>
-
-
-
All Implemented Interfaces:
Map.Entry<K,V>
-
-
-
-
public class MapEntryParameter<K,V>
extends Object
implements Map.Entry<K,V>
- - -

-A simple Map.Entry implementation that can be used as in +

+
com.sleepycat.collections
+

Class MapEntryParameter<K,V>

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.util.Map.Entry<K,V>
    +
    +
    +
    +
    public class MapEntryParameter<K,V>
    +extends java.lang.Object
    +implements java.util.Map.Entry<K,V>
    +
    A simple Map.Entry implementation that can be used as in input parameter. Since a MapEntryParameter is not obtained from a map, it is not attached to any map in particular. To emphasize that - changing this object does not change the map, the setValue(V) method + changing this object does not change the map, the setValue(V) method always throws UnsupportedOperationException.

    Warning: Use of this interface violates the Java Collections @@ -115,296 +115,287 @@ A simple Map.Entry implementation that can be used as in should only be obtained from Map.entrySet() sets, while this class allows constructing them directly. However, it is useful for performing operations on an entry set such as add(), contains(), etc. For - restrictions see getValue() and setValue(V).

    -

    - -

    -


    - -

    - + restrictions see getValue() and setValue(V).

    +
  • +
+
+
+
    +
  • - - - - - - - - - -
    -Constructor Summary
    MapEntryParameter(K key, - V value) - -
    -          Creates a map entry with a given key and value.
    -  +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      MapEntryParameter(K key, + V value) +
      Creates a map entry with a given key and value.
      +
      +
    • +
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - booleanequals(Object other) - -
    -          Compares this entry to a given entry as specified by Map.Entry.equals(java.lang.Object).
    - KgetKey() - -
    -          Returns the key of this entry.
    - VgetValue() - -
    -          Returns the value of this entry.
    - inthashCode() - -
    -          Computes a hash code as specified by Map.Entry.hashCode().
    - VsetValue(V newValue) - -
    -          Always throws UnsupportedOperationException since this - object is not attached to a map.
    - StringtoString() - -
    -          Converts the entry to a string representation for debugging.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    -  -

    - +

      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      booleanequals(java.lang.Object other) +
      Compares this entry to a given entry as specified by Map.Entry.equals(java.lang.Object).
      +
      KgetKey() +
      Returns the key of this entry.
      +
      VgetValue() +
      Returns the value of this entry.
      +
      inthashCode() +
      Computes a hash code as specified by Map.Entry.hashCode().
      +
      VsetValue(V newValue) +
      Always throws UnsupportedOperationException since this + object is not attached to a map.
      +
      java.lang.StringtoString() +
      Converts the entry to a string representation for debugging.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • - - - - - - -
    -Constructor Detail
    - -

    -MapEntryParameter

    -
    -public MapEntryParameter(K key,
    -                         V value)
    -
    -
    Creates a map entry with a given key and value. -

    -

    -
    Parameters:
    key - is the key to use.
    value - is the value to use.
    -
    - +
      +
    • + + +

      Constructor Detail

      + + + + + +
        +
      • +

        MapEntryParameter

        +
        public MapEntryParameter(K key,
        +                 V value)
        +
        Creates a map entry with a given key and value.
        +
        Parameters:
        key - is the key to use.
        value - is the value to use.
        +
      • +
      +
    • +
    - - - - - - -
    -Method Detail
    - -

    -hashCode

    -
    -public int hashCode()
    -
    -
    Computes a hash code as specified by Map.Entry.hashCode(). -

    -

    -
    Specified by:
    hashCode in interface Map.Entry<K,V>
    Overrides:
    hashCode in class Object
    -
    -
    - -
    Returns:
    the computed hash code.
    -
    -
    -
    - -

    -equals

    -
    -public boolean equals(Object other)
    -
    -
    Compares this entry to a given entry as specified by Map.Entry.equals(java.lang.Object). -

    -

    -
    Specified by:
    equals in interface Map.Entry<K,V>
    Overrides:
    equals in class Object
    -
    -
    - -
    Returns:
    the computed hash code.
    -
    -
    -
    - -

    -getKey

    -
    -public final K getKey()
    -
    -
    Returns the key of this entry. -

    -

    -
    Specified by:
    getKey in interface Map.Entry<K,V>
    -
    -
    - -
    Returns:
    the key of this entry.
    -
    -
    -
    - -

    -getValue

    -
    -public final V getValue()
    -
    -
    Returns the value of this entry. Note that this will be the value - passed to the constructor or the last value passed to setValue(V). - It will not reflect changes made to a Map. -

    -

    -
    Specified by:
    getValue in interface Map.Entry<K,V>
    -
    -
    - -
    Returns:
    the value of this entry.
    -
    -
    -
    - -

    -setValue

    -
    -public V setValue(V newValue)
    -
    -
    Always throws UnsupportedOperationException since this - object is not attached to a map. -

    -

    -
    Specified by:
    setValue in interface Map.Entry<K,V>
    -
    -
    -
    -
    -
    -
    - -

    -toString

    -
    -public String toString()
    -
    -
    Converts the entry to a string representation for debugging. -

    -

    -
    Overrides:
    toString in class Object
    -
    -
    - -
    Returns:
    the string representation.
    -
    -
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        Computes a hash code as specified by Map.Entry.hashCode().
        +
        +
        Specified by:
        +
        hashCode in interface java.util.Map.Entry<K,V>
        +
        Overrides:
        +
        hashCode in class java.lang.Object
        +
        Returns:
        the computed hash code.
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(java.lang.Object other)
        +
        Compares this entry to a given entry as specified by Map.Entry.equals(java.lang.Object).
        +
        +
        Specified by:
        +
        equals in interface java.util.Map.Entry<K,V>
        +
        Overrides:
        +
        equals in class java.lang.Object
        +
        Returns:
        the computed hash code.
        +
      • +
      + + + +
        +
      • +

        getKey

        +
        public final K getKey()
        +
        Returns the key of this entry.
        +
        +
        Specified by:
        +
        getKey in interface java.util.Map.Entry<K,V>
        +
        Returns:
        the key of this entry.
        +
      • +
      + + + +
        +
      • +

        getValue

        +
        public final V getValue()
        +
        Returns the value of this entry. Note that this will be the value + passed to the constructor or the last value passed to setValue(V). + It will not reflect changes made to a Map.
        +
        +
        Specified by:
        +
        getValue in interface java.util.Map.Entry<K,V>
        +
        Returns:
        the value of this entry.
        +
      • +
      + + + + + +
        +
      • +

        setValue

        +
        public V setValue(V newValue)
        +
        Always throws UnsupportedOperationException since this + object is not attached to a map.
        +
        +
        Specified by:
        +
        setValue in interface java.util.Map.Entry<K,V>
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        Converts the entry to a string representation for debugging.
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        Returns:
        the string representation.
        +
      • +
      +
    • +
    +
  • +
+
+
-
- - - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-Copyright (c) 1996, 2012 Oracle and/or its affiliates. All rights reserved. - - +

Copyright (c) 1996, 2015 Oracle and/or its affiliates. All rights reserved.

+ + -- cgit v1.2.1