Package de.marcely.bedwars.tools
Class Either.Right<L,R> 
java.lang.Object
de.marcely.bedwars.tools.Either.Right<L,R> 
- All Implemented Interfaces:
- Either<L,- R> 
- 
Nested Class SummaryNested classes/interfaces inherited from interface de.marcely.bedwars.tools.EitherEither.Left<L,R>, Either.Right<L, R> 
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
Right
 
- 
- 
Method Details- 
hasLeftpublic boolean hasLeft()Description copied from interface:EitherReturns if something has been set to the left field.Either.hasRight()will returnfalseif this method returnstrue
- 
hasRightpublic boolean hasRight()Description copied from interface:EitherReturns if something has been set to the right field.Either.hasLeft()will returnfalseif this method returnstrue
- 
leftDescription copied from interface:EitherRetrieve the left value.May return nulleven whenEither.hasLeft()returns true. Also returnsnullif this is a right value.
- 
rightDescription copied from interface:EitherRetrieve the right value.May return nulleven whenEither.hasRight()returns true. Also returnsnullif this is a left value.
 
-