A C E G I O P R S T W

A

AbstractComparator - class org.garret.serme.AbstractComparator.
Abstract comparator.
AbstractComparator() - Constructor for class org.garret.serme.AbstractComparator
 
add(Object) - Method in class org.garret.serme.SortedCollection
Add new member to collection

C

clear() - Method in class org.garret.serme.SortedCollection
Remove all objects from the collection
close() - Method in interface org.garret.serme.IOutputStream
Close the stream.
close() - Method in interface org.garret.serme.IStorage
Close database
close() - Method in class org.garret.serme.ObjectOutputStream
Close the stream.
close() - Method in class org.garret.serme.rms.RmsStorage
 
compareMemberWithKey(Object, Object) - Method in interface org.garret.serme.IComparator
Compare member with specified search key
compareMembers(Object, Object) - Method in interface org.garret.serme.IComparator
Compare two members of collection
contains(Object) - Method in class org.garret.serme.SortedCollection
Check if collections contains specified member
create() - Method in interface org.garret.serme.IStorage
Open existed or create new database
create() - Method in class org.garret.serme.rms.RmsStorage
 

E

elements() - Method in class org.garret.serme.SortedCollection
Get enumeration for all collection members.
enumerateObjects() - Method in interface org.garret.serme.IStorage
Get enumeration of all live persistent objects in the database.
enumerateObjects() - Method in class org.garret.serme.rms.RmsStorage
 

G

get(Object) - Method in class org.garret.serme.SortedCollection
 
get(Object, Object) - Method in class org.garret.serme.SortedCollection
 
getComparator() - Method in class org.garret.serme.SortedCollection
Get comparator used in this collection
getCounter() - Method in class org.garret.serme.SortedCollection
This method is used internally by SerMe to detect concurrent modifications
getRoot() - Method in interface org.garret.serme.IStorage
Get root object.
getRoot() - Method in class org.garret.serme.rms.RmsStorage
 
getStorage() - Method in class org.garret.serme.Persistent
Get storage where object is stored

I

IComparator - interface org.garret.serme.IComparator.
Comparator interface used in SortedCollection class
IInputStream - interface org.garret.serme.IInputStream.
Interface for fetching component of the objects.
IOutputStream - interface org.garret.serme.IOutputStream.
Interface for storing component of the objects.
ISerializable - interface org.garret.serme.ISerializable.
Interface which should be implemented by any object which can be serialized.
IStorage - interface org.garret.serme.IStorage.
Interface of persistent storage.

O

ObjectInputStream - class org.garret.serme.ObjectInputStream.
Class used to fetch serialized objects.
ObjectInputStream(byte[]) - Constructor for class org.garret.serme.ObjectInputStream
Constructor of ObjectInputStream.
ObjectOutputStream - class org.garret.serme.ObjectOutputStream.
Class used to serialize objects into array of bytes.
ObjectOutputStream() - Constructor for class org.garret.serme.ObjectOutputStream
Constructor of ObjectOutputStream
open() - Method in interface org.garret.serme.IStorage
Open existed database.
open() - Method in class org.garret.serme.rms.RmsStorage
 
org.garret.serme - package org.garret.serme
 
org.garret.serme.rms - package org.garret.serme.rms
 

P

Persistent - class org.garret.serme.Persistent.
Class which remembers the storage to which it belongs.
Persistent() - Constructor for class org.garret.serme.Persistent
 

R

RmsStorage - class org.garret.serme.rms.RmsStorage.
Storage implementation on top of javax.microedition.rms package.
RmsStorage(String) - Constructor for class org.garret.serme.rms.RmsStorage
Storage constructor
readArrayOfBoolean() - Method in interface org.garret.serme.IInputStream
Read array of boolean value
readArrayOfByte() - Method in interface org.garret.serme.IInputStream
Read array of char value
readArrayOfChar() - Method in interface org.garret.serme.IInputStream
Read array of byte value
readArrayOfDate() - Method in interface org.garret.serme.IInputStream
Read array of Date value
readArrayOfInt() - Method in interface org.garret.serme.IInputStream
Read array of int value
readArrayOfLong() - Method in interface org.garret.serme.IInputStream
Read array of long value
readArrayOfObject() - Method in interface org.garret.serme.IInputStream
Read array of object value.
readArrayOfShort() - Method in interface org.garret.serme.IInputStream
Read array of short value
readArrayOfString() - Method in interface org.garret.serme.IInputStream
Read array of String value
readBoolean() - Method in interface org.garret.serme.IInputStream
Read boolean value
readByte() - Method in interface org.garret.serme.IInputStream
Read byte value
readChar() - Method in interface org.garret.serme.IInputStream
Read char value
readDate() - Method in interface org.garret.serme.IInputStream
Read date value
readInt() - Method in interface org.garret.serme.IInputStream
Read int value
readLong() - Method in interface org.garret.serme.IInputStream
Read long value
readObject(IInputStream) - Method in class org.garret.serme.AbstractComparator
 
