Index

A C D F G N O P R S T 
All Classes and Interfaces|All Packages

A

addDataObserver(DataManager.DataObserver) - Method in interface com.jummania.DataManager
Registers a DataManager.DataObserver to listen for data changes.
appendToList(String, int, Object) - Method in interface com.jummania.DataManager
Appends an element to a list associated with the given key at the specified index.
appendToList(String, int, Object, boolean) - Method in interface com.jummania.DataManager
Appends an element to a list associated with the given key at the specified index.
appendToList(String, Object) - Method in interface com.jummania.DataManager
Appends an element to a list associated with the given key.
appendToList(String, Object, boolean) - Method in interface com.jummania.DataManager
Appends an element to a list associated with the given key.

C

clear() - Method in interface com.jummania.DataManager
Clears all entries from the data structure.
com.jummania - package com.jummania
 
com.jummania.converter - package com.jummania.converter
 
com.jummania.model - package com.jummania.model
 
contains(String) - Method in interface com.jummania.DataManager
Checks if the data structure contains an entry associated with the given key.
create(File) - Static method in class com.jummania.DataManagerFactory
Creates and returns the singleton instance of DataManager.
create(File, DataManager.Converter) - Static method in class com.jummania.DataManagerFactory
Creates and returns the singleton instance of DataManager with a specified converter.
currentPage - Variable in class com.jummania.model.Pagination
 

D

data - Variable in class com.jummania.model.PaginatedData
 
DataManager - Interface in com.jummania
Interface for managing data operations such as saving, retrieving, and deleting key-value data, including support for JSON serialization, pagination, and list management.
DataManager.Converter - Interface in com.jummania
 
DataManager.DataObserver - Interface in com.jummania
 
DataManagerFactory - Class in com.jummania
Factory class for creating and managing a singleton instance of DataManager.

F

fromJson(String, Type) - Method in class com.jummania.converter.GsonConverter
Converts a JSON string into a Java object of the specified type.
fromJson(String, Type) - Method in interface com.jummania.DataManager.Converter
Converts a JSON string into a Java object of the specified type.
fromJson(String, Type) - Method in interface com.jummania.DataManager
Converts a JSON string into an object of the specified type.
fromReader(Reader, Type) - Method in class com.jummania.converter.GsonConverter
Converts a JSON stream from a Reader into a Java object of the specified type.
fromReader(Reader, Type) - Method in interface com.jummania.DataManager.Converter
Converts a JSON stream from a Reader into a Java object of the specified type.
fromReader(Reader, Type) - Method in interface com.jummania.DataManager
Converts a JSON input stream (Reader) into an object of the specified type.

G

getBoolean(String) - Method in interface com.jummania.DataManager
Retrieves a boolean value associated with the given key.
getBoolean(String, boolean) - Method in interface com.jummania.DataManager
Retrieves a boolean value associated with the given key.
getDataManager() - Static method in class com.jummania.DataManagerFactory
Retrieves the singleton instance of DataManager.
getFloat(String) - Method in interface com.jummania.DataManager
Retrieves a float value associated with the given key.
getFloat(String, float) - Method in interface com.jummania.DataManager
Retrieves a float value associated with the given key.
getFullList(String, Type) - Method in interface com.jummania.DataManager
Retrieves a list of objects of the specified type associated with the given key.
getInt(String) - Method in interface com.jummania.DataManager
Retrieves an integer value associated with the given key.
getInt(String, int) - Method in interface com.jummania.DataManager
Retrieves an integer value associated with the given key.
getLong(String) - Method in interface com.jummania.DataManager
Retrieves a long value associated with the given key.
getLong(String, long) - Method in interface com.jummania.DataManager
Retrieves a long value associated with the given key.
getObject(String, Type) - Method in interface com.jummania.DataManager
Retrieves an object of the specified type associated with the given key.
getPagedList(String, Type, int) - Method in interface com.jummania.DataManager
Retrieves a paginated list of objects of the specified type associated with the given key.
getParameterized(Type, Type...) - Method in interface com.jummania.DataManager
Creates a parameterized Type using the specified raw type and type arguments.
getRawString(String) - Method in interface com.jummania.DataManager
Retrieves the raw string value associated with the given key.
getString(String) - Method in interface com.jummania.DataManager
Retrieves a string value associated with the given key.
getString(String, String) - Method in interface com.jummania.DataManager
Retrieves a string value associated with the given key.
GsonConverter - Class in com.jummania.converter
GsonConverter is an implementation of the Converter interface that utilizes the Gson library for converting Java objects to JSON format and vice versa.
GsonConverter() - Constructor for class com.jummania.converter.GsonConverter
Default constructor that initializes the Gson instance.
GsonConverter(Gson) - Constructor for class com.jummania.converter.GsonConverter
Constructor that accepts a custom Gson instance.

N

nextPage - Variable in class com.jummania.model.Pagination
 

O

onDataChange(String) - Method in interface com.jummania.DataManager.DataObserver
Called when the data associated with a specific key has changed.
onError(Throwable) - Method in interface com.jummania.DataManager.DataObserver
Called when an error occurs while processing data.

P

PaginatedData<T> - Class in com.jummania.model
A generic class representing a paginated data set.
PaginatedData(List<T>, Pagination) - Constructor for class com.jummania.model.PaginatedData
Constructs a PaginatedData object with the specified data and pagination information.
pagination - Variable in class com.jummania.model.PaginatedData
 
Pagination - Class in com.jummania.model
A class representing pagination information.
Pagination(Integer, int, Integer, int) - Constructor for class com.jummania.model.Pagination
Constructs a Pagination object with the specified page information.
previousPage - Variable in class com.jummania.model.Pagination
 

R

remove(String) - Method in interface com.jummania.DataManager
Removes the entry associated with the given key.
removeDataObserver() - Method in interface com.jummania.DataManager
Unregisters the currently registered DataManager.DataObserver.
removeFromList(String, int) - Method in interface com.jummania.DataManager
Removes an element from the list associated with the given key at the specified index.

S

saveBoolean(String, boolean) - Method in interface com.jummania.DataManager
Saves a boolean value associated with the given key by converting the boolean to a string.
saveFloat(String, float) - Method in interface com.jummania.DataManager
Saves a float value associated with the given key by converting the float to a string.
saveInt(String, int) - Method in interface com.jummania.DataManager
Saves an integer value associated with the given key by converting the integer to a string.
saveList(String, List<E>) - Method in interface com.jummania.DataManager
Saves a list of objects associated with the given key by converting the list to a JSON string.
saveList(String, List<E>, int) - Method in interface com.jummania.DataManager
Saves a list of objects associated with the given key by converting the list to a JSON string.
saveLong(String, long) - Method in interface com.jummania.DataManager
Saves a long value associated with the given key by converting the long to a string.
saveObject(String, Object) - Method in interface com.jummania.DataManager
Saves an object associated with the given key by converting the object to a JSON string.
saveString(String, String) - Method in interface com.jummania.DataManager
Saves a string value associated with the given key.

T

toJson(Object) - Method in interface com.jummania.DataManager
Converts an object into its JSON string representation.
toJson(T) - Method in class com.jummania.converter.GsonConverter
Converts a Java object to its JSON representation.
toJson(T) - Method in interface com.jummania.DataManager.Converter
Converts a Java object to its JSON representation.
toString() - Method in class com.jummania.model.PaginatedData
Returns a string representation of the PaginatedData object.
toString() - Method in class com.jummania.model.Pagination
Returns a string representation of the Pagination object.
totalPages - Variable in class com.jummania.model.Pagination
 
A C D F G N O P R S T 
All Classes and Interfaces|All Packages