com.payneteasy.superfly.common.store.StringStore Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of superfly-common Show documentation
Show all versions of superfly-common Show documentation
Common classes used by other Superfly libraries
package com.payneteasy.superfly.common.store;
import java.util.Collection;
import java.util.List;
/**
* Stores strings. Multiple equal instances cannot be stored here.
*
* @author Roman Puchkovskiy
*/
public interface StringStore {
/**
* Returns true if the given string exists in the store.
*
* @param key string to check
* @return true if exists
*/
boolean exists(String key);
/**
* Sets strings to be stored.
*
* @param objects strings
*/
void setObjects(List objects);
/**
* Returns an unmodifiable collection of stored strings.
*
* @return strings
*/
Collection getObjects();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy