Skip navigation links
$ A B C D E F G H I L M P R S T V 

$

$(Object) - Static method in interface com.willhains.purity.SingleNumber
Convert a value into a BigDecimal via its Object.toString() value.
$(double) - Static method in interface com.willhains.purity.SingleNumber
 
$(long) - Static method in interface com.willhains.purity.SingleNumber
 

A

Adjust - Annotation Type in com.willhains.purity
Normalise the raw values of SingleString, SingleInt, SingleLong, SingleDecimal, or SingleDouble subclasses, to ensure their values are always valid.
asNumber() - Method in class com.willhains.purity.SingleDecimal
 
asNumber() - Method in class com.willhains.purity.SingleDouble
 
asNumber() - Method in class com.willhains.purity.SingleInt
 
asNumber() - Method in class com.willhains.purity.SingleLong
 
asNumber() - Method in interface com.willhains.purity.SingleNumber
 

B

Barrier - Annotation Type in com.willhains.purity
Indicates that a type has barrier semantics.

C

charAt(int) - Method in class com.willhains.purity.SingleString
 
charAt(IntSupplier) - Method in class com.willhains.purity.SingleString
 
com.willhains.purity - package com.willhains.purity
 
compareTo(This) - Method in class com.willhains.purity.SingleDecimal
 
compareTo(This) - Method in class com.willhains.purity.SingleDouble
 
compareTo(This) - Method in class com.willhains.purity.SingleInt
 
compareTo(This) - Method in class com.willhains.purity.SingleLong
 
compareTo(This) - Method in class com.willhains.purity.SingleString
 
compareToNumber(Number) - Method in class com.willhains.purity.SingleDecimal
 
compareToNumber(Number) - Method in class com.willhains.purity.SingleDouble
 
compareToNumber(double) - Method in class com.willhains.purity.SingleDouble
 
compareToNumber(Number) - Method in class com.willhains.purity.SingleInt
 
compareToNumber(int) - Method in class com.willhains.purity.SingleInt
 
compareToNumber(Number) - Method in class com.willhains.purity.SingleLong
 
compareToNumber(long) - Method in class com.willhains.purity.SingleLong
 
compareToNumber(Number) - Method in interface com.willhains.purity.SingleNumber
 

D

defensiveCopy(Raw) - Method in class com.willhains.purity.Single
Override this method if Raw is mutable.
DIGITS - Static variable in annotation type com.willhains.purity.Validate
Digit characters.
divideBy(Number) - Method in class com.willhains.purity.SingleDecimal
 
divideBy(Number) - Method in class com.willhains.purity.SingleDouble
 
divideBy(double) - Method in class com.willhains.purity.SingleDouble
 
divideBy(DoubleSupplier) - Method in class com.willhains.purity.SingleDouble
 
divideBy(Number) - Method in class com.willhains.purity.SingleInt
 
divideBy(int) - Method in class com.willhains.purity.SingleInt
 
divideBy(IntSupplier) - Method in class com.willhains.purity.SingleInt
 
divideBy(Number) - Method in class com.willhains.purity.SingleLong
 
divideBy(long) - Method in class com.willhains.purity.SingleLong
 
divideBy(LongSupplier) - Method in class com.willhains.purity.SingleLong
 
divideBy(Number) - Method in interface com.willhains.purity.SingleNumber
 
divideBy(Supplier<? extends Number>) - Method in interface com.willhains.purity.SingleNumber
 
divideBy(String) - Method in interface com.willhains.purity.SingleNumber
 

E

equals(Object) - Method in class com.willhains.purity.Single
 
equals(This) - Method in class com.willhains.purity.Single
 
equals(Object) - Method in class com.willhains.purity.SingleDecimal
 
equals(This) - Method in class com.willhains.purity.SingleDecimal
 
equals(Object) - Method in class com.willhains.purity.SingleDouble
 
equals(This) - Method in class com.willhains.purity.SingleDouble
 
equals(Object) - Method in class com.willhains.purity.SingleInt
 
equals(This) - Method in class com.willhains.purity.SingleInt
 
equals(Object) - Method in class com.willhains.purity.SingleLong
 
equals(This) - Method in class com.willhains.purity.SingleLong
 
equals(Object) - Method in class com.willhains.purity.SingleString
 
equals(This) - Method in class com.willhains.purity.SingleString
 

F

