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/StoredCollections.html | 796 ++++++++++----------- 1 file changed, 364 insertions(+), 432 deletions(-) (limited to 'docs/java/com/sleepycat/collections/StoredCollections.html') diff --git a/docs/java/com/sleepycat/collections/StoredCollections.html b/docs/java/com/sleepycat/collections/StoredCollections.html index 91f72afd..17cc1230 100644 --- a/docs/java/com/sleepycat/collections/StoredCollections.html +++ b/docs/java/com/sleepycat/collections/StoredCollections.html @@ -1,107 +1,105 @@ - - - - - -StoredCollections (Oracle - Berkeley DB Java API) - - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-

- -com.sleepycat.collections -
-Class StoredCollections

-
-java.lang.Object
-  extended by com.sleepycat.collections.StoredCollections
-
-
-
-
public class StoredCollections
extends Object
- - -

-Static methods operating on collections and maps. +

+
com.sleepycat.collections
+

Class StoredCollections

+
+
+ +
+
    +
  • +
    +
    +
    public class StoredCollections
    +extends java.lang.Object
    +
    Static methods operating on collections and maps.

    This class consists exclusively of static methods that operate on or return stored collections and maps, jointly called containers. It contains @@ -118,360 +116,294 @@ Static methods operating on collections and maps. containers also.

    Method names beginning with "configured" create a new container with a - specified CursorConfig from a given stored container. This allows + specified CursorConfig from a given stored container. This allows configuring a container for read-committed isolation, read-uncommitted isolation, or any other property supported by CursorConfig. All operations performed with the resulting container will be performed with - the specified cursor configuration.

    -

    - -

    -


    - -

    - + the specified cursor configuration.

    +
  • +
+
+
+
    +
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    -static - - - - -
    -<E> Collection<E>
    -
    configuredCollection(Collection<E> storedCollection, - CursorConfig config) - -
    -          Creates a configured collection from a given stored collection.
    -static - - - - -
    -<E> List<E>
    -
    configuredList(List<E> storedList, - CursorConfig config) - -
    -          Creates a configured list from a given stored list.
    -static - - - - -
    -<K,V> Map<K,V>
    -
    configuredMap(Map<K,V> storedMap, - CursorConfig config) - -
    -          Creates a configured map from a given stored map.
    -static - - - - -
    -<E> Set<E>
    -
    configuredSet(Set<E> storedSet, - CursorConfig config) - -
    -          Creates a configured set from a given stored set.
    -static - - - - -
    -<K,V> SortedMap<K,V>
    -
    configuredSortedMap(SortedMap<K,V> storedSortedMap, - CursorConfig config) - -
    -          Creates a configured sorted map from a given stored sorted map.
    -static - - - - -
    -<E> SortedSet<E>
    -
    configuredSortedSet(SortedSet<E> storedSortedSet, - CursorConfig config) - -
    -          Creates a configured sorted set from a given stored sorted set.
    -static - - - - -
    -<E> Iterator<E>
    -
    iterator(Iterator<E> iter) - -
    -          Clones an iterator preserving its current position.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - +

      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      static <E> java.util.Collection<E>configuredCollection(java.util.Collection<E> storedCollection, + CursorConfig config) +
      Creates a configured collection from a given stored collection.
      +
      static <E> java.util.List<E>configuredList(java.util.List<E> storedList, + CursorConfig config) +
      Creates a configured list from a given stored list.
      +
      static <K,V> java.util.Map<K,V>configuredMap(java.util.Map<K,V> storedMap, + CursorConfig config) +
      Creates a configured map from a given stored map.
      +
      static <E> java.util.Set<E>configuredSet(java.util.Set<E> storedSet, + CursorConfig config) +
      Creates a configured set from a given stored set.
      +
      static <K,V> java.util.SortedMap<K,V>configuredSortedMap(java.util.SortedMap<K,V> storedSortedMap, + CursorConfig config) +
      Creates a configured sorted map from a given stored sorted map.
      +
      static <E> java.util.SortedSet<E>configuredSortedSet(java.util.SortedSet<E> storedSortedSet, + CursorConfig config) +
      Creates a configured sorted set from a given stored sorted set.
      +
      static <E> java.util.Iterator<E>iterator(java.util.Iterator<E> iter) +
      Clones an iterator preserving its current position.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • - - - - - - -
    -Method Detail
    - -

    -configuredCollection

    -
    -public static <E> Collection<E> configuredCollection(Collection<E> storedCollection,
    -                                                     CursorConfig config)
    -
    -
    Creates a configured collection from a given stored collection. -

    -

    -
    Parameters:
    storedCollection - the base collection.
    config - is the cursor configuration to be used for all operations +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        configuredCollection

        +
        public static <E> java.util.Collection<E> configuredCollection(java.util.Collection<E> storedCollection,
        +                                               CursorConfig config)
        +
        Creates a configured collection from a given stored collection.
        +
        Parameters:
        storedCollection - the base collection.
        config - is the cursor configuration to be used for all operations performed via the new collection instance; null may be specified to use - the default configuration. -
        Returns:
        the configured collection. -
        Throws: -
        ClassCastException - if the given container is not a - StoredContainer.
        -
    -
    -
    - -

    -configuredList

    -
    -public static <E> List<E> configuredList(List<E> storedList,
    -                                         CursorConfig config)
    -
    -
    Creates a configured list from a given stored list. + the default configuration.
    +
    Returns:
    the configured collection.
    +
    Throws:
    +
    java.lang.ClassCastException - if the given container is not a + StoredContainer.
    +
  • +
