📄 ozonelinkedlist.java
字号:
// You can redistribute this software and/or modify it under the terms of// the Ozone Library License version 1 published by ozone-db.org.//// This file is// Copyright (C) 2002-@year@ Leo Mekenkamp. All rights reserved.// $Id: OzoneLinkedList.java,v 1.1 2002/10/24 15:41:16 per_nyfelt Exp $package org.ozoneDB.collections;import java.util.LinkedList;/** * See the overall description on {@link org.ozoneDB.collections.OzoneCollection}. * @author <a href="mailto:ozoneATmekenkampD0Tcom">Leo Mekenkamp (mind the anti-sp@m)</a> */public interface OzoneLinkedList extends OzoneList { public Object getFirst(); public Object getLast(); public Object removeFirst(); /*update*/ public Object removeLast(); /*update*/ public void addFirst(Object object); /*update*/ public void addLast(Object object); /*update*/ /** * <p>Returns a <code>LinkedList</code> that contains the same entries as this * persistent one; it is (by nature of the client-server enviromnent) always * a 'deep' copy of this <code>OzoneLinkedList</code>. I.e. the contents of * this <code>OzoneLinkedList</code> instance are always copied to the client * by use of serialization.</p> * <p>Note that the difference of calling <code>iterator()</code> * compared to <code>getClientLinkedList().iterator()</code> is that in * the first case you go through the real collection on the server and in * the second case you go through a local copy on the client side.</p> */ public LinkedList getClientLinkedList();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -