public class

EitherUtils

extends Object
java.lang.Object
   ↳ com.atlassian.jira.util.EitherUtils

Class Overview

Utility functions for Eithers.

Summary

Public Constructors
EitherUtils()
Public Methods
static <L, R> Pair<List<L>, List<R>> splitEithers(Iterable<Either<L, R>> eithers)
Transforms list of Eithers into two lists, which contains left and right values.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public EitherUtils ()

Public Methods

public static Pair<List<L>, List<R>> splitEithers (Iterable<Either<L, R>> eithers)

Transforms list of Eithers into two lists, which contains left and right values.