readObject() - Method in interface org.garret.serme.IInputStream
Read object value.
readObject(IInputStream) - Method in interface org.garret.serme.ISerializable
Fetch object fields from the stream
readObject(IInputStream) - Method in class org.garret.serme.SortedCollection
Unpack object
readShort() - Method in interface org.garret.serme.IInputStream
Read short value
readString() - Method in interface org.garret.serme.IInputStream
Read string value
remove(Object) - Method in interface org.garret.serme.IStorage
Remove object from the storage.
remove() - Method in interface org.garret.serme.IStorage
Remove database.
remove() - Method in class org.garret.serme.Persistent
Remove object from the storage
remove(Object) - Method in class org.garret.serme.SortedCollection
Remove member from collection
remove(Object) - Method in class org.garret.serme.rms.RmsStorage
 
remove() - Method in class org.garret.serme.rms.RmsStorage
 

S

SermeException - exception org.garret.serme.SermeException.
Exception thrown by this SerMe when something is going wrong.
SermeException(String) - Constructor for class org.garret.serme.SermeException
Constructor of exception
SortedCollection - class org.garret.serme.SortedCollection.
Indexed collection providing fast access and sorting of their members.
SortedCollection() - Constructor for class org.garret.serme.SortedCollection
Default constructor internally used by SerMe
SortedCollection(IComparator, boolean) - Constructor for class org.garret.serme.SortedCollection
Constructor of sorted collection
setRoot(Object) - Method in interface org.garret.serme.IStorage
Set new root object.
setRoot(Object) - Method in class org.garret.serme.rms.RmsStorage
 
setStorage(IStorage) - Method in class org.garret.serme.Persistent
Specify storage for the object.
size() - Method in class org.garret.serme.SortedCollection
Get number of objects in the collection
store(Object) - Method in interface org.garret.serme.IStorage
Store object in the database.
store() - Method in class org.garret.serme.Persistent
Save object in the storage (if any)
store(Object) - Method in class org.garret.serme.rms.RmsStorage
 

T

toArray() - Method in class org.garret.serme.SortedCollection
Get all objects in the index as array ordered by index key.
toArray(Object[]) - Method in class org.garret.serme.SortedCollection
Get all objects in the index as array ordered by index key.
toByteArray() - Method in interface org.garret.serme.IOutputStream
Get byte array with serialized data.
toByteArray() - Method in class org.garret.serme.ObjectOutputStream
Get byte array with serialized data.

W

writeArrayOfBoolean(boolean[]) - Method in interface org.garret.serme.IOutputStream
Write array of boolean value
writeArrayOfByte(byte[]) - Method in interface org.garret.serme.IOutputStream
Write array of byte value
writeArrayOfChar(char[]) - Method in interface org.garret.serme.IOutputStream
Write array of char value
writeArrayOfDate(Date[]) - Method in interface org.garret.serme.IOutputStream
Write array of date value
writeArrayOfInt(int[]) - Method in interface org.garret.serme.IOutputStream
Write array of ubt value
writeArrayOfLong(long[]) - Method in interface org.garret.serme.IOutputStream
Write array of long value
writeArrayOfObject(Object[]) - Method in interface org.garret.serme.IOutputStream
Write array of object value.
writeArrayOfShort(short[]) - Method in interface org.garret.serme.IOutputStream
Write array of short value
writeArrayOfString(String[]) - Method in interface org.garret.serme.IOutputStream
Write array of string value
writeBoolean(boolean) - Method in interface org.garret.serme.IOutputStream
Write boolean value
writeByte(byte) - Method in interface org.garret.serme.IOutputStream
Write byte value
writeChar(char) - Method in interface org.garret.serme.IOutputStream
Write char value
writeDate(Date) - Method in interface org.garret.serme.IOutputStream
Write date value
writeInt(int) - Method in interface org.garret.serme.IOutputStream
Write int value
writeLong(long) - Method in interface org.garret.serme.IOutputStream
Write long value
writeObject(IOutputStream) - Method in class org.garret.serme.AbstractComparator
 
writeObject(Object) - Method in interface org.garret.serme.IOutputStream
Write ob ject value.
writeObject(IOutputStream) - Method in interface org.garret.serme.ISerializable
Store object fields in the stream.
writeObject(IOutputStream) - Method in class org.garret.serme.SortedCollection
Pack object
writeShort(short) - Method in interface org.garret.serme.IOutputStream
Write short value
writeString(String) - Method in interface org.garret.serme.IOutputStream
Write String value

A C E G I O P R S T W