Class Either<T1,T2>

java.lang.Object
com.mrivanplays.ivancord.api.util.Either<T1,T2>
Type Parameters:
T1 - type 1
T2 - type 2

public final class Either<T1,T2> extends Object
A utility class, containing either 1 of the 2 types of data
  • Constructor Details

    • Either

      public Either(T1 t1, T2 t2)
  • Method Details