KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ozoneDB > collections > OzoneLinkedHashSet


1 // You can redistribute this software and/or modify it under the terms of
2
// the Ozone Library License version 1 published by ozone-db.org.
3
//
4
// This file is
5
// Copyright (C) 2002-@year@ Leo Mekenkamp. All rights reserved.
6
// $Id: OzoneLinkedHashSet.java,v 1.1 2002/10/24 15:41:16 per_nyfelt Exp $
7

8 package org.ozoneDB.collections;
9
10 import java.util.LinkedHashSet JavaDoc;
11
12 /**
13  * See the overall description on {@link org.ozoneDB.collections.OzoneCollection}.
14  * @author <a HREF="mailto:ozoneATmekenkampD0Tcom">Leo Mekenkamp (mind the anti-sp@m)</a>
15  */

16 public interface OzoneLinkedHashSet extends OzoneHashSet {
17     
18     /**
19      * <p>Returns a <code>LinkedHashSet</code> that contains the same entries as this
20      * persistent one; it is (by nature of the client-server enviromnent) always
21      * a 'deep' copy of this <code>OzoneLinkedHashSet</code>. I.e. the contents of
22      * this <code>OzoneLinkedHashSet</code> instance are always copied to the client
23      * by use of serialization.</p>
24      * <p>Note that the difference of calling <code>iterator()</code>
25      * compared to <code>getClientLinkedHashSet().iterator()</code> is that in
26      * the first case you go through the real collection on the server and in
27      * the second case you go through a local copy on the client side.</p>
28      */

29     public LinkedHashSet JavaDoc getClientLinkedHashSet();
30     
31 }
32
Popular Tags