Skip navigation links
A B C E F G H I L M O R S T U W 

A

AbstractHttpResultWrapper<T,E> - Class in com.hubspot.algebra
 
AbstractHttpResultWrapper() - Constructor for class com.hubspot.algebra.AbstractHttpResultWrapper
 

B

build() - Method in class com.hubspot.algebra.HttpResultWrapper.Builder
Builds a new HttpResultWrapper.
builder() - Static method in class com.hubspot.algebra.HttpResultWrapper
Creates a builder for HttpResultWrapper.

C

caseOf(Result<SUCCESS_TYPE, ERROR_TYPE>) - Static method in class com.hubspot.algebra.Results
 
cases() - Static method in class com.hubspot.algebra.Results
 
com.hubspot.algebra - package com.hubspot.algebra
 
copyOf(AbstractHttpResultWrapper<T, E>) - Static method in class com.hubspot.algebra.HttpResultWrapper
Creates an immutable copy of a AbstractHttpResultWrapper value.

E

equals(Object) - Method in class com.hubspot.algebra.HttpResultWrapper
This instance is equal to all instances of HttpResultWrapper that have equal attribute values.
err(E, int) - Static method in class com.hubspot.algebra.AbstractHttpResultWrapper
 
err(ERROR_TYPE) - Static method in class com.hubspot.algebra.Result
 
err(Function<ERROR_TYPE, R>) - Method in class com.hubspot.algebra.Results.CaseOfMatchers.TotalMatcher_Err
 
err(Function<ERROR_TYPE, R>) - Method in class com.hubspot.algebra.Results.CasesMatchers.TotalMatcher_Err
 
err(ERROR_TYPE) - Static method in class com.hubspot.algebra.Results
 
err_(R) - Method in class com.hubspot.algebra.Results.CaseOfMatchers.TotalMatcher_Err
 
err_(R) - Method in class com.hubspot.algebra.Results.CasesMatchers.TotalMatcher_Err
 
expect(String) - Method in class com.hubspot.algebra.Result
 
expectErr(String) - Method in class com.hubspot.algebra.Result
 

F

flatMapOk(Function<SUCCESS_TYPE, Result<NEW_SUCCESS_TYPE, ERROR_TYPE>>) - Method in class com.hubspot.algebra.Result
 
from(AbstractHttpResultWrapper<T, E>) - Method in class com.hubspot.algebra.HttpResultWrapper.Builder
Fill a builder with attribute values from the provided AbstractHttpResultWrapper instance.

G

getErr(Result<SUCCESS_TYPE, ERROR_TYPE>) - Static method in class com.hubspot.algebra.Results
 
getErrResultMaybe() - Method in class com.hubspot.algebra.AbstractHttpResultWrapper
 
getErrResultMaybe() - Method in class com.hubspot.algebra.HttpResultWrapper
 
getHttpStatusCode() - Method in class com.hubspot.algebra.AbstractHttpResultWrapper
 
getHttpStatusCode() - Method in class com.hubspot.algebra.HttpResultWrapper
 
getOk(Result<SUCCESS_TYPE, ERROR_TYPE>) - Static method in class com.hubspot.algebra.Results
 
getOkResultMaybe() - Method in class com.hubspot.algebra.AbstractHttpResultWrapper
 
getOkResultMaybe() - Method in class com.hubspot.algebra.HttpResultWrapper
 
getStatusCode() - Method in interface com.hubspot.algebra.HttpError
 

H

hashCode() - Method in class com.hubspot.algebra.HttpResultWrapper
Computes a hash code from attributes: okResultMaybe, errResultMaybe, httpStatusCode.
HttpError - Interface in com.hubspot.algebra
 
HttpResultWrapper<T,E> - Class in com.hubspot.algebra
Immutable implementation of AbstractHttpResultWrapper.
HttpResultWrapper.Builder<T,E> - Class in com.hubspot.algebra
Builds instances of type HttpResultWrapper.

I

ifErr(Consumer<? super ERROR_TYPE>) - Method in class com.hubspot.algebra.Result
 
ifOk(Consumer<? super SUCCESS_TYPE>) - Method in class com.hubspot.algebra.Result
 
isErr() - Method in class com.hubspot.algebra.Result
 
isOk() - Method in class com.hubspot.algebra.Result
 

L

lazy(Supplier<Result<SUCCESS_TYPE, ERROR_TYPE>>) - Static method in class com.hubspot.algebra.Results
 

M

mapErr(Function<ERROR_TYPE, NEW_ERROR_TYPE>) - Method in class com.hubspot.algebra.Result
 
mapOk(Function<SUCCESS_TYPE, NEW_SUCCESS_TYPE>) - Method in class com.hubspot.algebra.Result
 
match(Function<ERROR_TYPE, R>, Function<SUCCESS_TYPE, R>) - Method in class com.hubspot.algebra.Result
 
modErr(Function<ERROR_TYPE, RERROR_TYPE>) - Static method in class com.hubspot.algebra.Results
 
modOk(Function<SUCCESS_TYPE, RSUCCESS_TYPE>) - Static method in class com.hubspot.algebra.Results
 

O

ok(T) - Static method in class com.hubspot.algebra.AbstractHttpResultWrapper
 
ok(SUCCESS_TYPE) - Static method in class com.hubspot.algebra.Result
 
ok(Function<SUCCESS_TYPE, R>) - Method in class com.hubspot.algebra.Results.CaseOfMatchers.TotalMatcher_Err
 
ok(Function<SUCCESS_TYPE, R>) - Method in class com.hubspot.algebra.Results.CaseOfMatchers.TotalMatcher_Ok
 
ok(Function<SUCCESS_TYPE, R>) - Method in class com.hubspot.algebra.Results.CasesMatchers.TotalMatcher_Err
 
