Package com.ocient.transport
Class TransportResult.SuccessTransportResult<T>
java.lang.Object
com.ocient.util.CompletableFutures.SuccessResult<T,TransportException>
com.ocient.transport.TransportResult.SuccessTransportResult<T>
- All Implemented Interfaces:
com.ibm.asyncutil.util.Either<T,,TransportException> TransportResult<T>,CompletableFutures.Result<T,TransportException>
- Enclosing interface:
- TransportResult<T>
public static class TransportResult.SuccessTransportResult<T>
extends CompletableFutures.SuccessResult<T,TransportException>
implements TransportResult<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.ocient.transport.TransportResult
TransportResult.FailedTransportResult<T>, TransportResult.SuccessTransportResult<T> -
Field Summary
Fields inherited from class com.ocient.util.CompletableFutures.SuccessResult
itemFields inherited from interface com.ocient.transport.TransportResult
VOID_TRANSPORT_RESULT, VOID_TRANSPORT_RESULT_FUTURE -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquality operator forTransportResult.SuccessTransportResult.inthashCode()Methods inherited from class com.ocient.util.CompletableFutures.SuccessResult
fold, get, getException, isLeft, isRight, orElseThrow, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.ocient.util.CompletableFutures.Result
equals, get, isException, isSuccess, orElseThrow, recoverMethods inherited from interface com.ibm.asyncutil.util.Either
flatMap, fold, forEach, isLeft, isRight, left, map, map, rightMethods inherited from interface com.ocient.transport.TransportResult
flatMapSuccess, getException, mapSuccess, mapSuccessAsync
-
Method Details
-
hashCode
public int hashCode()- Overrides:
hashCodein classCompletableFutures.SuccessResult<T,TransportException>
-
equals
Equality operator forTransportResult.SuccessTransportResult.- Overrides:
equalsin classCompletableFutures.SuccessResult<T,TransportException>
-