1/* GENERATED SOURCE. DO NOT MODIFY. */
2/*
3 ********************************************************************************
4 * Copyright (C) 2009-2010, Google, International Business Machines Corporation *
5 * and others. All Rights Reserved.                                             *
6 ********************************************************************************
7 */
8package android.icu.text;
9
10/**
11 * Provide an interface for Transforms that focuses just on the transformation of the text.
12 * APIs that take Transliterator or StringTransform, but only depend on the transformation should use this interface in the API instead.
13 *
14 * @author markdavis
15 * @hide Only a subset of ICU is exposed in Android
16
17 */
18
19public interface Transform<S,D> {
20    /**
21     * Transform the input in some way, to be determined by the subclass.
22     * @param source to be transformed (eg lowercased)
23     * @return result
24     */
25    public D transform(S source);
26}
27