ok(Function<SUCCESS_TYPE, R>) - Method in class com.hubspot.algebra.Results.CasesMatchers.TotalMatcher_Ok
 
ok(SUCCESS_TYPE) - Static method in class com.hubspot.algebra.Results
 
ok_(R) - Method in class com.hubspot.algebra.Results.CaseOfMatchers.TotalMatcher_Err
 
ok_(R) - Method in class com.hubspot.algebra.Results.CaseOfMatchers.TotalMatcher_Ok
 
ok_(R) - Method in class com.hubspot.algebra.Results.CasesMatchers.TotalMatcher_Err
 
ok_(R) - Method in class com.hubspot.algebra.Results.CasesMatchers.TotalMatcher_Ok
 
otherwise(Supplier<R>) - Method in class com.hubspot.algebra.Results.CaseOfMatchers.PartialMatcher
 
otherwise(Supplier<R>) - Method in class com.hubspot.algebra.Results.CasesMatchers.PartialMatcher
 
otherwise_(R) - Method in class com.hubspot.algebra.Results.CaseOfMatchers.PartialMatcher
 
otherwise_(R) - Method in class com.hubspot.algebra.Results.CasesMatchers.PartialMatcher
 
otherwiseEmpty() - Method in class com.hubspot.algebra.Results.CaseOfMatchers.PartialMatcher
 
otherwiseEmpty() - Method in class com.hubspot.algebra.Results.CasesMatchers.PartialMatcher
 

R

Result<SUCCESS_TYPE,ERROR_TYPE> - Class in com.hubspot.algebra
 
Results - Class in com.hubspot.algebra
 
Results.CaseOfMatchers - Class in com.hubspot.algebra
 
Results.CaseOfMatchers.PartialMatcher<SUCCESS_TYPE,ERROR_TYPE,R> - Class in com.hubspot.algebra
 
Results.CaseOfMatchers.TotalMatcher_Err<SUCCESS_TYPE,ERROR_TYPE> - Class in com.hubspot.algebra
 
Results.CaseOfMatchers.TotalMatcher_Ok<SUCCESS_TYPE,ERROR_TYPE,R> - Class in com.hubspot.algebra
 
Results.CasesMatchers - Class in com.hubspot.algebra
 
Results.CasesMatchers.PartialMatcher<SUCCESS_TYPE,ERROR_TYPE,R> - Class in com.hubspot.algebra
 
Results.CasesMatchers.TotalMatcher_Err<SUCCESS_TYPE,ERROR_TYPE> - Class in com.hubspot.algebra
 
Results.CasesMatchers.TotalMatcher_Ok<SUCCESS_TYPE,ERROR_TYPE,R> - Class in com.hubspot.algebra
 

S

setErr(RERROR_TYPE) - Static method in class com.hubspot.algebra.Results
 
setErrResultMaybe(E) - Method in class com.hubspot.algebra.HttpResultWrapper.Builder
Initializes the optional value errResultMaybe to errResultMaybe.
setErrResultMaybe(Optional<E>) - Method in class com.hubspot.algebra.HttpResultWrapper.Builder
Initializes the optional value errResultMaybe to errResultMaybe.
setHttpStatusCode(int) - Method in class com.hubspot.algebra.HttpResultWrapper.Builder
Initializes the value for the httpStatusCode attribute.
setOk(RSUCCESS_TYPE) - Static method in class com.hubspot.algebra.Results
 
setOkResultMaybe(T) - Method in class com.hubspot.algebra.HttpResultWrapper.Builder
Initializes the optional value okResultMaybe to okResultMaybe.
setOkResultMaybe(Optional<T>) - Method in class com.hubspot.algebra.HttpResultWrapper.Builder
Initializes the optional value okResultMaybe to okResultMaybe.

T

toString() - Method in class com.hubspot.algebra.HttpResultWrapper
Prints the immutable value HttpResultWrapper with attribute values.
toString() - Method in class com.hubspot.algebra.Result
 

U

unwrap() - Method in class com.hubspot.algebra.AbstractHttpResultWrapper
 
unwrapErrOrElseThrow(Supplier<? extends X>) - Method in class com.hubspot.algebra.Result
 
unwrapErrOrElseThrow(Function<SUCCESS_TYPE, ? extends X>) - Method in class com.hubspot.algebra.Result
 
unwrapErrOrElseThrow() - Method in class com.hubspot.algebra.Result
 
unwrapOrElseThrow(Supplier<? extends X>) - Method in class com.hubspot.algebra.Result
 
unwrapOrElseThrow(Function<ERROR_TYPE, ? extends X>) - Method in class com.hubspot.algebra.Result
 
unwrapOrElseThrow() - Method in class com.hubspot.algebra.Result
 

W

withErrResultMaybe(E) - Method in class com.hubspot.algebra.HttpResultWrapper
Copy the current immutable object by setting a present value for the optional errResultMaybe attribute.
withErrResultMaybe(Optional<E>) - Method in class com.hubspot.algebra.HttpResultWrapper
Copy the current immutable object by setting an optional value for the errResultMaybe attribute.
withHttpStatusCode(int) - Method in class com.hubspot.algebra.HttpResultWrapper
Copy the current immutable object by setting a value for the httpStatusCode attribute.
withOkResultMaybe(T) - Method in class com.hubspot.algebra.HttpResultWrapper
Copy the current immutable object by setting a present value for the optional okResultMaybe attribute.
withOkResultMaybe(Optional<T>) - Method in class com.hubspot.algebra.HttpResultWrapper
Copy the current immutable object by setting an optional value for the okResultMaybe attribute.
A B C E F G H I L M O R S T U W 
Skip navigation links

Copyright © 2018. All rights reserved.