Re: weakly referenced paged queries

From: Lachlan Deck (lachlan.dec..mail.com)
Date: Mon Jun 23 2008 - 04:12:16 EDT

  • Next message: Borut Bolčina: "setStorageEngine method"

    On 23/06/2008, at 4:43 PM, Øyvind Harboe wrote:

    > On Sun, Jun 22, 2008 at 10:28 PM, Andrus Adamchik
    > <andru..bjectstyle.org> wrote:
    >>
    >> On Jun 20, 2008, at 10:41 PM, Øyvind Harboe wrote:
    >>
    >>> - the JavaDoc explained *why* the synchronization is there and
    >>> what it
    >>> is supposed to do and how the client is supposed to use it.
    >>
    >> From the class JavaDocs: "A synchronized list that serves as a
    >> container of
    >> DataObjects"... A Collection is either synchronized or not. No other
    >> explanation is needed.
    >
    > That's what I thought, until I saw this construct:
    >
    > someList.subList(a,b).clear();
    >
    > a) what does the above do?

    @see java.util.AbstractList.sublist(int,int)

    with regards,

    --
    

    Lachlan Deck



    This archive was generated by hypermail 2.0.0 : Mon Jun 23 2008 - 04:13:01 EDT