| 1 | //////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
| 2 | // Copyright (c) 2018 Saxonica Limited. |
| 3 | // This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. |
| 4 | // If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. |
| 5 | // This Source Code Form is "Incompatible With Secondary Licenses", as defined by the Mozilla Public License, v. 2.0. |
| 6 | //////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
| 7 | |
| 8 | package net.sf.saxon.ma.map; |
| 9 | |
| 10 | import net.sf.saxon.om.GroundedValue; |
| 11 | import net.sf.saxon.value.AtomicValue; |
| 12 | |
| 13 | /** |
| 14 | * A key and a corresponding value to be held in a Map. |
| 15 | */ |
| 16 | |
| 17 | public class KeyValuePair { |
| 18 | public AtomicValue key; |
| 19 | public GroundedValue<?> value; |
| 20 | |
| 21 | public KeyValuePair(AtomicValue key, GroundedValue<?> value) { |
| 22 | this.key = key; |
| 23 | this.value = value; |
| 24 | } |
| 25 | |
| 26 | } |
| 27 | |
| 28 | // Copyright (c) 2010-2018 Saxonica Limited. |