de.hpi.fgis.dude.util.data.storage
Interface JsonReadable<T extends Jsonable>

Type Parameters:
T - The type of instances that shall be added.
All Known Subinterfaces:
DuDeStorage<T>
All Known Implementing Classes:
AbstractDuDeStorage, FileBasedStorage, InMemoryStorage, InputStreamReadable

public interface JsonReadable<T extends Jsonable>

JsonReadable is an interface for adding readable functionality to some Jsonable storage.

Author:
Matthias Pohl

Method Summary
 JsonableReader<T> getReader()
          Returns the JsonableReader that can be used to access the content of this DuDeStorage.
 int size()
          Returns the number of instances that are contained.
 

Method Detail

getReader

JsonableReader<T> getReader()
Returns the JsonableReader that can be used to access the content of this DuDeStorage.

Returns:
The JsonableReader for iterating over the content.

size

int size()
Returns the number of instances that are contained.

Returns:
The size of this storage.


Copyright © 2011 Hasso Plattner Institute - Chair of Information Systems. All Rights Reserved.