filter(Predicate<? super Raw>) - Method in class com.willhains.purity.Single
Test the raw value by condition.
filter(Predicate<? super BigDecimal>) - Method in class com.willhains.purity.SingleDecimal
Test the raw value by condition.
filter(DoublePredicate) - Method in class com.willhains.purity.SingleDouble
Test the raw value by condition.
filter(IntPredicate) - Method in class com.willhains.purity.SingleInt
Test the raw value by condition.
filter(LongPredicate) - Method in class com.willhains.purity.SingleLong
Test the raw value by condition.
filter(Predicate<? super String>) - Method in class com.willhains.purity.SingleString
Test the raw value by condition.
flatMap(Function<? super Raw, ? extends This>) - Method in class com.willhains.purity.Single
Construct a new value of this type with the raw underlying value converted by mapper.
flatMap(Function<? super BigDecimal, ? extends This>) - Method in class com.willhains.purity.SingleDecimal
Construct a new value of this type with the raw underlying value converted by mapper.
flatMap(DoubleFunction<? extends This>) - Method in class com.willhains.purity.SingleDouble
Construct a new value of this type with the raw underlying value converted by mapper.
flatMap(IntFunction<? extends This>) - Method in class com.willhains.purity.SingleInt
Construct a new value of this type with the raw underlying value converted by mapper.
flatMap(LongFunction<? extends This>) - Method in class com.willhains.purity.SingleLong
Construct a new value of this type with the raw underlying value converted by mapper.
flatMap(Function<? super String, ? extends This>) - Method in class com.willhains.purity.SingleString
Construct a new value of this type with the raw underlying value converted by mapper.
format(DecimalFormat) - Method in interface com.willhains.purity.SingleNumber
 
format(String) - Method in interface com.willhains.purity.SingleNumber
 

G

get() - Method in class com.willhains.purity.SingleDecimal
 
get() - Method in class com.willhains.purity.SingleString
 
getAsDouble() - Method in class com.willhains.purity.SingleDouble
 
getAsInt() - Method in class com.willhains.purity.SingleInt
 
getAsLong() - Method in class com.willhains.purity.SingleLong
 

H

hashCode() - Method in class com.willhains.purity.Single
 
hashCode(Object) - Static method in class com.willhains.purity.Single
Generate a hash code for object.
hashCode() - Method in class com.willhains.purity.SingleDecimal
 
hashCode() - Method in class com.willhains.purity.SingleDouble
 
hashCode() - Method in class com.willhains.purity.SingleInt
 
hashCode() - Method in class com.willhains.purity.SingleLong
 
hashCode() - Method in class com.willhains.purity.SingleString
 

I

IO - Annotation Type in com.willhains.purity
Indicates that a type has controller semantics.
is(Predicate<? super Raw>) - Method in class com.willhains.purity.Single
Test the raw value with condition.
is(Predicate<? super BigDecimal>) - Method in class com.willhains.purity.SingleDecimal
Test the raw value with condition.
is(DoublePredicate) - Method in class com.willhains.purity.SingleDouble
Test the raw value with condition.
is(IntPredicate) - Method in class com.willhains.purity.SingleInt
Test the raw value with condition.
is(LongPredicate) - Method in class com.willhains.purity.SingleLong
Test the raw value with condition.
is(Predicate<? super String>) - Method in class com.willhains.purity.SingleString
Test the raw value with condition.
isEmpty() - Method in class com.willhains.purity.SingleString
 
isGreaterThan(This) - Method in interface com.willhains.purity.SingleComparable
 
isGreaterThan(DoubleSupplier) - Method in class com.willhains.purity.SingleDouble
 
isGreaterThan(IntSupplier) - Method in class com.willhains.purity.SingleInt
 
isGreaterThan(LongSupplier) - Method in class com.willhains.purity.SingleLong
 
isGreaterThan(Number) - Method in interface com.willhains.purity.SingleNumber
 
isGreaterThan(Supplier<? extends Number>) - Method in interface com.willhains.purity.SingleNumber
 
isGreaterThanOrEqualTo(This) - Method in interface com.willhains.purity.SingleComparable
 
isGreaterThanOrEqualTo(DoubleSupplier) - Method in class com.willhains.purity.SingleDouble
 
isGreaterThanOrEqualTo(IntSupplier) - Method in class com.willhains.purity.SingleInt
 
isGreaterThanOrEqualTo(LongSupplier) - Method in class com.willhains.purity.SingleLong
 
isGreaterThanOrEqualTo(Number) - Method in interface com.willhains.purity.SingleNumber
 
