/* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. */ package org.opensearch.index.analysis; /** * Represents a mapping between two objects. */ public class MappingRule { private final L left; private final R right; public MappingRule(L left, R right) { this.left = left; this.right = right; } public L getLeft() { return left; } public R getRight() { return right; } }