01: /*
02: * Copyright (c) 1998 - 2005 Versant Corporation
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * Versant Corporation - initial API and implementation
10: */
11: package com.versant.core.server;
12:
13: import com.versant.core.common.SortableBase;
14: import com.versant.core.common.OID;
15: import com.versant.core.common.OID;
16: import com.versant.core.common.SortableBase;
17:
18: /**
19: * Base class for graphs of OIDs and States.
20: */
21: public abstract class OIDGraph extends SortableBase {
22:
23: /**
24: * Find the index of OID in the graph or less than 0 if not found.
25: */
26: public abstract int indexOf(OID oid);
27:
28: }
|