isGreaterThanOrEqualTo(Supplier<? extends Number>) - Method in interface com.willhains.purity.SingleNumber
 
isLessThan(This) - Method in interface com.willhains.purity.SingleComparable
 
isLessThan(DoubleSupplier) - Method in class com.willhains.purity.SingleDouble
 
isLessThan(IntSupplier) - Method in class com.willhains.purity.SingleInt
 
isLessThan(LongSupplier) - Method in class com.willhains.purity.SingleLong
 
isLessThan(Number) - Method in interface com.willhains.purity.SingleNumber
 
isLessThan(Supplier<? extends Number>) - Method in interface com.willhains.purity.SingleNumber
 
isLessThanOrEqualTo(This) - Method in interface com.willhains.purity.SingleComparable
 
isLessThanOrEqualTo(DoubleSupplier) - Method in class com.willhains.purity.SingleDouble
 
isLessThanOrEqualTo(IntSupplier) - Method in class com.willhains.purity.SingleInt
 
isLessThanOrEqualTo(LongSupplier) - Method in class com.willhains.purity.SingleLong
 
isLessThanOrEqualTo(Number) - Method in interface com.willhains.purity.SingleNumber
 
isLessThanOrEqualTo(Supplier<? extends Number>) - Method in interface com.willhains.purity.SingleNumber
 
isNegative() - Method in class com.willhains.purity.SingleDecimal
 
isNegative() - Method in class com.willhains.purity.SingleDouble
 
isNegative() - Method in class com.willhains.purity.SingleInt
 
isNegative() - Method in class com.willhains.purity.SingleLong
 
isNegative() - Method in interface com.willhains.purity.SingleNumber
 
isNonZero() - Method in interface com.willhains.purity.SingleNumber
 
isNot(Predicate<? super Raw>) - Method in class com.willhains.purity.Single
isNot(Predicate<? super BigDecimal>) - Method in class com.willhains.purity.SingleDecimal
isNot(DoublePredicate) - Method in class com.willhains.purity.SingleDouble
isNot(IntPredicate) - Method in class com.willhains.purity.SingleInt
isNot(LongPredicate) - Method in class com.willhains.purity.SingleLong
isNot(Predicate<? super String>) - Method in class com.willhains.purity.SingleString
isNotEmpty() - Method in class com.willhains.purity.SingleString
 
isPositive() - Method in class com.willhains.purity.SingleDecimal
 
isPositive() - Method in class com.willhains.purity.SingleDouble
 
isPositive() - Method in class com.willhains.purity.SingleInt
 
isPositive() - Method in class com.willhains.purity.SingleLong
 
isPositive() - Method in interface com.willhains.purity.SingleNumber
 
isZero() - Method in class com.willhains.purity.SingleDecimal
 
isZero() - Method in class com.willhains.purity.SingleDouble
 
isZero() - Method in class com.willhains.purity.SingleInt
 
isZero() - Method in class com.willhains.purity.SingleLong
 
isZero() - Method in interface com.willhains.purity.SingleNumber
 

L

left(int) - Method in class com.willhains.purity.SingleString
 
left(IntSupplier) - Method in class com.willhains.purity.SingleString
 
length() - Method in class com.willhains.purity.SingleString
 
LetterCase - Enum in com.willhains.purity
Choices for transforming the case of string values.
LETTERS - Static variable in annotation type com.willhains.purity.Validate
Letters (of the English alphabet).

M

map(Function<? super Raw, ? extends Raw>) - Method in class com.willhains.purity.Single
Construct a new value of this type with the raw underlying value converted by mapper.
map(Function<? super BigDecimal, ? extends BigDecimal>) - Method in class com.willhains.purity.SingleDecimal
Construct a new value of this type with the raw underlying value converted by mapper.
map(DoubleUnaryOperator) - Method in class com.willhains.purity.SingleDouble
Construct a new value of this type with the raw underlying value converted by mapper.
map(IntUnaryOperator) - Method in class com.willhains.purity.SingleInt
Construct a new value of this type with the raw underlying value converted by mapper.
map(LongUnaryOperator) - Method in class com.willhains.purity.SingleLong
Construct a new value of this type with the raw underlying value converted by mapper.
map(Function<? super String, String>) - Method in class com.willhains.purity.SingleString
Construct a new value of this type with the raw underlying value converted by mapper.
max(This) - Method in interface com.willhains.purity.SingleComparable
 
min(This) - Method in interface com.willhains.purity.SingleComparable
 
minus(Number) - Method in class com.willhains.purity.SingleDecimal
 
