All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tectonica.kvs.Index Maven / Gradle / Ivy

Go to download

Set of Java utility classes, all completely independent, to provide lightweight solutions for common situations

There is a newer version: 0.6.1
Show newest version
package com.tectonica.kvs;

import java.util.Iterator;
import java.util.List;
import java.util.Set;

import com.tectonica.kvs.KeyValueStore.KeyValue;

public interface Index
{
	public static interface IndexMapper
	{
		public F getIndexedFieldOf(V value);
	}

	Iterator> iteratorOf(F f);

	Iterator keyIteratorOf(F f);

	Iterator valueIteratorOf(F f);

	boolean containsKeyOf(F f);

	Set keySetOf(F f);

	List valuesOf(F f);

	List> entriesOf(F f);

	Iterable> asIterableOf(F f);

	Iterable asKeyIterableOf(F f);

	Iterable asValueIterableOf(F f);

	KeyValue getFirstEntry(F f);

	K getFirstKey(F f);

	V getFirstValue(F f);

	String getName();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy