Home | History | Annotate | Download | only in data
      1 /* Copyright (C) 2003 Vladimir Roubtsov. All rights reserved.
      2  *
      3  * This program and the accompanying materials are made available under
      4  * the terms of the Common Public License v1.0 which accompanies this distribution,
      5  * and is available at http://www.eclipse.org/legal/cpl-v10.html
      6  *
      7  * $Id: IMergeable.java,v 1.1.1.1 2004/05/09 16:57:31 vlad_r Exp $
      8  */
      9 package com.vladium.emma.data;
     10 
     11 import java.io.Serializable;
     12 
     13 // ----------------------------------------------------------------------------
     14 /**
     15  * @author Vlad Roubtsov, (C) 2003
     16  */
     17 public
     18 interface IMergeable extends Serializable
     19 {
     20     // public: ................................................................
     21 
     22     boolean isEmpty ();
     23 
     24     /**
     25      * Caller must always switch to the returned handle.
     26      */
     27     IMergeable merge (IMergeable data);
     28 
     29 } // end of interface
     30 // ----------------------------------------------------------------------------