krati.store
Interface DataSet<V>

Type Parameters:
V - value
All Known Implementing Classes:
DynamicDataSet, StaticDataSet

public interface DataSet<V>

DataSet.

Author:
jwu

Method Summary
 boolean add(V value)
           
 void clear()
           
 boolean delete(V value)
           
 boolean has(V value)
           
 void persist()
           
 void sync()
           
 

Method Detail

has

boolean has(V value)

add

boolean add(V value)
            throws Exception
Throws:
Exception

delete

boolean delete(V value)
               throws Exception
Throws:
Exception

sync

void sync()
          throws IOException
Throws:
IOException

persist

void persist()
             throws IOException
Throws:
IOException

clear

void clear()
           throws IOException
Throws:
IOException


Copyright © 2011. All Rights Reserved.