This commit is contained in:
Gary Gregory 2020-06-23 14:22:46 -04:00
parent 341aaa797d
commit 6315e8c138
1 changed files with 2 additions and 0 deletions

View File

@ -76,6 +76,7 @@ public static <L, R> ImmutablePair<L, R>[] emptyArray() {
* obtain the generic types.</p>
*
* @param <L> the left element type
* @param <R> the right element type
* @param left the left element, may be null
* @return a pair formed from the two parameters, not null
* @since 3.11
@ -143,6 +144,7 @@ public static <L, R> ImmutablePair<L, R> of(final Map.Entry<L, R> pair) {
* <p>This factory allows the pair to be created using inference to
* obtain the generic types.</p>
*
* @param <L> the left element type
* @param <R> the right element type
* @param right the right element, may be null
* @return a pair formed from the two parameters, not null