minus(Number) - Method in class com.willhains.purity.SingleDouble
 
minus(double) - Method in class com.willhains.purity.SingleDouble
 
minus(DoubleSupplier) - Method in class com.willhains.purity.SingleDouble
 
minus(Number) - Method in class com.willhains.purity.SingleInt
 
minus(int) - Method in class com.willhains.purity.SingleInt
 
minus(IntSupplier) - Method in class com.willhains.purity.SingleInt
 
minus(Number) - Method in class com.willhains.purity.SingleLong
 
minus(long) - Method in class com.willhains.purity.SingleLong
 
minus(LongSupplier) - Method in class com.willhains.purity.SingleLong
 
minus(Number) - Method in interface com.willhains.purity.SingleNumber
 
minus(Supplier<? extends Number>) - Method in interface com.willhains.purity.SingleNumber
 
minus(String) - Method in interface com.willhains.purity.SingleNumber
 
multiplyBy(Number) - Method in class com.willhains.purity.SingleDecimal
 
multiplyBy(Number) - Method in class com.willhains.purity.SingleDouble
 
multiplyBy(double) - Method in class com.willhains.purity.SingleDouble
 
multiplyBy(DoubleSupplier) - Method in class com.willhains.purity.SingleDouble
 
multiplyBy(Number) - Method in class com.willhains.purity.SingleInt
 
multiplyBy(int) - Method in class com.willhains.purity.SingleInt
 
multiplyBy(IntSupplier) - Method in class com.willhains.purity.SingleInt
 
multiplyBy(Number) - Method in class com.willhains.purity.SingleLong
 
multiplyBy(long) - Method in class com.willhains.purity.SingleLong
 
multiplyBy(LongSupplier) - Method in class com.willhains.purity.SingleLong
 
multiplyBy(Number) - Method in interface com.willhains.purity.SingleNumber
 
multiplyBy(Supplier<? extends Number>) - Method in interface com.willhains.purity.SingleNumber
 
multiplyBy(String) - Method in interface com.willhains.purity.SingleNumber
 
Mutable - Annotation Type in com.willhains.purity
Indicates that a type has cache semantics.

P

plus(Number) - Method in class com.willhains.purity.SingleDecimal
 
plus(Number) - Method in class com.willhains.purity.SingleDouble
 
plus(double) - Method in class com.willhains.purity.SingleDouble
 
plus(DoubleSupplier) - Method in class com.willhains.purity.SingleDouble
 
plus(Number) - Method in class com.willhains.purity.SingleInt
 
plus(int) - Method in class com.willhains.purity.SingleInt
 
plus(IntSupplier) - Method in class com.willhains.purity.SingleInt
 
plus(Number) - Method in class com.willhains.purity.SingleLong
 
plus(long) - Method in class com.willhains.purity.SingleLong
 
plus(LongSupplier) - Method in class com.willhains.purity.SingleLong
 
plus(Number) - Method in interface com.willhains.purity.SingleNumber
 
plus(Supplier<? extends Number>) - Method in interface com.willhains.purity.SingleNumber
 
plus(String) - Method in interface com.willhains.purity.SingleNumber
 
Pure - Annotation Type in com.willhains.purity
Indicates that a type has pure value semantics.

R

raw() - Method in class com.willhains.purity.Single
Return the raw underlying value.
raw() - Method in class com.willhains.purity.SingleDecimal
Return the raw underlying value.
raw() - Method in class com.willhains.purity.SingleDouble
Return the raw underlying value.
raw() - Method in class com.willhains.purity.SingleInt
Return the raw underlying value.
raw() - Method in class com.willhains.purity.SingleLong
 
raw() - Method in class com.willhains.purity.SingleString
Return the raw underlying value.
Released - Annotation Type in com.willhains.purity
Indicates that a method argument or return value is not retained (stored in a field) by the method, or by any objects it calls.
replaceLiteral(CharSequence, CharSequence) - Method in class com.willhains.purity.SingleString
 
replaceLiteral(Supplier<String>, Supplier<String>) - Method in class com.willhains.purity.SingleString
 
replaceRegex(String, String) - Method in class com.willhains.purity.SingleString
 
replaceRegex(Supplier<String>, Supplier<String>) - Method in class com.willhains.purity.SingleString
 
Retained - Annotation Type in com.willhains.purity
Indicates that a method argument or return value may be retained by the method, or by one or more methods it calls.
Returned - Annotation Type in com.willhains.purity
Indicates that a method argument is not retained (stored in a field) by the method, or by any objects it calls, except those that are returned to the caller.
right(int) - Method in class com.willhains.purity.SingleString
 