+ + + +
    +
  • +

    configuredList

    +
    public static <E> java.util.List<E> configuredList(java.util.List<E> storedList,
    +                                   CursorConfig config)
    +
    Creates a configured list from a given stored list.

    Note that this method may not be called in the JE product, since the - StoredList class is not supported.

    -

    -

    -
    Parameters:
    storedList - the base list.
    config - is the cursor configuration to be used for all operations + StoredList class is not supported.

    +
    Parameters:
    storedList - the base list.
    config - is the cursor configuration to be used for all operations performed via the new list instance; null may be specified to use the - default configuration. -
    Returns:
    the configured list. -
    Throws: -
    ClassCastException - if the given container is not a - StoredContainer.
    - - -
    - -

    -configuredMap

    -
    -public static <K,V> Map<K,V> configuredMap(Map<K,V> storedMap,
    -                                           CursorConfig config)
    -
    -
    Creates a configured map from a given stored map. -

    -

    -
    Parameters:
    storedMap - the base map.
    config - is the cursor configuration to be used for all operations + default configuration.
    +
    Returns:
    the configured list.
    +
    Throws:
    +
    java.lang.ClassCastException - if the given container is not a + StoredContainer.
    +
  • +
+ + + +
    +
  • +

    configuredMap

    +
    public static <K,V> java.util.Map<K,V> configuredMap(java.util.Map<K,V> storedMap,
    +                                     CursorConfig config)
    +
    Creates a configured map from a given stored map.
    +
    Parameters:
    storedMap - the base map.
    config - is the cursor configuration to be used for all operations performed via the new map instance; null may be specified to use the - default configuration. -
    Returns:
    the configured map. -
    Throws: -
    ClassCastException - if the given container is not a - StoredContainer.
    - - -
    - -

    -configuredSet

    -
    -public static <E> Set<E> configuredSet(Set<E> storedSet,
    -                                       CursorConfig config)
    -
    -
    Creates a configured set from a given stored set. -

    -

    -
    Parameters:
    storedSet - the base set.
    config - is the cursor configuration to be used for all operations + default configuration.
    +
    Returns:
    the configured map.
    +
    Throws:
    +
    java.lang.ClassCastException - if the given container is not a + StoredContainer.
    +
  • +
