package com.hammurapi.extract;

/**
 * Extractors which can change their internal mapping shall implement this interface.
 * @author Pavel Vlasov
 *
 * @param <T>
 * @param <V>
 * @param <C>
 */
public interface Mappable<T,V,C> {

	/**
	 * Applies mapping to extractor.
	 * @param map
	 * @return Extractor with changed mapping or null if mapping is not possible.
	 */
	Extractor<T,V,C> map(int[] map);
}