right(IntSupplier) - Method in class com.willhains.purity.SingleString
 
round() - Method in class com.willhains.purity.SingleDecimal
 
round() - Method in class com.willhains.purity.SingleDouble
 
roundDown() - Method in class com.willhains.purity.SingleDecimal
 
roundDown() - Method in class com.willhains.purity.SingleDouble
 
roundToPrecision(int) - Method in class com.willhains.purity.SingleDecimal
 
roundUp() - Method in class com.willhains.purity.SingleDecimal
 
roundUp() - Method in class com.willhains.purity.SingleDouble
 

S

Single<Raw,This extends Single<Raw,This>> - Class in com.willhains.purity
A value type wrapping an underlying data type.
Single(Raw, Function<? super Raw, ? extends This>) - Constructor for class com.willhains.purity.Single
 
SingleComparable<This extends SingleComparable<This>> - Interface in com.willhains.purity
A Single value with a Comparable underlying value.
SingleDecimal<This extends SingleDecimal<This>> - Class in com.willhains.purity
A value type wrapping a BigDecimal.
SingleDecimal(BigDecimal, Function<? super BigDecimal, ? extends This>) - Constructor for class com.willhains.purity.SingleDecimal
 
SingleDecimal(double, Function<? super BigDecimal, ? extends This>) - Constructor for class com.willhains.purity.SingleDecimal
 
SingleDecimal(String, Function<? super BigDecimal, ? extends This>) - Constructor for class com.willhains.purity.SingleDecimal
 
SingleDouble<This extends SingleDouble<This>> - Class in com.willhains.purity
A primitive `double` version of Single.
SingleDouble(double, DoubleFunction<? extends This>) - Constructor for class com.willhains.purity.SingleDouble
 
SingleInt<This extends SingleInt<This>> - Class in com.willhains.purity
A primitive `int` version of Single.
SingleInt(int, IntFunction<? extends This>) - Constructor for class com.willhains.purity.SingleInt
 
SingleLong<This extends SingleLong<This>> - Class in com.willhains.purity
A primitive `long` version of Single.
SingleLong(long, LongFunction<? extends This>) - Constructor for class com.willhains.purity.SingleLong
SingleLong(long, LongFunction<? extends This>, boolean) - Constructor for class com.willhains.purity.SingleLong
 
SingleNumber<This extends SingleNumber<This>> - Interface in com.willhains.purity
A Single wrapping a numeric value.
SingleString<This extends SingleString<This>> - Class in com.willhains.purity
A value type wrapping a String.
SingleString(String, Function<? super String, ? extends This>) - Constructor for class com.willhains.purity.SingleString
 
subSequence(int, int) - Method in class com.willhains.purity.SingleString
 
subSequence(IntSupplier, IntSupplier) - Method in class com.willhains.purity.SingleString
 

T

toString() - Method in class com.willhains.purity.Single
Override this method to provide custom Object.toString() formatting.
toString(Object) - Static method in class com.willhains.purity.Single
Format a string to represent object.
toString() - Method in class com.willhains.purity.SingleDecimal
Override this method to provide custom Object.toString() formatting.
toString() - Method in class com.willhains.purity.SingleDouble
Override this method to provide custom Object.toString() formatting.
toString() - Method in class com.willhains.purity.SingleInt
Override this method to provide custom Object.toString() formatting.
toString() - Method in class com.willhains.purity.SingleLong
Override this method to provide custom Object.toString() formatting.
toString() - Method in class com.willhains.purity.SingleString
Override this method to provide custom Object.toString() formatting.
trim() - Method in class com.willhains.purity.SingleString
 
Trim - Enum in com.willhains.purity
Choices for trimming string values.

V

Validate - Annotation Type in com.willhains.purity
Validate the raw values of SingleString, SingleInt, SingleLong, SingleDecimal, or SingleDouble subclasses, to ensure their values are always valid.
ValidationPolicy - Enum in com.willhains.purity
Choices for what to do when validation fails.
valueOf(String) - Static method in enum com.willhains.purity.LetterCase
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.willhains.purity.Trim
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.willhains.purity.ValidationPolicy
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.willhains.purity.LetterCase
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.willhains.purity.Trim
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.willhains.purity.ValidationPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
$ A B C D E F G H I L M P R S T V 
Skip navigation links

Copyright © 2022. All rights reserved.