    001package com.hammurapi.extract;
    002
    003/**
    004 * Extractors which can change their internal mapping shall implement this interface.
    005 * @author Pavel Vlasov
    006 *
    007 * @param <T>
    008 * @param <V>
    009 * @param <C>
    010 */
    011public interface Mappable<T,V,C> {
    012
    013        /**
    014         * Applies mapping to extractor.
    015         * @param map
    016         * @return Extractor with changed mapping or null if mapping is not possible.
    017         */
    018        Extractor<T,V,C> map(int[] map);
    019}