+ + + +
    +
  • +

    configuredSet

    +
    public static <E> java.util.Set<E> configuredSet(java.util.Set<E> storedSet,
    +                                 CursorConfig config)
    +
    Creates a configured set from a given stored set.
    +
    Parameters:
    storedSet - the base set.
    config - is the cursor configuration to be used for all operations performed via the new set instance; null may be specified to use the - default configuration. -
    Returns:
    the configured set. -
    Throws: -
    ClassCastException - if the given container is not a - StoredContainer.
    - - -
    - -

    -configuredSortedMap

    -
    -public static <K,V> SortedMap<K,V> configuredSortedMap(SortedMap<K,V> storedSortedMap,
    -                                                       CursorConfig config)
    -
    -
    Creates a configured sorted map from a given stored sorted map. -

    -

    -
    Parameters:
    storedSortedMap - the base map.
    config - is the cursor configuration to be used for all operations + default configuration.
    +
    Returns:
    the configured set.
    +
    Throws:
    +
    java.lang.ClassCastException - if the given container is not a + StoredContainer.
    +
  • +
+ + + +
    +
  • +

    configuredSortedMap

    +
    public static <K,V> java.util.SortedMap<K,V> configuredSortedMap(java.util.SortedMap<K,V> storedSortedMap,
    +                                                 CursorConfig config)
    +
    Creates a configured sorted map from a given stored sorted map.
    +
    Parameters:
    storedSortedMap - the base map.
    config - is the cursor configuration to be used for all operations performed via the new map instance; null may be specified to use the - default configuration. -
    Returns:
    the configured map. -
    Throws: -
    ClassCastException - if the given container is not a - StoredContainer.
    - - -
    - -

    -configuredSortedSet

    -
    -public static <E> SortedSet<E> configuredSortedSet(SortedSet<E> storedSortedSet,
    -                                                   CursorConfig config)
    -
    -
    Creates a configured sorted set from a given stored sorted set. -

    -

    -
    Parameters:
    storedSortedSet - the base set.
    config - is the cursor configuration to be used for all operations + default configuration.
    +
    Returns:
    the configured map.
    +
    Throws:
    +
    java.lang.ClassCastException - if the given container is not a + StoredContainer.
    +
  • +
+ + + +
    +
  • +

    configuredSortedSet

    +
    public static <E> java.util.SortedSet<E> configuredSortedSet(java.util.SortedSet<E> storedSortedSet,
    +                                             CursorConfig config)
    +
    Creates a configured sorted set from a given stored sorted set.
    +
    Parameters:
    storedSortedSet - the base set.
    config - is the cursor configuration to be used for all operations performed via the new set instance; null may be specified to use the - default configuration. -
    Returns:
    the configured set. -
    Throws: -
    ClassCastException - if the given container is not a - StoredContainer.
    - - -
    - -

    -iterator

    -
    -public static <E> Iterator<E> iterator(Iterator<E> iter)
    -
    -
    Clones an iterator preserving its current position. -

    -

    -
    Parameters:
    iter - an iterator to clone. -
    Returns:
    a new Iterator having the same position as the given - iterator. -
    Throws: -
    ClassCastException - if the given iterator was not obtained via a - StoredCollection method.
    -
    -
    + default configuration. +
    Returns:
    the configured set.
    +
    Throws:
    +
    java.lang.ClassCastException - if the given container is not a + StoredContainer.
    +
  • +
+ + + +
    +
  • +

    iterator

    +
    public static <E> java.util.Iterator<E> iterator(java.util.Iterator<E> iter)
    +
    Clones an iterator preserving its current position.
    +
    Parameters:
    iter - an iterator to clone.
    +
    Returns:
    a new Iterator having the same position as the given + iterator.
    +
    Throws:
    +
    java.lang.ClassCastException - if the given iterator was not obtained via a + StoredCollection method.
    +
  • +
+ + + + +
+
-
- - - - - - - - - - - - - - - - - - -
-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