Index
All Classes and Interfaces|All Packages|Constant Field Values
D
- de.fxlae.typeid - package de.fxlae.typeid
- de.fxlae.typeid.lib - package de.fxlae.typeid.lib
- de.fxlae.typeid.util - package de.fxlae.typeid.util
E
- encode(String, UUID) - Static method in class de.fxlae.typeid.lib.TypeIdLib
- equals(Object) - Method in record class de.fxlae.typeid.TypeId
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class de.fxlae.typeid.util.Validated.Invalid
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class de.fxlae.typeid.util.Validated.Valid
-
Indicates whether some other object is "equal to" this one.
F
- filter(String, Predicate<? super T>) - Method in interface de.fxlae.typeid.util.Validated
- filter(String, Predicate<? super T>) - Method in record class de.fxlae.typeid.util.Validated.Invalid
- filter(String, Predicate<? super T>) - Method in record class de.fxlae.typeid.util.Validated.Valid
- flatMap(Function<? super T, Validated<O>>) - Method in interface de.fxlae.typeid.util.Validated
-
Applies the provided mapping function if the value is valid, otherwise returns the current instance
- flatMap(Function<? super T, Validated<O>>) - Method in record class de.fxlae.typeid.util.Validated.Invalid
- flatMap(Function<? super T, Validated<O>>) - Method in record class de.fxlae.typeid.util.Validated.Valid
G
- generate() - Static method in record class de.fxlae.typeid.TypeId
-
Creates a new
TypeIdwithout prefix, based on UUIDv7. - generate(String) - Static method in record class de.fxlae.typeid.TypeId
-
Creates a new prefixed
TypeIdbased on UUIDv7. - get() - Method in interface de.fxlae.typeid.util.Validated
-
Returns the value if it's valid, otherwise throws.
- get() - Method in record class de.fxlae.typeid.util.Validated.Invalid
- get() - Method in record class de.fxlae.typeid.util.Validated.Valid
- getUuidV7() - Static method in class de.fxlae.typeid.lib.TypeIdLib
H
- hashCode() - Method in record class de.fxlae.typeid.TypeId
-
Returns a hash code value for this object.
- hashCode() - Method in record class de.fxlae.typeid.util.Validated.Invalid
-
Returns a hash code value for this object.
- hashCode() - Method in record class de.fxlae.typeid.util.Validated.Valid
-
Returns a hash code value for this object.
I
- ifInvalid(Consumer<String>) - Method in interface de.fxlae.typeid.util.Validated
-
Applies the message consuming function if the value is invalid, otherwise does nothing.
- ifInvalid(Consumer<String>) - Method in record class de.fxlae.typeid.util.Validated.Invalid
- ifInvalid(Consumer<String>) - Method in record class de.fxlae.typeid.util.Validated.Valid
- ifValid(Consumer<T>) - Method in interface de.fxlae.typeid.util.Validated
-
Applies the consuming function if the value is valid, otherwise does nothing.
- ifValid(Consumer<T>) - Method in record class de.fxlae.typeid.util.Validated.Invalid
- ifValid(Consumer<T>) - Method in record class de.fxlae.typeid.util.Validated.Valid
- invalid(String) - Static method in interface de.fxlae.typeid.util.Validated
-
Returns a new invalid
Validatedwith the given error message. - Invalid(String) - Constructor for record class de.fxlae.typeid.util.Validated.Invalid
-
Creates an instance of a
Invalidrecord class. - isValid() - Method in record class de.fxlae.typeid.util.Validated.Invalid
- isValid() - Method in interface de.fxlae.typeid.util.Validated
-
Returns
trueif the value is valid, otherwisefalse. - isValid() - Method in record class de.fxlae.typeid.util.Validated.Valid
M
- map(Function<? super T, ? extends O>) - Method in record class de.fxlae.typeid.util.Validated.Invalid
- map(Function<? super T, ? extends O>) - Method in interface de.fxlae.typeid.util.Validated
-
Applies the provided mapping function if the value is valid, otherwise returns the current instance
- map(Function<? super T, ? extends O>) - Method in record class de.fxlae.typeid.util.Validated.Valid
- message() - Method in record class de.fxlae.typeid.util.Validated.Invalid
-
Returns the value of the
messagerecord component. - message() - Method in interface de.fxlae.typeid.util.Validated
-
Returns the message if it's invalid, otherwise throws.
- message() - Method in record class de.fxlae.typeid.util.Validated.Valid
O
- of(String, UUID) - Static method in record class de.fxlae.typeid.TypeId
- of(UUID) - Static method in record class de.fxlae.typeid.TypeId
- orElse(T) - Method in record class de.fxlae.typeid.util.Validated.Invalid
- orElse(T) - Method in interface de.fxlae.typeid.util.Validated
-
Returns the value if valid, otherwise return
other. - orElse(T) - Method in record class de.fxlae.typeid.util.Validated.Valid
P
- parse(String) - Static method in record class de.fxlae.typeid.TypeId
-
Parses the textual representation of a TypeID and returns a
TypeIdinstance. - parse(String, BiFunction<String, UUID, T>, Function<String, T>) - Static method in class de.fxlae.typeid.lib.TypeIdLib
- parse(String, Function<TypeId, T>, Function<String, T>) - Static method in record class de.fxlae.typeid.TypeId
-
Parses the textual representation of a TypeID and executes a handler
Function, depending on the outcome. - parseToOptional(String) - Static method in record class de.fxlae.typeid.TypeId
-
Parses the textual representation of a TypeID and returns an
Optional. - parseToValidated(String) - Static method in record class de.fxlae.typeid.TypeId
-
Parses the textual representation of a TypeID and returns a
Validated. - prefix() - Method in record class de.fxlae.typeid.TypeId
-
Returns the value of the
prefixrecord component.
R
- requireValidPrefix(String) - Static method in class de.fxlae.typeid.lib.TypeIdLib
T
- toOptional() - Method in record class de.fxlae.typeid.util.Validated.Invalid
- toOptional() - Method in interface de.fxlae.typeid.util.Validated
- toOptional() - Method in record class de.fxlae.typeid.util.Validated.Valid
- toString() - Method in record class de.fxlae.typeid.TypeId
-
Returns the textual representation of this
TypeId. - toString() - Method in record class de.fxlae.typeid.util.Validated.Invalid
-
Returns a string representation of this record class.
- toString() - Method in record class de.fxlae.typeid.util.Validated.Valid
-
Returns a string representation of this record class.
- TypeId - Record Class in de.fxlae.typeid
-
A
recordfor representing TypeIDs. - TypeId(String, UUID) - Constructor for record class de.fxlae.typeid.TypeId
-
Creates an instance of a
TypeIdrecord class. - TypeIdLib - Class in de.fxlae.typeid.lib
U
- uuid() - Method in record class de.fxlae.typeid.TypeId
-
Returns the value of the
uuidrecord component.
V
- valid(T) - Static method in interface de.fxlae.typeid.util.Validated
-
Returns a new valid
Validatedwith the given value. - Valid(T) - Constructor for record class de.fxlae.typeid.util.Validated.Valid
-
Creates an instance of a
Validrecord class. - VALID_REF - Static variable in class de.fxlae.typeid.lib.TypeIdLib
- Validated<T> - Interface in de.fxlae.typeid.util
-
A container for a value that is either valid or not.
- Validated.Invalid<T> - Record Class in de.fxlae.typeid.util
-
Implementation of an "invalid
Validated". - Validated.Valid<T> - Record Class in de.fxlae.typeid.util
-
Implementation of a "valid
Validated". - value() - Method in record class de.fxlae.typeid.util.Validated.Valid
-
Returns the value of the
valuerecord component.
All Classes and Interfaces|All Packages|Constant Field Values