Javadoc.
This commit is contained in:
parent
341aaa797d
commit
6315e8c138
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue