Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W Z _ 

A

AbstractComparisonPerformer<T> - Class in org.whaka.util.reflection.comparison.performers
Can be used to create 'named' performer.
AbstractComparisonPerformer(String) - Constructor for class org.whaka.util.reflection.comparison.performers.AbstractComparisonPerformer
 
AbstractDestroyable - Class in org.whaka.util
Abstract implementation of the Destroyable.
AbstractDestroyable() - Constructor for class org.whaka.util.AbstractDestroyable
 
AbstractDynamicPerformerBuilder<T,R extends ComparisonPerformer<?>> - Class in org.whaka.util.reflection.comparison.performers
Each dynamic performer builder contains a single instance of the DynamicComparisonPerformer class.
AbstractDynamicPerformerBuilder(Class<T>) - Constructor for class org.whaka.util.reflection.comparison.performers.AbstractDynamicPerformerBuilder
 
AbstractInitializable - Class in org.whaka.util
Abstract implementation of the Initializable.
AbstractInitializable() - Constructor for class org.whaka.util.AbstractInitializable
 
AbstractInitializableAndDestroyable - Class in org.whaka.util
Abstract implementation of both Initializable and Destroyable interfaces.
AbstractInitializableAndDestroyable() - Constructor for class org.whaka.util.AbstractInitializableAndDestroyable
 
AbstractRowCollector - Class in org.whaka.data.shuffle
Abstract implementation of the RowCollector interface.
AbstractRowCollector() - Constructor for class org.whaka.data.shuffle.AbstractRowCollector
 
accept(Target) - Method in class org.whaka.mock.EventCombiner
This method delegates specified target to the EventCombiner.getMethodCall() consumer along with captors received from EventCombiner.getCaptors().
accept(A, B) - Method in interface org.whaka.util.function.Consumer2
 
accept(A, B, C) - Method in interface org.whaka.util.function.Consumer3
 
accept(A, B, C, D) - Method in interface org.whaka.util.function.Consumer4
 
accept(A, B, C, D, E) - Method in interface org.whaka.util.function.Consumer5
 
accept(A, B) - Method in interface org.whaka.util.function.DangerousBiConsumer
 
accept(T) - Method in interface org.whaka.util.function.DangerousConsumer
 
addColumn(ColumnKey<T>, T...) - Method in class org.whaka.data.ColumnsBuilder
Equal to the ColumnsBuilder.addColumn(ColumnKey, Collection) with the specified data wrapped into Arrays.asList(Object...)
addColumn(ColumnKey<T>, Collection<T>) - Method in class org.whaka.data.ColumnsBuilder
Equal to the ColumnsBuilder.addColumn(Column) with a new Column instance being created using specified key and data.
addColumn(Column<?>) - Method in class org.whaka.data.ColumnsBuilder
Equal to the ColumnsBuilder.addColumn(Column, int) with current number of columns specified as index, so new column will be added at the end of the list.
addColumn(Column<?>, int) - Method in class org.whaka.data.ColumnsBuilder
Add specified column at the specified in the list.
addExcludingFilter(String) - Method in class org.whaka.util.reflection.comparison.performers.GettersDynamicPerformerBuilder
addExcludingFilter(Predicate<Method>) - Method in class org.whaka.util.reflection.comparison.performers.GettersDynamicPerformerBuilder
Specified filter will be stored in the set of excluding filters.
addFilter(String) - Method in class org.whaka.util.reflection.comparison.performers.GettersDynamicPerformerBuilder
GettersDynamicPerformerBuilder.PatternPredicate is created from the specified string and registered thru GettersDynamicPerformerBuilder.addFilter(Predicate) method.
addFilter(Predicate<Method>) - Method in class org.whaka.util.reflection.comparison.performers.GettersDynamicPerformerBuilder
Specified filter will be stored in the set of including filters.
addMessage(String, Object...) - Method in class org.whaka.asserts.AssertBuilder
String.format(String, Object...) is called for the specified message and arguments.
addProperty(String, Function<T, V>) - Method in class org.whaka.util.reflection.comparison.performers.PropertyDynamicPerformerBuilder
Instance of the FunctionalClassProperty will be created from the specified function, and stored in the builder.
addProperty(ClassProperty<V, T>) - Method in class org.whaka.util.reflection.comparison.performers.PropertyDynamicPerformerBuilder
Add specified property to the builder.
addProperty(String, Function<T, V>, ComparisonPerformer<? super V>) - Method in class org.whaka.util.reflection.comparison.performers.PropertyDynamicPerformerBuilder
Instance of the FunctionalClassProperty will be created from the specified function, and stored in the builder.
addProperty(ClassProperty<V, T>, ComparisonPerformer<? super V>) - Method in class org.whaka.util.reflection.comparison.performers.PropertyDynamicPerformerBuilder
Add specified property to the builder.
addRequirement(Predicate<Method>) - Method in class org.whaka.util.reflection.comparison.performers.GettersDynamicPerformerBuilder
Specified filter will be stored in the set of requirement filters.
addResult(AssertResult) - Method in class org.whaka.asserts.AssertBuilder
 
addResult(String, ComparisonResult) - Method in class org.whaka.util.reflection.comparison.ComplexComparisonResultBuilder
Store specified result.
addRowIfValid(int[]) - Method in class org.whaka.data.shuffle.AbstractRowCollector
 
addRowIfValid(int[]) - Method in interface org.whaka.data.shuffle.RowCollector
This method returns true if specified row is valid and added to the collection, or false otherwise.
allMatch(Predicate<? super UberMaps.Entry<K, V>>) - Method in class org.whaka.util.function.MapStream
 
allMatch(Predicate<? super T>) - Method in class org.whaka.util.function.UberStream
 
allOf(Predicate<T>...) - Static method in class org.whaka.util.UberPredicates
 
allOf(Collection<Predicate<T>>) - Static method in class org.whaka.util.UberPredicates
 
and(Predicate3<? super A, ? super B, ? super C>) - Method in interface org.whaka.util.function.Predicate3
 
and(Predicate4<? super A, ? super B, ? super C, ? super D>) - Method in interface org.whaka.util.function.Predicate4
 
and(Predicate5<? super A, ? super B, ? super C, ? super D, ? super E>) - Method in interface org.whaka.util.function.Predicate5
 
andThen(Consumer3<? super A, ? super B, ? super C>) - Method in interface org.whaka.util.function.Consumer3
 
andThen(Consumer4<? super A, ? super B, ? super C, ? super D>) - Method in interface org.whaka.util.function.Consumer4
 
andThen(Consumer5<? super A, ? super B, ? super C, ? super D, ? super E>) - Method in interface org.whaka.util.function.Consumer5
 
andThen(Function<? super R, ? extends V>) - Method in interface org.whaka.util.function.Function3
 
andThen(Function<? super R, ? extends V>) - Method in interface org.whaka.util.function.Function4
 
andThen(Function<? super R, ? extends V>) - Method in interface org.whaka.util.function.Function5
 
anyMatch(Predicate<? super UberMaps.Entry<K, V>>) - Method in class org.whaka.util.function.MapStream
 
anyMatch(Predicate<? super T>) - Method in class org.whaka.util.function.UberStream
 
anyOf(Predicate<T>...) - Static method in class org.whaka.util.UberPredicates
 
anyOf(Collection<Predicate<T>>) - Static method in class org.whaka.util.UberPredicates
 
apply(T[]) - Method in class org.whaka.data.NullStrategy
Specified array is cloned in any case.
apply(Collection<T>) - Method in class org.whaka.data.NullStrategy
Specified collection is copied into a list in any case.
apply(Columns) - Method in class org.whaka.data.shuffle.IndexShuffle
 
apply(Columns) - Method in class org.whaka.data.shuffle.pairwise.PairWise
 
apply(int[]) - Method in class org.whaka.data.shuffle.pairwise.SequentialStrategy
 
apply(A, B) - Method in interface org.whaka.util.function.DangerousBiFunction
 
apply(T) - Method in interface org.whaka.util.function.DangerousFunction
 
apply(A, B) - Method in interface org.whaka.util.function.Function2
 
apply(A, B, C) - Method in interface org.whaka.util.function.Function3
 
apply(A, B, C, D) - Method in interface org.whaka.util.function.Function4
 
apply(A, B, C, D, E) - Method in interface org.whaka.util.function.Function5
 
apply(T, T) - Method in interface org.whaka.util.reflection.comparison.ComparisonPerformer
 
apply(String, Object, Object) - Method in class org.whaka.util.reflection.comparison.ComplexComparisonResultBuilder
Perform comparison of the specified values using default performer, and store the result.
apply(String, X, X, ComparisonPerformer<? super X>) - Method in class org.whaka.util.reflection.comparison.ComplexComparisonResultBuilder
Perform comparison of the specified values using specified performer, and store the result.
apply(T[], T[]) - Method in class org.whaka.util.reflection.comparison.performers.ArrayComparisonPerformer
 
apply(T, T) - Method in class org.whaka.util.reflection.comparison.performers.CompositeComparisonPerformer
 
apply(Object, Object) - Method in class org.whaka.util.reflection.comparison.performers.DynamicComparisonPerformer
 
apply(List<? extends T>, List<? extends T>) - Method in class org.whaka.util.reflection.comparison.performers.ListComparisonPerformer
 
apply(Map<?, ? extends V>, Map<?, ? extends V>) - Method in class org.whaka.util.reflection.comparison.performers.MapComparisonPerformer
 
apply(Object, Object) - Method in class org.whaka.util.reflection.comparison.performers.ReflectiveComparisonPerformer
 
apply(Collection<? extends T>, Collection<? extends T>) - Method in class org.whaka.util.reflection.comparison.performers.SetComparisonPerformer
 
apply(T) - Method in class org.whaka.util.UberFunctions.DistinctFunctionProxy
 
array(ComparisonPerformer<? super T>) - Static method in class org.whaka.util.reflection.comparison.ComparisonPerformers
Create instance of the special case performer wrapper to handle arrays.
ARRAY_DELEGATE - Variable in class org.whaka.util.reflection.comparison.performers.ReflectiveComparisonPerformer
 
ArrayComparisonPerformer<T> - Class in org.whaka.util.reflection.comparison.performers
Compares elements of the list with corresponding indexes using specified delegate.
ArrayComparisonPerformer(ComparisonPerformer<? super T>) - Constructor for class org.whaka.util.reflection.comparison.performers.ArrayComparisonPerformer
 
asDouble(Number) - Static method in class org.whaka.util.DoubleMath
If specified number is null - returns null.
Assert - Class in org.whaka.asserts
Entry point for all the functionality in the "Assertion framework".
AssertBuilder - Class in org.whaka.asserts
Class provides ability to construct (or throw) an assert error with multiple assert results.
AssertBuilder() - Constructor for class org.whaka.asserts.AssertBuilder
 
AssertError - Error in org.whaka.asserts
Required to have at least one AssertResult.
AssertError(Collection<AssertResult>) - Constructor for error org.whaka.asserts.AssertError
 
assertFail(Matcher<? super Exception>) - Method in class org.whaka.util.Try
If this try is not successful - Assert.assertThat(Object, Matcher) is called with the specified matcher.
assertFail(Matcher<? super Exception>, String) - Method in class org.whaka.util.Try
If this try is not successful - Assert.assertThat(Object, Matcher, String) is called with the specified matcher and message.
assertFailIsInstanceOf(Class<? extends Exception>) - Method in class org.whaka.util.Try
If this try is not successful - check its cause is an instance of the specified class.
assertFailIsInstanceOf(Class<? extends Exception>, String) - Method in class org.whaka.util.Try
If this try is not successful - check its cause is an instance of the specified class.
assertFailNotExpected() - Method in class org.whaka.util.Try
If this try is not successful - throw an AssertError about its cause.
assertFailNotExpected(String) - Method in class org.whaka.util.Try
If this try is not successful - throw an AssertError about its cause.
assertInitialized() - Method in class org.whaka.util.AbstractInitializable
 
assertInitialized() - Method in class org.whaka.util.AbstractInitializableAndDestroyable
 
assertNotDestroyed() - Method in class org.whaka.util.AbstractDestroyable
 
AssertResult - Class in org.whaka.asserts
 
AssertResult() - Constructor for class org.whaka.asserts.AssertResult
 
AssertResult(String) - Constructor for class org.whaka.asserts.AssertResult
 
AssertResult(String, Throwable) - Constructor for class org.whaka.asserts.AssertResult
 
AssertResult(Object, Object, String) - Constructor for class org.whaka.asserts.AssertResult
 
AssertResult(Object, Object, String, Throwable) - Constructor for class org.whaka.asserts.AssertResult
 
assertThat(T, Matcher<T>) - Static method in class org.whaka.asserts.Assert
Performs assertion check of the specified item using hamcrest Matcher object.
assertThat(T, Matcher<T>, String) - Static method in class org.whaka.asserts.Assert
Performs assertion check of the specified item using hamcrest Matcher object.
assertThat(T, Matcher<T>, String, Throwable) - Static method in class org.whaka.asserts.Assert
Performs assertion check of the specified item using hamcrest Matcher object.
await(long, TimeUnit) - Method in class org.whaka.mock.LatchEventHandler
If this latch is open equal to calling CountDownLatch.await(long, TimeUnit) on the underlying latch
await(LongConsumer) - Method in interface org.whaka.util.Timeout
Specified operation is called with the value received from the Timeout.getMillis()
await(BiConsumer<Long, TimeUnit>) - Method in interface org.whaka.util.Timeout
Specified operation is called with the value received from the Timeout.getMillis() and the time unit: TimeUnit.MILLISECONDS
awaitAndClose(long, TimeUnit) - Method in class org.whaka.mock.LatchEventHandler
 
awaitAndGet(LongFunction<T>) - Method in interface org.whaka.util.Timeout
Specified function is applied to the value received from the Timeout.getMillis().
awaitAndGet(BiFunction<Long, TimeUnit, T>) - Method in interface org.whaka.util.Timeout
Specified function is applied to the value received from the Timeout.getMillis() and time unit: TimeUnit.MILLISECONDS.
awaitAndGetDangerous(DangerousFunction<Long, T, ?>, String) - Method in interface org.whaka.util.Timeout
Specified dangerous function is applied to the value received from the Timeout.getMillis().
awaitAndGetDangerous(DangerousBiFunction<Long, TimeUnit, T, ?>, String) - Method in interface org.whaka.util.Timeout
Specified dangerous function is applied to the value received from the Timeout.getMillis() and time unit: TimeUnit.MILLISECONDS.
awaitDangerous(DangerousConsumer<Long, ?>, String) - Method in interface org.whaka.util.Timeout
Specified dangerous operation is called with the value received from the Timeout.getMillis()
awaitDangerous(DangerousBiConsumer<Long, TimeUnit, ?>, String) - Method in interface org.whaka.util.Timeout
Specified dangerous operation is called with the value received from the Timeout.getMillis() and the time unit: TimeUnit.MILLISECONDS
awaitMillis(long) - Method in class org.whaka.mock.LatchEventHandler
Equal to await(long, TimeUnit) with specified timeout and TimeUnit.MILLISECONDS
awaitSeconds(int) - Method in class org.whaka.mock.LatchEventHandler
Equal to await(long, TimeUnit) with specified timeout and TimeUnit.SECONDS
awaitSecondsAndClose(int) - Method in class org.whaka.mock.LatchEventHandler
 

B

between(Number, Number) - Static method in class org.whaka.asserts.NumberMatchers
Matcher equivalent of the DoubleMath.compare(double, double) for two bound arguments.
betweenOrEqual(Number, Number) - Static method in class org.whaka.asserts.NumberMatchers
Matcher equivalent of the DoubleMath.compare(double, double) for two bound arguments.
build() - Method in class org.whaka.asserts.AssertBuilder
If this builder contains any assert results (see AssertBuilder.getAssertResults()) then an Optional containing new instance of an AssertError will be returned.
build() - Method in class org.whaka.data.ColumnsBuilder
Builder new Columns instance, using result of the ColumnsBuilder.getColumns() method as input data.
build(String) - Method in class org.whaka.util.MessageBuilder
 
build(String, Object...) - Method in class org.whaka.util.MessageBuilder
 
build(String, Map<String, Object>) - Static method in class org.whaka.util.MessageBuilder
 
build(T, T, ComparisonPerformer<? super T>) - Method in class org.whaka.util.reflection.comparison.ComplexComparisonResultBuilder
Build complex result using map of stored results.
build(String) - Method in class org.whaka.util.reflection.comparison.performers.AbstractDynamicPerformerBuilder
 
build(String) - Method in class org.whaka.util.reflection.comparison.performers.GettersDynamicPerformerBuilder
 
build(String) - Method in class org.whaka.util.reflection.comparison.performers.PropertyDynamicPerformerBuilder
 
builder() - Static method in class org.whaka.asserts.Assert
Create instance of the AssertBuilder.
buildGetters(Class<T>) - Static method in class org.whaka.util.reflection.comparison.ComparisonPerformers
Create instance of the GettersDynamicPerformerBuilder that filters in only public methods and with field GettersDynamicPerformerBuilder.DEFAULT_METHODS added as excluding predicate.
buildProperties(Class<T>) - Static method in class org.whaka.util.reflection.comparison.ComparisonPerformers
Create instance of the PropertyDynamicPerformerBuilder.

C

cast(Class) - Static method in class org.whaka.util.reflection.UberClasses
Specified type is caster to requested type.
chain(Predicate<? super E>...) - Static method in class org.whaka.mock.EventHandlers
Equal to the EventHandlers.chain(Collection) but with vararg for filter predicates.
chain(Collection<Predicate<? super E>>) - Static method in class org.whaka.mock.EventHandlers
Create an instance of the EventCollector.EventHandler that chain specified delegates so that next filter is called only if previous one had returned true.
ChainEventHandler<Event> - Class in org.whaka.mock
Implementation of the StreamHandler that chains registered delegates so that next filter is called only if previous one returned true.
ChainEventHandler(Collection<Predicate<? super Event>>) - Constructor for class org.whaka.mock.ChainEventHandler
 
checkThat(T, Matcher<T>) - Method in class org.whaka.asserts.AssertBuilder
Performs assertion check of the specified item using hamcrest Matcher object.
checkThat(T, Matcher<T>, String) - Method in class org.whaka.asserts.AssertBuilder
Performs assertion check of the specified item using hamcrest Matcher object.
checkThat(T, Matcher<T>, String, Throwable) - Method in class org.whaka.asserts.AssertBuilder
Performs assertion check of the specified item using hamcrest Matcher object.
ClassProperty<Type,TargetType> - Interface in org.whaka.util.reflection.properties
 
ClassPropertyExtractor<P extends ClassProperty<?,?>> - Interface in org.whaka.util.reflection.properties
 
ClassPropertyKey - Class in org.whaka.util.reflection.properties
Class describes the "point of access" to an object property.
ClassPropertyKey(String) - Constructor for class org.whaka.util.reflection.properties.ClassPropertyKey
Declaring class set as null.
ClassPropertyKey(String, Class<?>) - Constructor for class org.whaka.util.reflection.properties.ClassPropertyKey
 
ClassPropertyKey(Object, Class<?>) - Constructor for class org.whaka.util.reflection.properties.ClassPropertyKey
 
ClassPropertyStack - Class in org.whaka.util.reflection.properties
Class represents stack of property keys (or property calls).
ClassPropertyStack(ClassPropertyKey) - Constructor for class org.whaka.util.reflection.properties.ClassPropertyStack
 
ClassPropertyStack(ClassPropertyStack, ClassPropertyKey) - Constructor for class org.whaka.util.reflection.properties.ClassPropertyStack
 
clone() - Method in class org.whaka.util.UberMaps.Entry
 
close() - Method in class org.whaka.mock.LatchEventHandler
This latch is closed.
close() - Method in class org.whaka.util.function.MapStream
 
close() - Method in class org.whaka.util.function.UberStream
 
close() - Method in class org.whaka.util.Resource
 
close(AutoCloseable) - Static method in class org.whaka.util.UberCloser
Equal to UberCloser.close(AutoCloseable, String) with name produced from target object.
close(AutoCloseable, String) - Static method in class org.whaka.util.UberCloser
Equal to UberCloser.close(Object, DangerousConsumer, String) where dangerous operation is AutoCloseable.close()
close(Destroyable) - Static method in class org.whaka.util.UberCloser
Equal to UberCloser.close(Destroyable, String) with name produced from target object.
close(Destroyable, String) - Static method in class org.whaka.util.UberCloser
close(T, DangerousConsumer<T, ?>) - Static method in class org.whaka.util.UberCloser
Equal to UberCloser.close(Object, DangerousConsumer, String) with name produced from target object.
close(T, DangerousConsumer<T, ?>, String) - Static method in class org.whaka.util.UberCloser
If specified target is null - nothing happens.
CloseException(String, Throwable) - Constructor for exception org.whaka.util.UberCloser.CloseException
 
closeQuietly(AutoCloseable) - Static method in class org.whaka.util.UberCloser
Equal to UberCloser.closeQuietly(AutoCloseable, String) with name produced from target object.
closeQuietly(AutoCloseable, String) - Static method in class org.whaka.util.UberCloser
Equal to UberCloser.closeQuietly(Object, DangerousConsumer, String) where dangerous operation is AutoCloseable.close()
closeQuietly(Destroyable) - Static method in class org.whaka.util.UberCloser
Equal to UberCloser.closeQuietly(Destroyable, String) with name produced from target object.
closeQuietly(Destroyable, String) - Static method in class org.whaka.util.UberCloser
closeQuietly(T, DangerousConsumer<T, ?>) - Static method in class org.whaka.util.UberCloser
Equal to UberCloser.closeQuietly(Object, DangerousConsumer, String) with name produced from target object.
closeQuietly(T, DangerousConsumer<T, ?>, String) - Static method in class org.whaka.util.UberCloser
If specified target is null - nothing happens.
collect(Supplier<R>, BiConsumer<R, ? super UberMaps.Entry<K, V>>, BiConsumer<R, R>) - Method in class org.whaka.util.function.MapStream
 
collect(Collector<? super UberMaps.Entry<K, V>, A, R>) - Method in class org.whaka.util.function.MapStream
 
collect(Supplier<R>, BiConsumer<R, ? super T>, BiConsumer<R, R>) - Method in class org.whaka.util.function.UberStream
 
collect(Collector<? super T, A, R>) - Method in class org.whaka.util.function.UberStream
 
collectCallback(Consumer<E>) - Static method in class org.whaka.mock.EventHandlers
Method allows you to create a "listener" kind of handler that always returns true on test and calls specified consumer on EventCollector.EventHandler.eventCollected(Object) Equal to EventHandlers.functional(Predicate, Consumer) with a (p -> true) predicate.
Column<T> - Class in org.whaka.data
Class represents a column of data and to be used with the Columns.
Column(ColumnKey<T>, T...) - Constructor for class org.whaka.data.Column
Equal to Column.Column(ColumnKey, Collection) with specified data wrapped into Arrays.asList(Object...)
Column(ColumnKey<T>, Collection<T>) - Constructor for class org.whaka.data.Column
If specified collection is null - result column will contain empty list as data.
ColumnKey<T> - Class in org.whaka.data
Identifier to be used with classes: Column and Columns.
ColumnKey(Class<T>) - Constructor for class org.whaka.data.ColumnKey
Equal to ColumnKey.ColumnKey(Class, String) with null specified as name.
ColumnKey(Class<T>, String) - Constructor for class org.whaka.data.ColumnKey
 
Columns - Class in org.whaka.data
Class represents a "table" of data, as ordered collection of the Column instances.
Columns(Column<?>...) - Constructor for class org.whaka.data.Columns
Equal to Columns.Columns(Collection) with specified columns wrapped into Arrays.asList(Object...)
Columns(Collection<Column<?>>) - Constructor for class org.whaka.data.Columns
 
columns - Variable in class org.whaka.data.Columns
 
ColumnsBuilder - Class in org.whaka.data
Class provides mutable usability functionality to build Columns instance.
ColumnsBuilder() - Constructor for class org.whaka.data.ColumnsBuilder
 
Comparators - Class in org.whaka.util
 
compare(double, double) - Static method in class org.whaka.util.DoubleMath
 
compare(double, double, double) - Static method in class org.whaka.util.DoubleMath
 
comparePredicate(Comparator<T>) - Static method in class org.whaka.util.Comparators
Creates bi-predicate that calls #compare on specified comparator for each pair of arguments and returns true if comparator returns 0
ComparisonAssertResult - Class in org.whaka.asserts
 
ComparisonAssertResult(ComparisonResult) - Constructor for class org.whaka.asserts.ComparisonAssertResult
ComparisonAssertResult(ComparisonResult, String) - Constructor for class org.whaka.asserts.ComparisonAssertResult
Creates instance of the assert result with specified comparison result and message.
ComparisonFail - Class in org.whaka.util.reflection.comparison
Class represents always-failed result of comparison.
ComparisonFail(Object, Object, ComparisonPerformer<?>, Throwable) - Constructor for class org.whaka.util.reflection.comparison.ComparisonFail
 
ComparisonMatcher<T> - Class in org.whaka.asserts.matcher
Matcher implementation that allows to perform object comparison using ComparisonPerformer as delegate.
ComparisonMatcher(T, ComparisonPerformer<? super T>) - Constructor for class org.whaka.asserts.matcher.ComparisonMatcher
 
ComparisonPerformer<T> - Interface in org.whaka.util.reflection.comparison
Comparison performer represents both a BiFunction that converts two instances of the same type into a ComparisonResult, and a BiPredicate that converts two instances of the same type into a boolean answer.
ComparisonPerformers - Class in org.whaka.util.reflection.comparison
Class provides entry-point to the performers package and easy-access for its elements.
ComparisonResult - Class in org.whaka.util.reflection.comparison
Instance of this class represents single result of performed comparison for two objects.
ComparisonResult(Object, Object, ComparisonPerformer<?>, boolean) - Constructor for class org.whaka.util.reflection.comparison.ComparisonResult
 
ComplexComparisonResult - Class in org.whaka.util.reflection.comparison
Instance of this class represents 'complex' recursive result of performed comparison for two objects.
ComplexComparisonResult(Object, Object, ComparisonPerformer<?>, Map<ClassPropertyKey, ComparisonResult>) - Constructor for class org.whaka.util.reflection.comparison.ComplexComparisonResult
Construct complex result using specified map of sub results.
ComplexComparisonResultBuilder<T> - Class in org.whaka.util.reflection.comparison
Class provides functionality to build complex comparison results for a single type.
ComplexComparisonResultBuilder(Class<? super T>) - Constructor for class org.whaka.util.reflection.comparison.ComplexComparisonResultBuilder
 
CompositeComparisonPerformer<T> - Class in org.whaka.util.reflection.comparison.performers
Composite performer allows you to register multiple comparison performers for different properties of the compared object beforehand.
CompositeComparisonPerformer(String, Map<ClassPropertyKey, ComparisonPerformer<T>>) - Constructor for class org.whaka.util.reflection.comparison.performers.CompositeComparisonPerformer
 
configureDynamicPerformer(Consumer<DynamicComparisonPerformer>) - Method in class org.whaka.util.reflection.comparison.performers.AbstractDynamicPerformerBuilder
Specified consumer receives result of the AbstractDynamicPerformerBuilder.getDynamicPerformer() method.
ConsistencyMatcher<T> - Class in org.whaka.asserts.matcher
This Matcher will check that tested 'item' and predefined 'value' are either both consistently match specified delegate matcher, or both consistently doesn't match it.
ConsistencyMatcher(T, Matcher<? super T>) - Constructor for class org.whaka.asserts.matcher.ConsistencyMatcher
 
consistentWith(T, Matcher<? super T>) - Static method in class org.whaka.asserts.UberMatchers
Create a matcher that will check that tested item and specified value are either both consistently matched, or both consistently not matched by the specified matcher.
Consumer2<A,B> - Interface in org.whaka.util.function
Equal to BiConsumer.
Consumer3<A,B,C> - Interface in org.whaka.util.function
Equal to BiConsumer, but with 3 arguments.
Consumer4<A,B,C,D> - Interface in org.whaka.util.function
Equal to BiConsumer, but with 4 arguments.
Consumer5<A,B,C,D,E> - Interface in org.whaka.util.function
Equal to BiConsumer, but with 5 arguments.
contains(Collection<? extends T>, T, BiPredicate<T, T>) - Static method in class org.whaka.util.UberCollections
Equal to UberCollections.containsAny(Collection, Collection, BiPredicate) with element wrapped into singleton list.
containsAll(Collection<? extends T>, Collection<? extends T>) - Static method in class org.whaka.util.UberCollections
 
containsAll(Collection<? extends T>, Collection<? extends T>, BiPredicate<T, T>) - Static method in class org.whaka.util.UberCollections
 
containsAny(Collection<? extends T>, Collection<? extends T>) - Static method in class org.whaka.util.UberCollections
 
containsAny(Collection<? extends T>, Collection<? extends T>, BiPredicate<T, T>) - Static method in class org.whaka.util.UberCollections
 
containsEqualElements(Collection<? extends T>, Collection<? extends T>) - Static method in class org.whaka.util.UberCollections
Elements order is not important
containsEqualElements(Collection<? extends T>, Collection<? extends T>, BiPredicate<T, T>) - Static method in class org.whaka.util.UberCollections
Elements order is not important
convert(Matcher<T>, Function<V, T>) - Static method in class org.whaka.asserts.UberMatchers
Create a matcher that will apply specified function to the received value and then delegate result to the specified matcher delegate.
count() - Method in class org.whaka.util.function.MapStream
 
count() - Method in class org.whaka.util.function.UberStream
 
counter(long, boolean) - Static method in class org.whaka.util.UberPredicates
Create a predicate that will return specified N numbers of specified value.
create(String) - Static method in class org.whaka.asserts.matcher.RegexpMatcher
Creates new instance of the RegexpMatcher with a new Pattern created from the specified string.
create(Pattern) - Static method in class org.whaka.asserts.matcher.RegexpMatcher
Creates new instance of the RegexpMatcher with specified pattern.
create(Class<A>, A...) - Static method in class org.whaka.data.Column
 
create(Class<A>, Collection<A>) - Static method in class org.whaka.data.Column
 
create(Class<T>, BiConsumer<T, E>, Predicate<? super E>...) - Static method in class org.whaka.mock.EventCollector
Equal to the EventCollector.create(Class, BiConsumer, Collection) but with vararg for predicate filters.
create(Class<T>, BiConsumer<T, E>, Collection<Predicate<? super E>>) - Static method in class org.whaka.mock.EventCollector
Create an event collector that contains mock instance of the specified target class with a one method stubbed.
create(Class<T>, EventCombiner<T, E>, Predicate<? super E>...) - Static method in class org.whaka.mock.EventCollector
Equal to the EventCollector.create(Class, EventCombiner, Collection) but with vararg for predicate filters.
create(Class<T>, EventCombiner<T, E>, Collection<Predicate<? super E>>) - Static method in class org.whaka.mock.EventCollector
Create collector that will contain a mock of the specified target type, if will also stub the method represented by the specified EventCombiner, and all the events will be filtered by specified predicates.
create(BiConsumer<T, E>) - Static method in class org.whaka.mock.EventCombiner
The easiest way to create a combiner that generates a single captor and captures a single argument.
create(Consumer3<T, A, B>) - Static method in class org.whaka.mock.EventCombiner
The easiest way to create a combiner that generates two captors and captures two sequential arguments.
create(Consumer4<T, A, B, C>) - Static method in class org.whaka.mock.EventCombiner
The easiest way to create a combiner that generates three captors and captures three sequential arguments.
create(Consumer5<T, A, B, C, D>) - Static method in class org.whaka.mock.EventCombiner
The easiest way to create a combiner that generates four captors and captures four sequential arguments.
create(T, DangerousConsumer<T, E>) - Static method in class org.whaka.util.Resource
Create new resource wrapper for specified actual resource and specified close operation for the resource.
create(long) - Static method in interface org.whaka.util.Timeout
New instance of the Timeout is created with the specified milliseconds value.
createArrayClass(Class<?>, int) - Static method in class org.whaka.util.UberArrays
 
createKey(String) - Method in class org.whaka.util.reflection.comparison.ComplexComparisonResultBuilder
Creates key with the specified name and the type specified at the constructor
createStack(ClassPropertyKey...) - Static method in class org.whaka.util.reflection.properties.ClassPropertyStack
 
createWithCause(ComparisonResult) - Static method in class org.whaka.asserts.ComparisonAssertResult
createWithCause(ComparisonResult, String) - Static method in class org.whaka.asserts.ComparisonAssertResult
Method additionally checks whether specified result is an instance of the ComparisonFail and if so - copies cause exception from the comparison result to assert result.

D

DangerousBiConsumer<A,B,E extends java.lang.Exception> - Interface in org.whaka.util.function
 
DangerousBiFunction<A,B,R,E extends java.lang.Exception> - Interface in org.whaka.util.function
 
DangerousConsumer<T,E extends java.lang.Exception> - Interface in org.whaka.util.function
 
DangerousFunction<T,R,E extends java.lang.Exception> - Interface in org.whaka.util.function
 
DangerousRunnable<E extends java.lang.Exception> - Interface in org.whaka.util.function
 
DangerousSupplier<T,E extends java.lang.Exception> - Interface in org.whaka.util.function
 
data - Variable in class org.whaka.data.Column
 
DEEP_EQUALS - Static variable in class org.whaka.util.reflection.comparison.ComparisonPerformers
Basic performer that performs Objects.deepEquals(Object, Object) and returns basic ComparisonResult.
DEEP_EQUALS_PREDICATE - Static variable in class org.whaka.util.UberCollections
If both objects are collections - UberCollections.containsEqualElements(Collection, Collection, BiPredicate) is performed with this predicate.
deepEqualsPredicate() - Static method in class org.whaka.util.UberCollections
 
deeplyEqualTo(T) - Static method in class org.whaka.asserts.UberMatchers
Create a matcher that will check that tested item and specified value are equal according to the ComparisonPerformers.DEEP_EQUALS performer.
DEFAULT_METHODS - Static variable in class org.whaka.util.reflection.comparison.performers.GettersDynamicPerformerBuilder
Regexp string that matches four methods: clone getClass hashCode toString Field is implemented as a String so any of these four methods will be matched even if overriden in a subclass.
descends(Class<?>, Class<?>) - Static method in class org.whaka.util.reflection.UberClasses
Returns true if 'a' descends from 'b'.
describeTo(Description) - Method in class org.whaka.asserts.matcher.ComparisonMatcher
 
describeTo(Description) - Method in class org.whaka.asserts.matcher.ConsistencyMatcher
 
describeTo(Description) - Method in class org.whaka.asserts.matcher.FunctionalMatcher
 
describeTo(Description) - Method in class org.whaka.asserts.matcher.RegexpMatcher
 
describeTo(Description) - Method in class org.whaka.asserts.matcher.ThrowableMatcher
 
destroy() - Method in class org.whaka.util.AbstractDestroyable
 
destroy() - Method in interface org.whaka.util.Destroyable
This method may be called to ask instance to release any locked resources and to prepare itself to be properly garbage collected.
Destroyable - Interface in org.whaka.util
This interface adds "destruction" context to an implementing class.
distinct() - Method in class org.whaka.util.function.MapStream
 
distinct() - Method in class org.whaka.util.function.UberStream
 
distinct(Function<T, R>) - Static method in class org.whaka.util.UberFunctions
 
distinct(Predicate<T>) - Static method in class org.whaka.util.UberPredicates
 
DistinctFunctionProxy(Function<T, R>) - Constructor for class org.whaka.util.UberFunctions.DistinctFunctionProxy
 
DistinctFunctionProxy(Function<T, R>, BiPredicate<T, T>) - Constructor for class org.whaka.util.UberFunctions.DistinctFunctionProxy
 
DistinctPredicateProxy(Predicate<T>) - Constructor for class org.whaka.util.UberPredicates.DistinctPredicateProxy
 
DistinctPredicateProxy(Predicate<T>, BiPredicate<T, T>) - Constructor for class org.whaka.util.UberPredicates.DistinctPredicateProxy
 
distinctValues() - Method in class org.whaka.util.function.MapStream
Only the entries with unique value are preserved in the stream.
doDestroy() - Method in class org.whaka.util.AbstractDestroyable
This method will be called only when AbstractDestroyable.destroy() is called for the first time.
doInitialize() - Method in class org.whaka.util.AbstractInitializable
This method will be called only when AbstractInitializable.initialize() is called for the first time.
doInitialize() - Method in class org.whaka.util.AbstractInitializableAndDestroyable
This method will be called only when AbstractInitializableAndDestroyable.initialize() is called for the first time.
DOUBLE_MATH_EQUALS - Static variable in class org.whaka.util.reflection.comparison.ComparisonPerformers
Performer uses DoubleMath.equals(Double, Double) to compare any specified numbers as doubles.
DoubleMath - Class in org.whaka.util
Class provides static utility methods to perform simple numerical operations on double value.
drop(Predicate<? super UberMaps.Entry<K, V>>) - Method in class org.whaka.util.function.MapStream
All the entries that do match specified predicate are removed from the stream.
drop(BiPredicate<K, V>) - Method in class org.whaka.util.function.MapStream
Each entry in the stream are matched as key/value pair against the specified predicate.
drop(Predicate<? super T>) - Method in class org.whaka.util.function.UberStream
Filter out all elements that match specified predicate.
dropKey(Predicate<? super K>) - Method in class org.whaka.util.function.MapStream
All the entries where key matches specified predicate are removed from the stream.
dropNulls() - Method in class org.whaka.util.function.UberStream
Filter out all null elements.
dropValue(Predicate<? super V>) - Method in class org.whaka.util.function.MapStream
All the entries where value matches specified predicate are removed from the stream.
DynamicComparisonPerformer - Class in org.whaka.util.reflection.comparison.performers
This performer allows you to register delegates that will be dynamically selected at the moment of execution.
DynamicComparisonPerformer() - Constructor for class org.whaka.util.reflection.comparison.performers.DynamicComparisonPerformer
 

E

eliminateCollections(Object[]) - Static method in class org.whaka.util.UberArrays
This method will recursively convert any collection contained in the specified array into an object array
entries - Variable in class org.whaka.data.Row
 
entry(Map.Entry<K, V>) - Static method in class org.whaka.util.UberMaps
Create instance of the UberMaps.Entry with key and value from the specified entry.
entry(K, V) - Static method in class org.whaka.util.UberMaps
Create instance of the UberMaps.Entry that implements Map.Entry.
Entry(K, V) - Constructor for class org.whaka.util.UberMaps.Entry
 
equals(Object) - Method in error org.whaka.asserts.AssertError
 
equals(Object) - Method in class org.whaka.asserts.AssertResult
 
equals(Object) - Method in class org.whaka.asserts.ComparisonAssertResult
 
equals(Double, Double) - Static method in class org.whaka.util.DoubleMath
 
equals(Double, Double, double) - Static method in class org.whaka.util.DoubleMath
 
equals(Object) - Method in class org.whaka.util.function.Tuple2
 
equals(Object) - Method in class org.whaka.util.function.Tuple3
 
equals(Object) - Method in class org.whaka.util.function.Tuple4
 
equals(Object) - Method in class org.whaka.util.function.Tuple5
 
equals(Object) - Method in class org.whaka.util.reflection.comparison.ComparisonFail
 
equals(Object) - Method in class org.whaka.util.reflection.comparison.ComparisonResult
 
equals(Object) - Method in class org.whaka.util.reflection.comparison.ComplexComparisonResult
 
equals(Object) - Method in class org.whaka.util.reflection.comparison.performers.GettersDynamicPerformerBuilder.PatternPredicate
 
equals(Object) - Method in class org.whaka.util.reflection.properties.ClassPropertyKey
 
equals(Object) - Method in class org.whaka.util.reflection.properties.ClassPropertyStack
 
equals(Object) - Method in class org.whaka.util.reflection.properties.FieldClassProperty
 
equals(Object) - Method in class org.whaka.util.reflection.properties.GetterClassProperty
 
equals(Object) - Method in class org.whaka.util.UberMaps.Entry
 
equalTo(Number) - Static method in class org.whaka.asserts.NumberMatchers
Matcher equivalent of the DoubleMath.equals(Double, Double).
equalTo(T, ComparisonPerformer<? super T>) - Static method in class org.whaka.asserts.UberMatchers
Create a matcher that will check that tested item and specified value are equal according to the specified ComparisonPerformer.
eventCollected(Event) - Method in class org.whaka.mock.ChainEventHandler
 
eventCollected(Event) - Method in interface org.whaka.mock.EventCollector.EventHandler
This method is called by an EventCollector when new captured event has passed ALL filters and already got collected.
eventCollected(Object) - Method in class org.whaka.mock.LatchEventHandler
If this latch is open this method counts underlying latch down for any argument
EventCollector<Target,Event> - Class in org.whaka.mock
Class allows you easily create a mock of the specified type that stubs a single specified method.
EventCollector.EventHandler<Event> - Interface in org.whaka.mock
This interface represents a kind of an event filter that also gets notified when event is collected.
EventCombiner<Target,Event> - Class in org.whaka.mock
Class represents an abstraction that performs a call to a stubbed mock method at one and, and combines captured arguments into a single "event" at another end.
EventHandlers - Class in org.whaka.mock
Class provides a usability factory front for various implementations of Predicate and EventHandlers interfaces used to configure event collection with EventCollector.
extractAll(Class<?>) - Method in interface org.whaka.util.reflection.properties.ClassPropertyExtractor
 
extractAll(Class<?>) - Method in class org.whaka.util.reflection.properties.FieldsExtractor
 
extractAll(Class<?>) - Method in class org.whaka.util.reflection.properties.GettersExtractor
 

F

fail(String, Object...) - Static method in class org.whaka.asserts.Assert
Create message with arguments and throw AssertError immediately.
FieldClassProperty<Type,TargetType> - Class in org.whaka.util.reflection.properties
 
FieldClassProperty(Field) - Constructor for class org.whaka.util.reflection.properties.FieldClassProperty
 
FieldsExtractor - Class in org.whaka.util.reflection.properties
 
FieldsExtractor() - Constructor for class org.whaka.util.reflection.properties.FieldsExtractor
 
filter(Predicate<? super UberMaps.Entry<K, V>>) - Method in class org.whaka.util.function.MapStream
 
filter(BiPredicate<K, V>) - Method in class org.whaka.util.function.MapStream
Each entry in the stream are matched as key/value pair against the specified predicate.
filter(Predicate<? super T>) - Method in class org.whaka.util.function.UberStream
 
filterByClass(Class<R>) - Method in class org.whaka.util.function.UberStream
Filter only instances of the specified class (or nulls) and cast them to the specified type.
filterKey(Predicate<? super K>) - Method in class org.whaka.util.function.MapStream
Filter out only the entries where key matches specified predicate.
filterKeyByClass(Class<R>) - Method in class org.whaka.util.function.MapStream
Filter only the keys that are instances of the specified class (or nulls) and cast them to the specified type.
filterValue(Predicate<? super V>) - Method in class org.whaka.util.function.MapStream
Filter out only the entries where value matches specified predicate.
filterValueByClass(Class<R>) - Method in class org.whaka.util.function.MapStream
Filter only the values that are instances of the specified class (or nulls) and cast them to the specified type.
find(Predicate<? super UberMaps.Entry<K, V>>) - Method in class org.whaka.util.function.MapStream
Find first entry that matches specified predicate.
find(Predicate<? super T>) - Method in class org.whaka.util.function.UberStream
Find first element matching specified predicate.
findAny() - Method in class org.whaka.util.function.MapStream
 
findAny() - Method in class org.whaka.util.function.UberStream
 
findByKey(K) - Method in class org.whaka.util.function.MapStream
Find first entry where key is equal to the specified object.
findFirst() - Method in class org.whaka.util.function.MapStream
 
findFirst() - Method in class org.whaka.util.function.UberStream
 
findKey(Predicate<? super K>) - Method in class org.whaka.util.function.MapStream
Find first entry where key matches specified predicate.
findRegisteredDelegate(Object, Object) - Method in class org.whaka.util.reflection.comparison.performers.DynamicComparisonPerformer
If any registered delegate is matched - it will be returned first.
finite() - Static method in class org.whaka.asserts.NumberMatchers
Matcher equivalent of the DoubleMath.isFinite(Double).
flatMap(Function<? super UberMaps.Entry<K, V>, ? extends Stream<? extends R>>) - Method in class org.whaka.util.function.MapStream
 
flatMap(Function<? super T, ? extends Stream<? extends R>>) - Method in class org.whaka.util.function.UberStream
 
flatMapArr(Function<? super T, R[]>) - Method in class org.whaka.util.function.UberStream
Maps each element of the stream into array and them flattens result stream.
flatMapCol(Function<? super T, ? extends Collection<? extends R>>) - Method in class org.whaka.util.function.UberStream
Maps each element of the stream into collection and them flattens result stream.
flatMapEntry(Function<? super UberMaps.Entry<K, V>, ? extends Map<K2, V2>>) - Method in class org.whaka.util.function.MapStream
Each entry in the stream is mapped by the specified function into another map.
flatMapKey(Function<? super K, ? extends Collection<? extends K2>>) - Method in class org.whaka.util.function.MapStream
For each entry in the stream - key is mapped by the specified function into a collection.
flatMapToDouble(Function<? super UberMaps.Entry<K, V>, ? extends DoubleStream>) - Method in class org.whaka.util.function.MapStream
 
flatMapToDouble(Function<? super T, ? extends DoubleStream>) - Method in class org.whaka.util.function.UberStream
 
flatMapToInt(Function<? super UberMaps.Entry<K, V>, ? extends IntStream>) - Method in class org.whaka.util.function.MapStream
 
flatMapToInt(Function<? super T, ? extends IntStream>) - Method in class org.whaka.util.function.UberStream
 
flatMapToLong(Function<? super UberMaps.Entry<K, V>, ? extends LongStream>) - Method in class org.whaka.util.function.MapStream
 
flatMapToLong(Function<? super T, ? extends LongStream>) - Method in class org.whaka.util.function.UberStream
 
flatten() - Method in class org.whaka.util.reflection.comparison.ComplexComparisonResult
Method creates flat representation of the property results.
flatten(ClassPropertyStack) - Method in class org.whaka.util.reflection.comparison.ComplexComparisonResult
Analogue of the ComplexComparisonResult.flatten() method, but all the keys in the result map will contains specified stack as parent.
forCaptor(BiConsumer<T, ArgumentCaptor<E>>) - Static method in class org.whaka.mock.EventCombiner
Pure form of the event collector (backed by the EventCombiner.create(BiConsumer) method) allows to stub only methods with one argument.
forCaptors(int, BiConsumer<T, ArgumentCaptor<?>[]>, Function<Object[], E>) - Static method in class org.whaka.mock.EventCombiner
Basic factory method for an EventCombiner (see class documentation for basic understanding).
forEach(Consumer<? super UberMaps.Entry<K, V>>) - Method in class org.whaka.util.function.MapStream
 
forEach(BiConsumer<K, V>) - Method in class org.whaka.util.function.MapStream
Each entry in the stream are passed as key/value pair into the specified consumer.
forEach(Consumer<? super T>) - Method in class org.whaka.util.function.UberStream
 
forEachKey(Consumer<? super K>) - Method in class org.whaka.util.function.MapStream
Specified consumer are called for each key in the stream.
forEachOrdered(Consumer<? super UberMaps.Entry<K, V>>) - Method in class org.whaka.util.function.MapStream
 
forEachOrdered(Consumer<? super T>) - Method in class org.whaka.util.function.UberStream
 
forEachValue(Consumer<? super V>) - Method in class org.whaka.util.function.MapStream
Specified consumer are called for each value in the stream.
forValues(int, BiConsumer<T, Object[]>, Function<Object[], E>) - Static method in class org.whaka.mock.EventCombiner
Basically equal to the EventCombiner.forCaptors(int, BiConsumer, Function) with only difference that specified BiPredicate method call receives an array of matchers (Object[]) instead of captors.
fromPredicate(BiPredicate<T, T>) - Static method in class org.whaka.util.reflection.comparison.ComparisonPerformers
Create ComparisonPerformer that executes specified predicate and returns simple ComparisonResult
fromSupplier(BooleanSupplier) - Static method in class org.whaka.util.UberPredicates
Create a predicate that calls specified boolean supplier on any argument
Function2<A,B,R> - Interface in org.whaka.util.function
Equal to BiFunction.
Function3<A,B,C,R> - Interface in org.whaka.util.function
Equal to BiFunction but with 3 arguments.
Function4<A,B,C,D,R> - Interface in org.whaka.util.function
Equal to BiFunction but with 4 arguments.
Function5<A,B,C,D,E,R> - Interface in org.whaka.util.function
Equal to BiFunction but with 5 arguments.
functional(Predicate<? super E>, Consumer<? super E>) - Static method in class org.whaka.mock.EventHandlers
Create an instance of the EventCollector.EventHandler that will delegate it's functionality to the specified functionals.
FunctionalClassProperty<Type,TargetType> - Class in org.whaka.util.reflection.properties
 
FunctionalClassProperty(ClassPropertyKey, Class<Type>, Visibility, Function<TargetType, Type>) - Constructor for class org.whaka.util.reflection.properties.FunctionalClassProperty
 
FunctionalClassProperty(ClassPropertyKey, Class<Type>, Visibility, Function<TargetType, Type>, BiConsumer<TargetType, Type>) - Constructor for class org.whaka.util.reflection.properties.FunctionalClassProperty
 
FunctionalClassProperty(ClassPropertyKey, Class<Type>, Visibility, Function<TargetType, Type>, BiConsumer<TargetType, Type>, boolean) - Constructor for class org.whaka.util.reflection.properties.FunctionalClassProperty
 
FunctionalMatcher<T> - Class in org.whaka.asserts.matcher
Class allows to create instances of the Matcher using functional interfaces to delegate actual functionality.
FunctionalMatcher(Class<? super T>, Predicate<T>, String) - Constructor for class org.whaka.asserts.matcher.FunctionalMatcher
Equal to the FunctionalMatcher.FunctionalMatcher(Class, Predicate, Consumer) but with an automatically created consumer that calls Description.appendText(String) with the specified string.
FunctionalMatcher(Class<? super T>, Predicate<T>, Consumer<Description>) - Constructor for class org.whaka.asserts.matcher.FunctionalMatcher
To create an instance of the functional matcher you have to specify a Class of items, for Hamcrest's matchers don't perform any basic type assertion; a Predicate of the same type, that will be called for each item that's either null, or an instance of the specified class; and a Consumer for the Description type, that will be called each time matcher have to describe itself.
FunctionIterator(T, Function<T, T>, Predicate<T>) - Constructor for class org.whaka.util.UberIterators.FunctionIterator
 

G

get() - Method in interface org.whaka.util.function.DangerousSupplier
 
get_1() - Method in class org.whaka.util.function.Tuple2
Value of the Tuple2._1 field
get_1() - Method in class org.whaka.util.function.Tuple3
Value of the Tuple3._1 field
get_1() - Method in class org.whaka.util.function.Tuple4
Value of the Tuple4._1 field
get_1() - Method in class org.whaka.util.function.Tuple5
Value of the Tuple5._1 field
get_2() - Method in class org.whaka.util.function.Tuple2
Value of the Tuple2._2 field
get_2() - Method in class org.whaka.util.function.Tuple3
Value of the Tuple3._2 field
get_2() - Method in class org.whaka.util.function.Tuple4
Value of the Tuple4._2 field
get_2() - Method in class org.whaka.util.function.Tuple5
Value of the Tuple5._2 field
get_3() - Method in class org.whaka.util.function.Tuple3
Value of the Tuple3._3 field
get_3() - Method in class org.whaka.util.function.Tuple4
Value of the Tuple4._3 field
get_3() - Method in class org.whaka.util.function.Tuple5
Value of the Tuple5._3 field
get_4() - Method in class org.whaka.util.function.Tuple4
Value of the Tuple4._4 field
get_4() - Method in class org.whaka.util.function.Tuple5
Value of the Tuple5._4 field
get_5() - Method in class org.whaka.util.function.Tuple5
Value of the Tuple5._5 field
getActual() - Method in class org.whaka.asserts.AssertResult
 
getActual() - Method in class org.whaka.asserts.ComparisonAssertResult
 
getActual() - Method in class org.whaka.util.reflection.comparison.ComparisonResult
 
getArrayDelegateProviders() - Method in class org.whaka.util.reflection.comparison.performers.DynamicComparisonPerformer
Returns map of registered array delegates providers.
getArrayDepth(Class<?>) - Static method in class org.whaka.util.UberArrays
 
getAssertResults() - Method in class org.whaka.asserts.AssertBuilder
The same instance of the list is used throughout the building process.
getCaptors() - Method in class org.whaka.mock.EventCombiner
Copy of array of all generated ArgumentCaptor instances.
getCause() - Method in class org.whaka.asserts.AssertResult
 
getCause() - Method in class org.whaka.util.reflection.comparison.ComparisonFail
 
getCause() - Method in class org.whaka.util.Try
 
getClose() - Method in class org.whaka.util.Resource
 
getCollectionDelegateProviders() - Method in class org.whaka.util.reflection.comparison.performers.DynamicComparisonPerformer
Returns map of registered collection delegate providers.
getColumn(ColumnKey<T>) - Method in class org.whaka.data.Columns
Returns a column with the same key as specified, or null.
getColumn(ColumnKey<T>) - Method in class org.whaka.data.ColumnsBuilder
Returns a column with the same key as specified, or null.
getColumns() - Method in class org.whaka.data.Columns
 
getColumns() - Method in class org.whaka.data.ColumnsBuilder
 
getCombiner() - Method in class org.whaka.mock.EventCombiner
A function that will be used to combine captured argument into a single instance of the <Event> type.
getComparisonPerformer() - Method in class org.whaka.asserts.matcher.ComparisonMatcher
 
getComparisonPerformer() - Method in class org.whaka.util.reflection.comparison.ComparisonResult
 
getComparisonResult() - Method in class org.whaka.asserts.ComparisonAssertResult
 
getData() - Method in class org.whaka.data.Column
 
getDeclaringClass() - Method in class org.whaka.util.reflection.properties.ClassPropertyKey
 
getDefaultComparisonPerformer() - Method in class org.whaka.util.reflection.comparison.ComplexComparisonResultBuilder
 
getDefaultDelegate() - Method in class org.whaka.util.reflection.comparison.performers.DynamicComparisonPerformer
Default delegate to be used when no other delegate is found for a pair of objects.
getDelegate(Object, Object) - Method in class org.whaka.util.reflection.comparison.performers.DynamicComparisonPerformer
getDescriber() - Method in class org.whaka.asserts.matcher.FunctionalMatcher
 
getDynamicPerformer() - Method in class org.whaka.util.reflection.comparison.performers.AbstractDynamicPerformerBuilder
The same instance of the dynamic performer is returned throughout the lifetime of the builder.
getEntries() - Method in class org.whaka.data.Row
 
getEvents() - Method in class org.whaka.mock.EventCollector
Immutable collection of all the events collected so far.
getExcludingFilters() - Method in class org.whaka.util.reflection.comparison.performers.GettersDynamicPerformerBuilder
Returns set of all excluding filters.
getExpected() - Method in class org.whaka.asserts.AssertResult
 
getExpected() - Method in class org.whaka.asserts.ComparisonAssertResult
 
getExpected() - Method in class org.whaka.util.reflection.comparison.ComparisonResult
 
getExpectedType() - Method in class org.whaka.asserts.matcher.ThrowableMatcher
 
getField() - Method in class org.whaka.util.reflection.properties.FieldClassProperty
 
getFromModifiers(int) - Static method in enum org.whaka.util.reflection.Visibility
 
getGenericType() - Method in interface org.whaka.util.reflection.properties.ClassProperty
 
getGenericType() - Method in class org.whaka.util.reflection.properties.FieldClassProperty
 
getGenericType() - Method in class org.whaka.util.reflection.properties.GetterClassProperty
 
getGetter() - Method in class org.whaka.util.reflection.properties.FunctionalClassProperty
 
getGetter() - Method in class org.whaka.util.reflection.properties.GetterClassProperty
 
getGettersExtractor() - Method in class org.whaka.util.reflection.comparison.performers.GettersDynamicPerformerBuilder
 
getId() - Method in class org.whaka.util.reflection.properties.ClassPropertyKey
 
getIncludingFilters() - Method in class org.whaka.util.reflection.comparison.performers.GettersDynamicPerformerBuilder
Returns set of all including filters.
getIndex(List<T>, T) - Static method in class org.whaka.util.UberLists
 
getIndex(List<T>, T, BiPredicate<T, T>) - Static method in class org.whaka.util.UberLists
 
getIndexCalculator() - Method in class org.whaka.data.shuffle.IndexShuffle
 
getKey() - Method in class org.whaka.data.Column
 
getKey() - Method in class org.whaka.data.RowEntry
 
getKey() - Method in class org.whaka.util.function.Tuple2
getKey() - Method in interface org.whaka.util.reflection.properties.ClassProperty
 
getKey() - Method in class org.whaka.util.reflection.properties.FieldClassProperty
 
getKey() - Method in class org.whaka.util.reflection.properties.FunctionalClassProperty
 
getKey() - Method in class org.whaka.util.reflection.properties.GetterClassProperty
 
getKey() - Method in class org.whaka.util.UberMaps.Entry
 
getLastAffectedDecimal(double) - Static method in class org.whaka.util.DoubleMath
Method returns dynamically calculated "index" (deximal position) of the digit that is considered as last for rounding or comparison.
getLastEvent() - Method in class org.whaka.mock.EventCollector
This method either returns the last captured event, or throws an exception if there're no events.
getLatch() - Method in class org.whaka.mock.LatchEventHandler
 
getMapDelegateProviders() - Method in class org.whaka.util.reflection.comparison.performers.DynamicComparisonPerformer
Returns map of registered map delegate providers.
getMatcher() - Method in class org.whaka.asserts.matcher.ConsistencyMatcher
 
getMessage() - Method in class org.whaka.asserts.AssertResult
 
getMethodCall() - Method in class org.whaka.mock.EventCombiner
BiConsumer representing a call to the linked method; used to delegate target call.
getMillis() - Method in interface org.whaka.util.Timeout
 
getName() - Method in class org.whaka.data.ColumnKey
 
getName() - Method in interface org.whaka.util.reflection.comparison.ComparisonPerformer
Used to identify performer in a result.
getName() - Method in class org.whaka.util.reflection.comparison.performers.AbstractComparisonPerformer
 
getOptionalResult() - Method in class org.whaka.util.Try
Similar to using Try.getResult() with Optional.ofNullable(Object).
getOrElse(R) - Method in class org.whaka.util.Try
Method returns result of the try, if perform were successful, or specified value.
getParameters() - Method in class org.whaka.util.MessageBuilder
 
getParent() - Method in class org.whaka.util.reflection.properties.ClassPropertyStack
 
getPattern() - Method in class org.whaka.asserts.matcher.RegexpMatcher
 
getPattern() - Method in class org.whaka.util.reflection.comparison.performers.GettersDynamicPerformerBuilder.PatternPredicate
 
getPerformers() - Method in class org.whaka.util.reflection.comparison.performers.CompositeComparisonPerformer
The same fully mutable map is used thru all the time of the performer life.
getPredicate() - Method in class org.whaka.asserts.matcher.FunctionalMatcher
 
getPropertyPerformers() - Method in class org.whaka.util.reflection.comparison.performers.PropertyDynamicPerformerBuilder
 
getPropertyResults() - Method in class org.whaka.util.reflection.comparison.ComplexComparisonResult
Returns map that describes results of comparison performed for properties of objects from this result.
getPropertyResults() - Method in class org.whaka.util.reflection.comparison.ComplexComparisonResultBuilder
 
getRegisteredDelegates() - Method in class org.whaka.util.reflection.comparison.performers.DynamicComparisonPerformer
 
getRequirementFilters() - Method in class org.whaka.util.reflection.comparison.performers.GettersDynamicPerformerBuilder
Returns set of all requirement filters.
getResult() - Method in class org.whaka.util.Try
Get result of the safe execution.
getResults() - Method in error org.whaka.asserts.AssertError
 
getRows() - Method in class org.whaka.data.Rows
 
getRows() - Method in class org.whaka.data.shuffle.AbstractRowCollector
 
getRows() - Method in interface org.whaka.data.shuffle.RowCollector
Returns all the collected rows.
getSetter() - Method in class org.whaka.util.reflection.properties.FunctionalClassProperty
 
getSetter() - Method in class org.whaka.util.reflection.properties.GetterClassProperty
 
getSuppressed() - Method in class org.whaka.util.Try
Any exception thrown from AutoCloseable.close() method of a resource used in the Try.withResource(DangerousSupplier, DangerousFunction) method.
getTarget() - Method in class org.whaka.mock.EventCollector
Created and configured mock instance of the specified target type.
GetterClassProperty<Type,TargetType> - Class in org.whaka.util.reflection.properties
 
GetterClassProperty(Method) - Constructor for class org.whaka.util.reflection.properties.GetterClassProperty
 
GetterClassProperty(Method, Method) - Constructor for class org.whaka.util.reflection.properties.GetterClassProperty
 
GettersDynamicPerformerBuilder<T> - Class in org.whaka.util.reflection.comparison.performers
Class provides functionality to build CompositeComparisonPerformer by streaming all the getter methods in the specified class and filtering out the ones you want to include or exclude.
GettersDynamicPerformerBuilder(Class<T>) - Constructor for class org.whaka.util.reflection.comparison.performers.GettersDynamicPerformerBuilder
 
GettersDynamicPerformerBuilder(Class<T>, ClassPropertyExtractor<GetterClassProperty<?, ?>>) - Constructor for class org.whaka.util.reflection.comparison.performers.GettersDynamicPerformerBuilder
 
GettersDynamicPerformerBuilder.PatternPredicate - Class in org.whaka.util.reflection.comparison.performers
Predicates created from a Pattern instance or a string regex pattern, and used to match Method instances.
GettersExtractor - Class in org.whaka.util.reflection.properties
 
GettersExtractor() - Constructor for class org.whaka.util.reflection.properties.GettersExtractor
 
getType() - Method in class org.whaka.asserts.matcher.FunctionalMatcher
 
getType() - Method in class org.whaka.data.Column
Equal to #getKey().getType()
getType() - Method in class org.whaka.data.ColumnKey
 
getType() - Method in class org.whaka.util.reflection.comparison.ComplexComparisonResultBuilder
 
getType() - Method in class org.whaka.util.reflection.comparison.performers.AbstractDynamicPerformerBuilder
 
getType() - Method in interface org.whaka.util.reflection.properties.ClassProperty
 
getType() - Method in class org.whaka.util.reflection.properties.FieldClassProperty
 
getType() - Method in class org.whaka.util.reflection.properties.FunctionalClassProperty
 
getType() - Method in class org.whaka.util.reflection.properties.GetterClassProperty
 
getValue() - Method in class org.whaka.asserts.matcher.ComparisonMatcher
 
getValue() - Method in class org.whaka.asserts.matcher.ConsistencyMatcher
 
getValue(ColumnKey<T>) - Method in class org.whaka.data.Row
 
getValue() - Method in class org.whaka.data.RowEntry
 
getValue() - Method in class org.whaka.mock.EventCombiner
This method requests last captured value from all the captors received from EventCombiner.getCaptors() and then applies EventCombiner.getCombiner() function to them.
getValue() - Method in class org.whaka.util.function.Tuple2
getValue(TargetType) - Method in interface org.whaka.util.reflection.properties.ClassProperty
If ClassProperty.isStatic() returns true - specified target is ignored and may be null
getValue() - Method in class org.whaka.util.reflection.properties.ClassPropertyStack
 
getValue(TargetType) - Method in class org.whaka.util.reflection.properties.FieldClassProperty
 
getValue(TargetType) - Method in class org.whaka.util.reflection.properties.FunctionalClassProperty
 
getValue(TargetType) - Method in class org.whaka.util.reflection.properties.GetterClassProperty
 
getValue() - Method in class org.whaka.util.Resource
Returns actual resource.
getValue() - Method in class org.whaka.util.UberMaps.Entry
 
getVisibility() - Method in interface org.whaka.util.reflection.properties.ClassProperty
 
getVisibility() - Method in class org.whaka.util.reflection.properties.FieldClassProperty
 
getVisibility() - Method in class org.whaka.util.reflection.properties.FunctionalClassProperty
 
getVisibility() - Method in class org.whaka.util.reflection.properties.GetterClassProperty
 
getVisibility(Method) - Static method in class org.whaka.util.reflection.UberMethods
 
greaterThan(Number) - Static method in class org.whaka.asserts.NumberMatchers
Matcher equivalent of the DoubleMath.compare(double, double).
greaterThanOrEqual(Number) - Static method in class org.whaka.asserts.NumberMatchers
Matcher equivalent of the DoubleMath.compare(double, double).

H

hasAnyItem(Collection<T>) - Static method in class org.whaka.asserts.UberMatchers
Equal to UberMatchers.hasAnyItem(Collection, BiPredicate) with Objects.deepEquals(Object, Object) used as a predicate.
hasAnyItem(Collection<T>, BiPredicate<T, T>) - Static method in class org.whaka.asserts.UberMatchers
Create a matcher that will check that a collection contains any one of the specified item.
hashCode() - Method in error org.whaka.asserts.AssertError
 
hashCode() - Method in class org.whaka.asserts.AssertResult
 
hashCode() - Method in class org.whaka.asserts.ComparisonAssertResult
 
hashCode() - Method in class org.whaka.util.function.Tuple2
 
hashCode() - Method in class org.whaka.util.function.Tuple3
 
hashCode() - Method in class org.whaka.util.function.Tuple4
 
hashCode() - Method in class org.whaka.util.function.Tuple5
 
hashCode() - Method in class org.whaka.util.reflection.comparison.ComparisonFail
 
hashCode() - Method in class org.whaka.util.reflection.comparison.ComparisonResult
 
hashCode() - Method in class org.whaka.util.reflection.comparison.ComplexComparisonResult
 
hashCode() - Method in class org.whaka.util.reflection.comparison.performers.GettersDynamicPerformerBuilder.PatternPredicate
 
hashCode() - Method in class org.whaka.util.reflection.properties.ClassPropertyKey
 
hashCode() - Method in class org.whaka.util.reflection.properties.ClassPropertyStack
 
hashCode() - Method in class org.whaka.util.reflection.properties.FieldClassProperty
 
hashCode() - Method in class org.whaka.util.reflection.properties.GetterClassProperty
 
hashCode() - Method in class org.whaka.util.UberMaps.Entry
 
hasItem(T, BiPredicate<T, T>) - Static method in class org.whaka.asserts.UberMatchers
Create a matcher that will check that a collection contains the specified item.
hasNext() - Method in class org.whaka.util.UberIterators.FunctionIterator
 

I

IndexShuffle - Class in org.whaka.data.shuffle
Implementation of a Shuffle type, that delegates core calculations to a specified function.
IndexShuffle(Function<int[], int[][]>) - Constructor for class org.whaka.data.shuffle.IndexShuffle
 
Initializable - Interface in org.whaka.util
This interface adds "initialization" context to an implementing class.
initialize() - Method in class org.whaka.util.AbstractInitializable
 
initialize() - Method in class org.whaka.util.AbstractInitializableAndDestroyable
 
initialize() - Method in interface org.whaka.util.Initializable
This instance should perform all the required operations that will put it into the working state, so it can properly perform any other functionality.
INSTANCE - Static variable in class org.whaka.data.shuffle.pairwise.SequentialStrategy
Just an instance of the class.
isCaught() - Method in class org.whaka.util.Try
 
isDefault() - Method in enum org.whaka.util.reflection.Visibility
 
isDestroyed() - Method in class org.whaka.util.AbstractDestroyable
 
isDestroyed() - Method in interface org.whaka.util.Destroyable
This method returns true if this instance was already destroyed and cannot be used anymore.
isEqualPackage(Method, Method) - Static method in class org.whaka.util.reflection.UberMethods
Returns true if both methods are declared in the same package.
isEqualSignature(Method, Method) - Static method in class org.whaka.util.reflection.UberMethods
Returns true if methods have equal names and equal argument lists.
isFinal(Method) - Static method in class org.whaka.util.reflection.UberMethods
 
isFinite(Double) - Static method in class org.whaka.util.DoubleMath
 
isIn(Collection<? extends T>, BiPredicate<T, T>) - Static method in class org.whaka.asserts.UberMatchers
Create a matcher that will check that an item is contained in the specified collection.
isInitialized() - Method in class org.whaka.util.AbstractInitializable
 
isInitialized() - Method in class org.whaka.util.AbstractInitializableAndDestroyable
 
isInitialized() - Method in interface org.whaka.util.Initializable
Returns true if this instance is already initialized and may perform any functionality.
isMutable() - Method in interface org.whaka.util.reflection.properties.ClassProperty
If this method returns true - ClassProperty.setValue(Object, Object) can be called
isMutable() - Method in class org.whaka.util.reflection.properties.FieldClassProperty
Returns false if underlying field is final.
isMutable() - Method in class org.whaka.util.reflection.properties.FunctionalClassProperty
Returns false is no setter function was specified for this property.
isMutable() - Method in class org.whaka.util.reflection.properties.GetterClassProperty
Returns false if setter wasn't specified for this property.
isNegative(Double) - Static method in class org.whaka.util.DoubleMath
 
isNumber(Double) - Static method in class org.whaka.util.DoubleMath
 
isOpen() - Method in class org.whaka.mock.LatchEventHandler
Returns true if this latch is open and underlying latch has positive count
isParallel() - Method in class org.whaka.util.function.MapStream
 
isParallel() - Method in class org.whaka.util.function.UberStream
 
isPositive(Double) - Static method in class org.whaka.util.DoubleMath
 
isPresent(ColumnKey<?>) - Method in class org.whaka.data.Columns
 
isPresent(ColumnKey<?>) - Method in class org.whaka.data.ColumnsBuilder
 
isPresent(ColumnKey<?>) - Method in class org.whaka.data.Row
 
isPrivate() - Method in enum org.whaka.util.reflection.Visibility
 
isProtected() - Method in enum org.whaka.util.reflection.Visibility
 
isPublic() - Method in enum org.whaka.util.reflection.Visibility
 
isStatic() - Method in interface org.whaka.util.reflection.properties.ClassProperty
 
isStatic() - Method in class org.whaka.util.reflection.properties.FieldClassProperty
 
isStatic() - Method in class org.whaka.util.reflection.properties.FunctionalClassProperty
 
isStatic() - Method in class org.whaka.util.reflection.properties.GetterClassProperty
 
isStatic(Method) - Static method in class org.whaka.util.reflection.UberMethods
 
isSuccess() - Method in class org.whaka.util.reflection.comparison.ComparisonResult
 
isSuccess() - Method in class org.whaka.util.reflection.comparison.ComplexComparisonResult
Complex comparison result assumed to be successful if all the property comparison result from ComplexComparisonResult.getPropertyResults() returns true from ComplexComparisonResult.isSuccess().
isSuccess() - Method in class org.whaka.util.Try
 
isTypeCompatible(Method, Method) - Static method in class org.whaka.util.reflection.properties.GetterClassProperty
Checks if return type of the specified getter is compatible with the type of the first argument of the specified setter.
isValidRow(int[]) - Method in interface org.whaka.data.shuffle.RowCollector
If this method returns true for a specific row - then immediate call of the RowCollector.addRowIfValid(int[]) for the same row should also return true (if no other rows were added inbetween method calls).
isZero(Double) - Static method in class org.whaka.util.DoubleMath
 
iterate(T, Function<T, T>, Predicate<T>) - Static method in class org.whaka.util.UberIterators
 
iterate(T, Function<T, T>, Predicate<T>) - Static method in class org.whaka.util.UberStreams
 
iterator() - Method in class org.whaka.data.Columns
 
iterator() - Method in class org.whaka.data.Row
 
iterator() - Method in class org.whaka.data.Rows
 
iterator() - Method in class org.whaka.util.function.MapStream
 
iterator() - Method in class org.whaka.util.function.UberStream
 

J

join(CharSequence) - Method in class org.whaka.util.function.UberStream
All elements of the stream are mapped to string using String.valueOf(Object).
join(CharSequence, CharSequence, CharSequence) - Method in class org.whaka.util.function.UberStream
All elements of the stream are mapped to string using String.valueOf(Object).

K

key - Variable in class org.whaka.data.Column
 
key - Variable in class org.whaka.data.RowEntry
 
key - Variable in class org.whaka.util.UberMaps.Entry
 
key() - Method in class org.whaka.util.UberMaps.Entry

L

latch(int) - Static method in class org.whaka.mock.EventHandlers
Create and instance of the LatchEventHandler with a CountDownLatch initiated with the specified count.
LatchEventHandler - Class in org.whaka.mock
Implementation of the EventCollector.EventHandler backed by an instance of the CountDownLatch.
LatchEventHandler(CountDownLatch) - Constructor for class org.whaka.mock.LatchEventHandler
 
limit(long) - Method in class org.whaka.util.function.MapStream
 
limit(long) - Method in class org.whaka.util.function.UberStream
 
list(ComparisonPerformer<T>) - Static method in class org.whaka.util.reflection.comparison.ComparisonPerformers
Create instance of the special case performer wrapper to handle lists.
ListComparisonPerformer<T> - Class in org.whaka.util.reflection.comparison.performers
Compares elements of lists with corresponding indexes using specified delegate.
ListComparisonPerformer(ComparisonPerformer<? super T>) - Constructor for class org.whaka.util.reflection.comparison.performers.ListComparisonPerformer
 
lowerThan(Number) - Static method in class org.whaka.asserts.NumberMatchers
Matcher equivalent of the DoubleMath.compare(double, double).
lowerThanOrEqual(Number) - Static method in class org.whaka.asserts.NumberMatchers
Matcher equivalent of the DoubleMath.compare(double, double).

M

manual(AtomicBoolean) - Static method in class org.whaka.mock.EventHandlers
Create a predicate that will delegate call to the specified AtomicBoolean for any argument.
map(Function<? super UberMaps.Entry<K, V>, ? extends R>) - Method in class org.whaka.util.function.MapStream
 
map(Function<? super T, ? extends R>) - Method in class org.whaka.util.function.UberStream
 
map(ComparisonPerformer<? super T>) - Static method in class org.whaka.util.reflection.comparison.ComparisonPerformers
Create instance of the special case performer wrapper to handle maps.
map(T, Function<T, V>) - Static method in class org.whaka.util.UberObjects
 
map(T, Function<T, V>, V) - Static method in class org.whaka.util.UberObjects
 
MapCollectors - Class in org.whaka.util.function
Class provides static factory methods to create Collector instances to transform streams into maps.
MapComparisonPerformer<V> - Class in org.whaka.util.reflection.comparison.performers
Compares maps by keys, using specified delegate performer to check that values with the same key are equal in both maps.
MapComparisonPerformer(ComparisonPerformer<? super V>) - Constructor for class org.whaka.util.reflection.comparison.performers.MapComparisonPerformer
 
mapEntry(Function<? super UberMaps.Entry<K, V>, ? extends Map.Entry<K2, V2>>) - Method in class org.whaka.util.function.MapStream
Each entry in the stream is mapped by the specified function into another entry.
mapEntry(BiFunction<K, V, ? extends Map.Entry<K2, V2>>) - Method in class org.whaka.util.function.MapStream
Each key/value pair in the stream is mapped by the specified BiFunction into another entry.
mapEntry(Function<? super K, ? extends K2>, Function<? super V, ? extends V2>) - Method in class org.whaka.util.function.MapStream
For each entry in the stream - key is mapped by the specified key mapper function, and value is mapped by the specified value mapper function.
mapKey(Function<? super K, ? extends K2>) - Method in class org.whaka.util.function.MapStream
For each entry in the stream - key is mapped by the specified key mapper function, value is untouched.
MapStream<K,V> - Class in org.whaka.util.function
 
MapStream(Map<K, V>) - Constructor for class org.whaka.util.function.MapStream
 
MapStream(Stream<? extends Map.Entry<K, V>>) - Constructor for class org.whaka.util.function.MapStream
 
mapToDouble(ToDoubleFunction<? super UberMaps.Entry<K, V>>) - Method in class org.whaka.util.function.MapStream
 
mapToDouble(ToDoubleFunction<? super T>) - Method in class org.whaka.util.function.UberStream
 
mapToInt(ToIntFunction<? super UberMaps.Entry<K, V>>) - Method in class org.whaka.util.function.MapStream
 
mapToInt(ToIntFunction<? super T>) - Method in class org.whaka.util.function.UberStream
 
mapToLong(ToLongFunction<? super UberMaps.Entry<K, V>>) - Method in class org.whaka.util.function.MapStream
 
mapToLong(ToLongFunction<? super T>) - Method in class org.whaka.util.function.UberStream
 
mapValue(Function<? super V, ? extends V2>) - Method in class org.whaka.util.function.MapStream
For each entry in the stream - key is untouched, and value is mapped by the specified value mapper function.
matches(T, String, Throwable) - Method in class org.whaka.asserts.matcher.ComparisonMatcher
 
matches(Object) - Method in class org.whaka.asserts.matcher.ConsistencyMatcher
 
matches(Object) - Method in class org.whaka.asserts.matcher.FunctionalMatcher
 
matches(Object) - Method in class org.whaka.asserts.matcher.RegexpMatcher
 
matches(Object) - Method in class org.whaka.asserts.matcher.ResultProvidingMatcher
 
matches(T, String, Throwable) - Method in class org.whaka.asserts.matcher.ResultProvidingMatcher
This method should return Optional.empty() in case matcher successfully matched specified item.
matches(Throwable, String, Throwable) - Method in class org.whaka.asserts.matcher.ThrowableMatcher
 
matches(String) - Static method in class org.whaka.asserts.UberMatchers
Create a matcher that will check that string representation of any object matches specified regexp pattern.
matches(Pattern) - Static method in class org.whaka.asserts.UberMatchers
Create a matcher that will check that string representation of any object matches specified pattern.
max(Comparator<? super UberMaps.Entry<K, V>>) - Method in class org.whaka.util.function.MapStream
 
max(Comparator<? super T>) - Method in class org.whaka.util.function.UberStream
 
MAXIMUM_DEFAULT_DECIMALS - Static variable in class org.whaka.util.DoubleMath
Maximum value that can be automatically selected for DoubleMath.round(double) method.
MAXIMUM_POSSIBLE_DECIMALS - Static variable in class org.whaka.util.DoubleMath
Maximum absolute value that can be used in the DoubleMath.roundTo(double, int) method.
MessageBuilder - Class in org.whaka.util
 
MessageBuilder() - Constructor for class org.whaka.util.MessageBuilder
 
min(Comparator<? super UberMaps.Entry<K, V>>) - Method in class org.whaka.util.function.MapStream
 
min(Comparator<? super T>) - Method in class org.whaka.util.function.UberStream
 

N

name - Variable in class org.whaka.data.ColumnKey
 
nChooseK(int, int) - Static method in class org.whaka.util.UberMath
Calculate binomial coefficient for the specified n and k.
negative() - Static method in class org.whaka.asserts.NumberMatchers
Matcher equivalent of the DoubleMath.isNegative(Double).
newPublic(ClassPropertyKey, Class<Type>, Function<TargetType, Type>) - Static method in class org.whaka.util.reflection.properties.FunctionalClassProperty
 
newPublic(ClassPropertyKey, Class<Type>, Function<TargetType, Type>, BiConsumer<TargetType, Type>) - Static method in class org.whaka.util.reflection.properties.FunctionalClassProperty
 
newPublic(ClassPropertyKey, Class<Type>, Function<TargetType, Type>, BiConsumer<TargetType, Type>, boolean) - Static method in class org.whaka.util.reflection.properties.FunctionalClassProperty
 
next() - Method in class org.whaka.util.UberIterators.FunctionIterator
 
NO_STRATEGY - Static variable in class org.whaka.data.NullStrategy
No strategy is applied.
noneMatch(Predicate<? super UberMaps.Entry<K, V>>) - Method in class org.whaka.util.function.MapStream
 
noneMatch(Predicate<? super T>) - Method in class org.whaka.util.function.UberStream
 
noneOf(Predicate<T>...) - Static method in class org.whaka.util.UberPredicates
 
noneOf(Collection<Predicate<T>>) - Static method in class org.whaka.util.UberPredicates
 
not(Predicate2<A, B>) - Static method in interface org.whaka.util.function.Predicate2
Negate specified predicate
not(Predicate3<A, B, C>) - Static method in interface org.whaka.util.function.Predicate3
Negate specified predicate
not(Predicate4<A, B, C, D>) - Static method in interface org.whaka.util.function.Predicate4
Negate specified predicate
not(Predicate5<A, B, C, D, E>) - Static method in interface org.whaka.util.function.Predicate5
Negate specified predicate
not(Predicate<T>) - Static method in class org.whaka.util.UberPredicates
 
notExpected() - Static method in class org.whaka.asserts.matcher.ThrowableMatcher
Creates an instance of ThrowableMatcher with null as expected type.
notExpected() - Static method in class org.whaka.asserts.UberMatchers
Create a matcher that will check that an exception is null.
NULLABLE_END - Static variable in class org.whaka.data.NullStrategy
If specified set contains null as a last element - nothing happens.
NULLABLE_START - Static variable in class org.whaka.data.NullStrategy
If specified set contains null as a first element - nothing happens.
nullableEnd(Collection<T>) - Static method in class org.whaka.data.NullStrategy
Equal to the NullStrategy.NULLABLE_END strategy.
nullableStart(Collection<T>) - Static method in class org.whaka.data.NullStrategy
Equal to the NullStrategy.NULLABLE_START strategy.
nullConsistentWith(Object) - Static method in class org.whaka.asserts.UberMatchers
Create a matcher that will check that tested item and specified value are either both consistently nulls, or both consistently not-nulls.
nullsEnd() - Static method in class org.whaka.util.Comparators
 
nullsStart() - Static method in class org.whaka.util.Comparators
 
NullStrategy - Class in org.whaka.data
Class provides functional methods to transform arrays or collections to append a null value to it.
number() - Static method in class org.whaka.asserts.NumberMatchers
Matcher equivalent of the DoubleMath.isNumber(Double).
NumberMatchers - Class in org.whaka.asserts
Class provides static factory methods for custom Hamcrest matchers related to numbers.

O

onAnyResult(BiConsumer<R, Exception>) - Method in class org.whaka.util.Try
Perform some operation in any case of success or fail.
onClose(Runnable) - Method in class org.whaka.util.function.MapStream
 
onClose(Runnable) - Method in class org.whaka.util.function.UberStream
 
onPerformFail(Consumer<Exception>) - Method in class org.whaka.util.Try
 
onPerformFailCatch(Class<T>, DangerousConsumer<T, E>) - Method in class org.whaka.util.Try
If result of the Try.getCause() method is instance of the specified class - calls specified consumer with exception cast to the caught type.
onPerformFailDangerous(DangerousConsumer<Exception, E>) - Method in class org.whaka.util.Try
 
onPerformFailRethrow() - Method in class org.whaka.util.Try
If this try is not successful - throws result of the Try.getCause() method.
onPerformFailThrow(Function<Exception, T>) - Method in class org.whaka.util.Try
If this Try is not successful - applies specified mapper to the result of Try.getCause() method and then throws result of the function.
onPerformSuccess(Consumer<R>) - Method in class org.whaka.util.Try
Specified consumer is called only if this try is successful.
onPerformSuccessTry(DangerousFunction<R, V, Exception>) - Method in class org.whaka.util.Try
If execution of this try has finished successfully - applies specified dangerous mapper function to the result and return new instance of a Try with result of the function.
onPerformSuccessTryWithResource(DangerousSupplier<Res, Exception>, DangerousBiFunction<Res, R, V, Exception>) - Method in class org.whaka.util.Try
If execution of this try has finished successfully - calls specified resource supplier to receive resource, and then applies specified mapper bifunction to the resource and the result of this try.
or(Predicate3<? super A, ? super B, ? super C>) - Method in interface org.whaka.util.function.Predicate3
 
or(Predicate4<? super A, ? super B, ? super C, ? super D>) - Method in interface org.whaka.util.function.Predicate4
 
or(Predicate5<? super A, ? super B, ? super C, ? super D, ? super E>) - Method in interface org.whaka.util.function.Predicate5
 
org.whaka.asserts - package org.whaka.asserts
 
org.whaka.asserts.matcher - package org.whaka.asserts.matcher
 
org.whaka.data - package org.whaka.data
 
org.whaka.data.shuffle - package org.whaka.data.shuffle
 
org.whaka.data.shuffle.pairwise - package org.whaka.data.shuffle.pairwise
 
org.whaka.mock - package org.whaka.mock
 
org.whaka.util - package org.whaka.util
 
org.whaka.util.function - package org.whaka.util.function
 
org.whaka.util.reflection - package org.whaka.util.reflection
 
org.whaka.util.reflection.comparison - package org.whaka.util.reflection.comparison
Package provides a thin framework to perform recursive reflective comparison of objects.
org.whaka.util.reflection.comparison.performers - package org.whaka.util.reflection.comparison.performers
Package provides all the freaky implementations for the interface ComparisonPerformer and different tools to build or combine them.
org.whaka.util.reflection.properties - package org.whaka.util.reflection.properties
 
overrides(Method, Method) - Static method in class org.whaka.util.reflection.UberMethods
Returns true if a overrides b.

P

PairWise - Class in org.whaka.data.shuffle.pairwise
 
parallel() - Method in class org.whaka.util.function.MapStream
 
parallel() - Method in class org.whaka.util.function.UberStream
 
PatternPredicate(String) - Constructor for class org.whaka.util.reflection.comparison.performers.GettersDynamicPerformerBuilder.PatternPredicate
 
PatternPredicate(Pattern) - Constructor for class org.whaka.util.reflection.comparison.performers.GettersDynamicPerformerBuilder.PatternPredicate
 
peek(Consumer<? super UberMaps.Entry<K, V>>) - Method in class org.whaka.util.function.MapStream
 
peek(Consumer<? super T>) - Method in class org.whaka.util.function.UberStream
 
peek(Consumer<? super T>, boolean) - Static method in class org.whaka.util.UberPredicates
Create a predicate that calls specified consumer and then returns specified fixed result.
peekFalse(Consumer<? super T>) - Static method in class org.whaka.util.UberPredicates
Equal to the UberPredicates.peek(Consumer, boolean) with fixed false result
peekKeys(Consumer<? super K>) - Method in class org.whaka.util.function.MapStream
Specified consumer are called for each key in the stream.
peekTrue(Consumer<? super T>) - Static method in class org.whaka.util.UberPredicates
Equal to the UberPredicates.peek(Consumer, boolean) with fixed true result
peekValues(Consumer<? super V>) - Method in class org.whaka.util.function.MapStream
Specified consumer are called for each value in the stream.
perform(DangerousSupplier<R, Exception>) - Static method in class org.whaka.util.Try
Perform a chunk of code that returns some value and store this value if execution finished successfully.
performAssert() - Method in class org.whaka.asserts.AssertBuilder
Method AssertBuilder.build() is called.
positive() - Static method in class org.whaka.asserts.NumberMatchers
Matcher equivalent of the DoubleMath.isPositive(Double).
Predicate2<A,B> - Interface in org.whaka.util.function
Equal to BiPredicate.
Predicate3<A,B,C> - Interface in org.whaka.util.function
Equal to BiPredicate but with 3 arguments.
Predicate4<A,B,C,D> - Interface in org.whaka.util.function
Equal to BiPredicate but with 4 arguments.
Predicate5<A,B,C,D,E> - Interface in org.whaka.util.function
Equal to BiPredicate but with 5 arguments.
PropertyDynamicPerformerBuilder<T> - Class in org.whaka.util.reflection.comparison.performers
Class provides functionality to build a CompositeComparisonPerformer by specifying actual properties of a class to be compared.
PropertyDynamicPerformerBuilder(Class<T>) - Constructor for class org.whaka.util.reflection.comparison.performers.PropertyDynamicPerformerBuilder
 
putParameter(String, Object) - Method in class org.whaka.util.MessageBuilder
 

R

reduce(UberMaps.Entry<K, V>, BinaryOperator<UberMaps.Entry<K, V>>) - Method in class org.whaka.util.function.MapStream
 
reduce(BinaryOperator<UberMaps.Entry<K, V>>) - Method in class org.whaka.util.function.MapStream
 
reduce(U, BiFunction<U, ? super UberMaps.Entry<K, V>, U>, BinaryOperator<U>) - Method in class org.whaka.util.function.MapStream
 
reduce(T, BinaryOperator<T>) - Method in class org.whaka.util.function.UberStream
 
reduce(BinaryOperator<T>) - Method in class org.whaka.util.function.UberStream
 
reduce(U, BiFunction<U, ? super T, U>, BinaryOperator<U>) - Method in class org.whaka.util.function.UberStream
 
REFLECTIVE_EQUALS - Static variable in class org.whaka.util.reflection.comparison.ComparisonPerformers
Just a static access-instance of the ReflectiveComparisonPerformer that performs full-depth recursive reflective comparison by fields.
ReflectiveComparisonPerformer - Class in org.whaka.util.reflection.comparison.performers
 
ReflectiveComparisonPerformer() - Constructor for class org.whaka.util.reflection.comparison.performers.ReflectiveComparisonPerformer
 
reflectivelyEqualTo(T) - Static method in class org.whaka.asserts.UberMatchers
Create a matcher that will check that tested item and specified value are equal according to the ComparisonPerformers.REFLECTIVE_EQUALS performer.
RegexpMatcher - Class in org.whaka.asserts.matcher
Matcher implementation that can match any object against regexp Pattern.
registerArrayDelegateProvider(Class<V>, Function<ComparisonPerformer<? super V>, ComparisonPerformer<? super V[]>>) - Method in class org.whaka.util.reflection.comparison.performers.DynamicComparisonPerformer
Method allows you to register delegate providers, used to created delegates for arrays of different types.
registerCollectionDelegateProvider(Class<C>, Class<V>, Function<ComparisonPerformer<V>, ComparisonPerformer<? super C>>) - Method in class org.whaka.util.reflection.comparison.performers.DynamicComparisonPerformer
Method allows you to register delegate providers, used to created delegates for collections of different types and different contents.
registerDelegate(Class<V>, ComparisonPerformer<? super V>) - Method in class org.whaka.util.reflection.comparison.performers.DynamicComparisonPerformer
 
registerMapDelegateProvider(Class<M>, Class<V>, Function<ComparisonPerformer<V>, ComparisonPerformer<? super M>>) - Method in class org.whaka.util.reflection.comparison.performers.DynamicComparisonPerformer
Method allows you to register delegate providers, used to created delegates for maps of different types and different contents.
removeColumn(ColumnKey<T>) - Method in class org.whaka.data.ColumnsBuilder
Removes column with the specified key from the list.
replacingMerger() - Static method in class org.whaka.util.function.MapCollectors
Creates a binary operator that always returns second argument.
Resource<T,E extends java.lang.Exception> - Class in org.whaka.util
Class provides a wrapper that can be used in try-with-resource or in Try util in case original resource doesn't implements AutoCloseable.
ResultProvidingMatcher<T> - Class in org.whaka.asserts.matcher
 
ResultProvidingMatcher() - Constructor for class org.whaka.asserts.matcher.ResultProvidingMatcher
 
round(double) - Static method in class org.whaka.util.DoubleMath
 
roundTo(double, int) - Static method in class org.whaka.util.DoubleMath
 
Row - Class in org.whaka.data
Represents a single row of data in the table-like structure of the Rows.
Row(Collection<RowEntry<?>>) - Constructor for class org.whaka.data.Row
 
RowCollector - Interface in org.whaka.data.shuffle
Each instance of a row collector able to store a state of a numerous 'rows', represented by int arrays.
RowEntry<T> - Class in org.whaka.data
Represents a "cell" in a table-like structure of the Row and Rows.
RowEntry(ColumnKey<T>, T) - Constructor for class org.whaka.data.RowEntry
 
Rows - Class in org.whaka.data
Class represents a table-like structure as an ordered list of Row instances.
Rows(Collection<Row>) - Constructor for class org.whaka.data.Rows
 
rows - Variable in class org.whaka.data.Rows
 
rows - Variable in class org.whaka.data.shuffle.AbstractRowCollector
Final list in which incoming valid rows will be collected.
run() - Method in interface org.whaka.util.function.DangerousRunnable
 
run(DangerousRunnable<Exception>) - Static method in class org.whaka.util.Try
Perform a chunk of code in a safe manner.

S

safePerform(T, T, ComparisonPerformer<? super T>) - Static method in class org.whaka.util.reflection.comparison.ComparisonPerformers
If execution of the specified performer will cause any exception - ComparisonFail will be returned.
SEQUENTIAL - Static variable in class org.whaka.data.shuffle.pairwise.PairWise
PairWising shuffle, performing sequential filtering of the multiplied data.
sequential(Columns) - Static method in class org.whaka.data.shuffle.pairwise.PairWise
Performs Shuffle operation using PairWise.SEQUENTIAL instance.
sequential() - Method in class org.whaka.util.function.MapStream
 
sequential() - Method in class org.whaka.util.function.UberStream
 
SequentialStrategy - Class in org.whaka.data.shuffle.pairwise
Class implements PairWising strategy as "index mapping" function (int[] -> int[][]) according to IndexShuffle Strategy sets speed as it's primary goal, so it may provide "untrue" pairwising, meaning that it might miss some pairs.
SequentialStrategy() - Constructor for class org.whaka.data.shuffle.pairwise.SequentialStrategy
 
set(ComparisonPerformer<? super T>) - Static method in class org.whaka.util.reflection.comparison.ComparisonPerformers
Create instance of the special case performer wrapper to handle collections.
setActual(Object) - Method in class org.whaka.asserts.AssertResult
 
setActual(Object) - Method in class org.whaka.asserts.ComparisonAssertResult
 
setCause(Throwable) - Method in class org.whaka.asserts.AssertResult
 
SetComparisonPerformer<T> - Class in org.whaka.util.reflection.comparison.performers
Compares any kinds of collections as sets, using specified delegate to check if both collections contains all the same elements regarding their order.
SetComparisonPerformer(ComparisonPerformer<? super T>) - Constructor for class org.whaka.util.reflection.comparison.performers.SetComparisonPerformer
 
setDefaultComparisonPerformer(ComparisonPerformer<Object>) - Method in class org.whaka.util.reflection.comparison.ComplexComparisonResultBuilder
 
setDefaultDelegate(ComparisonPerformer<Object>) - Method in class org.whaka.util.reflection.comparison.performers.DynamicComparisonPerformer
Default delegate to be used when no other delegate is found for a pair of objects.
setExpected(Object) - Method in class org.whaka.asserts.AssertResult
 
setExpected(Object) - Method in class org.whaka.asserts.ComparisonAssertResult
 
setMessage(String) - Method in class org.whaka.asserts.AssertResult
 
setValue(B) - Method in class org.whaka.util.function.Tuple2
 
setValue(TargetType, Type) - Method in interface org.whaka.util.reflection.properties.ClassProperty
If ClassProperty.isStatic() returns true - specified target is ignored and may be null
setValue(TargetType, Type) - Method in class org.whaka.util.reflection.properties.FieldClassProperty
 
setValue(TargetType, Type) - Method in class org.whaka.util.reflection.properties.FunctionalClassProperty
throws UnsupportedOperationException if FunctionalClassProperty.isMutable() returns false.
setValue(TargetType, Type) - Method in class org.whaka.util.reflection.properties.GetterClassProperty
 
setValue(V) - Method in class org.whaka.util.UberMaps.Entry
 
Shuffle - Interface in org.whaka.data.shuffle
Type represents a strategy to convert a collection of columns with various data dictionaries, into a table-like rows.
size() - Method in class org.whaka.mock.EventCollector
Number of events collected so far.
skip(long) - Static method in class org.whaka.mock.EventHandlers
Create a predicate that will return N number of false results for any arguments.
skip(long) - Method in class org.whaka.util.function.MapStream
 
skip(long) - Method in class org.whaka.util.function.UberStream
 
sleep() - Method in interface org.whaka.util.Timeout
Call Thread.sleep(long) for the number of milliseconds returned from Timeout.getMillis()
sorted() - Method in class org.whaka.util.function.MapStream
 
sorted(Comparator<? super UberMaps.Entry<K, V>>) - Method in class org.whaka.util.function.MapStream
 
sorted() - Method in class org.whaka.util.function.UberStream
 
sorted(Comparator<? super T>) - Method in class org.whaka.util.function.UberStream
 
sortedKeys(Comparator<? super K>) - Method in class org.whaka.util.function.MapStream
All entries in the stream are sorted by comparing keys using specified comparator.
sortedValues(Comparator<? super V>) - Method in class org.whaka.util.function.MapStream
All entries in the stream are sorted by comparing values using specified comparator.
spliterator() - Method in class org.whaka.util.function.MapStream
 
spliterator() - Method in class org.whaka.util.function.UberStream
 
stream(T...) - Static method in class org.whaka.util.UberStreams
 
stream(Iterable<T>) - Static method in class org.whaka.util.UberStreams
 
stream(Collection<T>) - Static method in class org.whaka.util.UberStreams
 
stream(Stream<T>) - Static method in class org.whaka.util.UberStreams
 
stream(Map<K, V>) - Static method in class org.whaka.util.UberStreams
 
streamAncestors(Class<?>) - Static method in class org.whaka.util.reflection.UberClasses
Stream of the type itself followed by all the ancestors Use Stream.skip(long) if you need to skip the type itself.
streamInterfaces(Class<?>) - Static method in class org.whaka.util.reflection.UberClasses
Stream of the type itself followed by all the declared interfaces.
streamTypeLinearization(Class<?>) - Static method in class org.whaka.util.reflection.UberClasses
Stream of the type itself followed by interface-first linearization of all its supertypes in order of declaration.
swap() - Static method in class org.whaka.util.UberMaps.Entry
 

T

test(Event) - Method in class org.whaka.mock.ChainEventHandler
 
test(Object) - Method in class org.whaka.mock.LatchEventHandler
This method calls isOpen() for any argument
test(A, B) - Method in interface org.whaka.util.function.Predicate2
 
test(A, B, C) - Method in interface org.whaka.util.function.Predicate3
 
test(A, B, C, D) - Method in interface org.whaka.util.function.Predicate4
 
test(A, B, C, D, E) - Method in interface org.whaka.util.function.Predicate5
 
test(T, T) - Method in interface org.whaka.util.reflection.comparison.ComparisonPerformer
May be used in case simple yes/no answer is enough and there's no need for extended ComparisonResult.
test(Method) - Method in class org.whaka.util.reflection.comparison.performers.GettersDynamicPerformerBuilder.PatternPredicate
 
test(Map<K, V>) - Method in class org.whaka.util.UberMaps.Entry
Method returns true is specified map contains the key, and the value is equal to the one returned by the map.
test(T) - Method in class org.whaka.util.UberPredicates.DistinctPredicateProxy
 
ThrowableMatcher - Class in org.whaka.asserts.matcher
Class implements a Matcher that checks type of an exception.
throwableOfType(Class<? extends Throwable>) - Static method in class org.whaka.asserts.matcher.ThrowableMatcher
Creates an instance of ThrowableMatcher with specified type, as expected.
throwableOfType(Class<? extends Throwable>) - Static method in class org.whaka.asserts.UberMatchers
Create a matcher that will check that an exception is an instance of the specified type.
Timeout - Interface in org.whaka.util
Interface represents a "storable" timeout that you can create with required milliseconds value and then reuse it in different parts of your program.
to(Supplier<M>) - Method in class org.whaka.util.function.MapStream
Collect stream into a map provided by the specified supplier.
to(Supplier<C>) - Method in class org.whaka.util.function.UberStream
Collect all elements of the stream into a collection provided by the specified factory.
toArray() - Method in class org.whaka.util.function.MapStream
 
toArray(IntFunction<A[]>) - Method in class org.whaka.util.function.MapStream
 
toArray() - Method in class org.whaka.util.function.UberStream
 
toArray(IntFunction<A[]>) - Method in class org.whaka.util.function.UberStream
 
toArray(Class<A>) - Method in class org.whaka.util.function.UberStream
 
toArrayRecursive(Collection<?>) - Static method in class org.whaka.util.UberCollections
 
toBiConsumer(Consumer3<A, B, C>) - Static method in interface org.whaka.util.function.Consumer3
Converts specified consumer into a BiConsumer were all arguments except the first one are represented as a single Tuple2 instance.
toBiConsumer(Consumer4<A, B, C, D>) - Static method in interface org.whaka.util.function.Consumer4
Converts specified consumer into a BiConsumer were all arguments except the first one are represented as a single Tuple3 instance.
toBiConsumer(Consumer5<A, B, C, D, E>) - Static method in interface org.whaka.util.function.Consumer5
Converts specified consumer into a BiConsumer were all arguments except the first one are represented as a single Tuple4 instance.
toBiFunction(Function3<A, B, C, R>) - Static method in interface org.whaka.util.function.Function3
Convert specified function to the BiFunction were all arguments except the thirst one are represented as a single Tuple2 instance.
toBiFunction(Function4<A, B, C, D, R>) - Static method in interface org.whaka.util.function.Function4
Convert specified function to the BiFunction were all arguments except the thirst one are represented as a single Tuple3 instance.
toBiFunction(Function5<A, B, C, D, E, R>) - Static method in interface org.whaka.util.function.Function5
Convert specified function to the BiFunction were all arguments except the thirst one are represented as a single Tuple4 instance.
toBiPredicate(Predicate3<A, B, C>) - Static method in interface org.whaka.util.function.Predicate3
Converts specified predicate into a BiPredicate were all arguments except the first one are represented as a single Tuple2 instance.
toBiPredicate(Predicate4<A, B, C, D>) - Static method in interface org.whaka.util.function.Predicate4
Converts specified predicate into a BiPredicate were all arguments except the first one are represented as a single Tuple3 instance.
toBiPredicate(Predicate5<A, B, C, D, E>) - Static method in interface org.whaka.util.function.Predicate5
Converts specified predicate into a BiPredicate were all arguments except the first one are represented as a single Tuple3 instance.
toCallString() - Method in class org.whaka.util.reflection.properties.ClassPropertyStack
 
toConsumer(Consumer2<A, B>) - Static method in interface org.whaka.util.function.Consumer2
Converts specified consumer into a Consumer were all arguments are represented as a single Tuple2 instance.
toConsumer(Consumer3<A, B, C>) - Static method in interface org.whaka.util.function.Consumer3
Converts specified consumer into a Consumer were all arguments are represented as a single Tuple3 instance.
toConsumer(Consumer4<A, B, C, D>) - Static method in interface org.whaka.util.function.Consumer4
Converts specified consumer into a Consumer were all arguments are represented as a single Tuple4 instance.
toConsumer(Consumer5<A, B, C, D, E>) - Static method in interface org.whaka.util.function.Consumer5
Converts specified consumer into a Consumer were all arguments are represented as a single Tuple5 instance.
toFunction(Function2<A, B, R>) - Static method in interface org.whaka.util.function.Function2
Convert specified function to the Function were all arguments are represented as a single Tuple2 instance.
toFunction(Function3<A, B, C, R>) - Static method in interface org.whaka.util.function.Function3
Convert specified function to the Function were all arguments are represented as a single Tuple3 instance.
toFunction(Function4<A, B, C, D, R>) - Static method in interface org.whaka.util.function.Function4
Convert specified function to the Function were all arguments are represented as a single Tuple4 instance.
toFunction(Function5<A, B, C, D, E, R>) - Static method in interface org.whaka.util.function.Function5
Convert specified function to the Function were all arguments are represented as a single Tuple5 instance.
toKeys() - Method in class org.whaka.util.function.MapStream
Map all entries in the stream by UberMaps.Entry.getKey() method.
toLinkedMap() - Method in class org.whaka.util.function.MapStream
Collect stream to the linked map.
toList() - Method in class org.whaka.util.function.UberStream
Collect all elements of the stream into a list.
toLongCallString() - Method in class org.whaka.util.reflection.properties.ClassPropertyStack
 
toMap() - Static method in class org.whaka.util.function.MapCollectors
Create new collector that will collect stream of map entries into a default map.
toMap(Supplier<M>) - Static method in class org.whaka.util.function.MapCollectors
Create new collector that will collect stream of map entries into a map provided by the specified supplier.
toMap(Function<? super T, ? extends K>, Function<? super T, ? extends V>) - Static method in class org.whaka.util.function.MapCollectors
Map each element of the a stream into key/value pair by specified functions.
toMap(Function<? super T, ? extends K>, Function<? super T, ? extends V>, BinaryOperator<V>) - Static method in class org.whaka.util.function.MapCollectors
Map each element of the a stream into key/value pair by specified functions.
toMap(Function<? super T, ? extends K>, Function<? super T, ? extends V>, Supplier<M>) - Static method in class org.whaka.util.function.MapCollectors
Map each element of the a stream into key/value pair by specified functions.
toMap(Function<? super T, ? extends K>, Function<? super T, ? extends V>, BinaryOperator<V>, Supplier<M>) - Static method in class org.whaka.util.function.MapCollectors
Map each element of the a stream into key/value pair by specified functions.
toMap() - Method in class org.whaka.util.function.MapStream
Collect stream back to the map form.
toMap(Function<T, K>) - Method in class org.whaka.util.function.UberStream
Specified function is applied to each element of the stream.
toMap(Function<T, K>, Function<T, V>) - Method in class org.whaka.util.function.UberStream
Specified functions are applied to each element of the stream.
toMap(Function<T, K>, Supplier<M>) - Method in class org.whaka.util.function.UberStream
Specified function is applied to each element of the stream.
toMap(Function<T, K>, Function<T, V>, Supplier<M>) - Method in class org.whaka.util.function.UberStream
Specified functions are applied to each element of the stream.
toMapStream(Function<T, K>) - Method in class org.whaka.util.function.UberStream
Equal to calling UberStream.toMap(Function) and then constructing new MapStream.
toMapStream(Function<T, K>, Function<T, V>) - Method in class org.whaka.util.function.UberStream
Equal to calling UberStream.toMap(Function, Function) and then constructing new MapStream.
toPredicate(Predicate2<A, B>) - Static method in interface org.whaka.util.function.Predicate2
Converts this predicate into a Predicate were all arguments are represented as a single Tuple2 instance.
toPredicate(Predicate3<A, B, C>) - Static method in interface org.whaka.util.function.Predicate3
Converts this predicate into a Predicate were all arguments are represented as a single Tuple3 instance.
toPredicate(Predicate4<A, B, C, D>) - Static method in interface org.whaka.util.function.Predicate4
Converts specified predicate into a Predicate were all arguments are represented as a single Tuple4 instance.
toPredicate(Predicate5<A, B, C, D, E>) - Static method in interface org.whaka.util.function.Predicate5
Converts specified predicate into a Predicate were all arguments are represented as a single Tuple5 instance.
toSet() - Method in class org.whaka.util.function.UberStream
Collect all elements of the stream into a set.
toString() - Method in class org.whaka.asserts.AssertResult
 
toString() - Method in class org.whaka.asserts.ComparisonAssertResult
 
toString() - Method in class org.whaka.data.Column
 
toString() - Method in class org.whaka.data.ColumnKey
 
toString() - Method in class org.whaka.data.Columns
 
toString() - Method in class org.whaka.data.ColumnsBuilder
 
toString() - Method in class org.whaka.data.Row
 
toString() - Method in class org.whaka.data.RowEntry
 
toString() - Method in class org.whaka.data.Rows
 
toString() - Method in class org.whaka.mock.EventCollector
 
toString() - Method in class org.whaka.mock.EventCombiner
 
toString() - Method in class org.whaka.util.function.Tuple2
 
toString() - Method in class org.whaka.util.function.Tuple3
 
toString() - Method in class org.whaka.util.function.Tuple4
 
toString() - Method in class org.whaka.util.function.Tuple5
 
toString() - Method in class org.whaka.util.reflection.comparison.ComparisonFail
 
toString() - Method in class org.whaka.util.reflection.comparison.ComparisonResult
 
toString() - Method in class org.whaka.util.reflection.comparison.ComplexComparisonResult
 
toString() - Method in class org.whaka.util.reflection.comparison.performers.AbstractComparisonPerformer
 
toString() - Method in class org.whaka.util.reflection.comparison.performers.GettersDynamicPerformerBuilder.PatternPredicate
 
toString() - Method in class org.whaka.util.reflection.properties.ClassPropertyKey
 
toString() - Method in class org.whaka.util.reflection.properties.ClassPropertyStack
 
toString() - Method in class org.whaka.util.reflection.properties.FieldClassProperty
 
toString() - Method in class org.whaka.util.reflection.properties.GetterClassProperty
 
toString() - Method in class org.whaka.util.Try
 
toString(Object) - Static method in class org.whaka.util.UberArrays
 
toString(Collection<?>) - Static method in class org.whaka.util.UberCollections
 
toString() - Method in class org.whaka.util.UberMaps.Entry
 
toString(Object) - Static method in class org.whaka.util.UberObjects
 
toValues() - Method in class org.whaka.util.function.MapStream
Map all entries in the stream by UberMaps.Entry.getValue() method.
Try<R> - Class in org.whaka.util
Use methods: Try.run(DangerousRunnable), Try.perform(DangerousSupplier), or Try.withResource(DangerousSupplier, DangerousFunction) to create instance of the class that will contain either result of the code execution, or the exception thrown in the process of execution.
Tuple2<A,B> - Class in org.whaka.util.function
Final immutable container for 2 objects of different types.
Tuple2(A, B) - Constructor for class org.whaka.util.function.Tuple2
 
tuple2(A, B) - Static method in class org.whaka.util.function.Tuple2
Factory method to create new instance of the immutable tuple.
Tuple3<A,B,C> - Class in org.whaka.util.function
Final immutable container for 3 objects of different types.
Tuple3(A, B, C) - Constructor for class org.whaka.util.function.Tuple3
 
tuple3(A, B, C) - Static method in class org.whaka.util.function.Tuple3
Factory method to create new instance of the immutable tuple.
Tuple4<A,B,C,D> - Class in org.whaka.util.function
Final immutable container for 4 objects of different types.
Tuple4(A, B, C, D) - Constructor for class org.whaka.util.function.Tuple4
 
tuple4(A, B, C, D) - Static method in class org.whaka.util.function.Tuple4
Factory method to create new instance of the immutable tuple.
Tuple5<A,B,C,D,E> - Class in org.whaka.util.function
Final immutable container for 5 objects of different types.
Tuple5(A, B, C, D, E) - Constructor for class org.whaka.util.function.Tuple5
 
tuple5(A, B, C, D, E) - Static method in class org.whaka.util.function.Tuple5
Factory method to create new instance of the immutable tuple.
type - Variable in class org.whaka.data.ColumnKey
 

U

UberArrays - Class in org.whaka.util
 
UberClasses - Class in org.whaka.util.reflection
 
UberCloser - Class in org.whaka.util
Util class provides usability static methods to close instances of AutoCloseable or Destroyable, or to perform any kind of dangerous close operations on any target.
UberCloser.CloseException - Exception in org.whaka.util
Exception indicating an error happened during the closing process.
UberCollections - Class in org.whaka.util
UberFunctions - Class in org.whaka.util
 
UberFunctions.DistinctFunctionProxy<T,R> - Class in org.whaka.util
 
UberIterators - Class in org.whaka.util
 
UberIterators.FunctionIterator<T> - Class in org.whaka.util
 
UberLists - Class in org.whaka.util
 
UberMaps - Class in org.whaka.util
 
UberMaps.Entry<K,V> - Class in org.whaka.util
Immutable implementation of Map.Entry.
UberMatchers - Class in org.whaka.asserts
Class provides static factory methods for custom Hamcrest matchers provided by the library.
UberMath - Class in org.whaka.util
 
UberMath() - Constructor for class org.whaka.util.UberMath
 
UberMethods - Class in org.whaka.util.reflection
 
UberMethods() - Constructor for class org.whaka.util.reflection.UberMethods
 
UberObjects - Class in org.whaka.util
 
UberPredicates - Class in org.whaka.util
 
UberPredicates.DistinctPredicateProxy<T> - Class in org.whaka.util
 
UberStream<T> - Class in org.whaka.util.function
Proxy class for any Stream.
UberStream(Stream<T>) - Constructor for class org.whaka.util.function.UberStream
 
UberStreams - Class in org.whaka.util
 
unordered() - Method in class org.whaka.util.function.MapStream
 
unordered() - Method in class org.whaka.util.function.UberStream
 

V

val - Variable in class org.whaka.util.UberMaps.Entry
 
val() - Method in class org.whaka.util.UberMaps.Entry
value - Variable in class org.whaka.data.RowEntry
 
valueOf(String) - Static method in enum org.whaka.util.reflection.Visibility
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.whaka.util.reflection.Visibility
Returns an array containing the constants of this enum type, in the order they are declared.
Visibility - Enum in org.whaka.util.reflection
 

W

withResource(DangerousSupplier<Res, Exception>, DangerousFunction<Res, R, Exception>) - Static method in class org.whaka.util.Try
Simulate try-with-resource functionality.

Z

zero() - Static method in class org.whaka.asserts.NumberMatchers
Matcher equivalent of the DoubleMath.isZero(Double).
zip(Function<T, V>) - Method in class org.whaka.util.function.UberStream
 

_

_1 - Variable in class org.whaka.util.function.Tuple2
 
_1 - Variable in class org.whaka.util.function.Tuple3
 
_1 - Variable in class org.whaka.util.function.Tuple4
 
_1 - Variable in class org.whaka.util.function.Tuple5
 
_2 - Variable in class org.whaka.util.function.Tuple2
 
_2 - Variable in class org.whaka.util.function.Tuple3
 
_2 - Variable in class org.whaka.util.function.Tuple4
 
_2 - Variable in class org.whaka.util.function.Tuple5
 
_3 - Variable in class org.whaka.util.function.Tuple3
 
_3 - Variable in class org.whaka.util.function.Tuple4
 
_3 - Variable in class org.whaka.util.function.Tuple5
 
_4 - Variable in class org.whaka.util.function.Tuple4
 
_4 - Variable in class org.whaka.util.function.Tuple5
 
_5 - Variable in class org.whaka.util.function.Tuple5
 
A B C D E F G H I J K L M N O P R S T U V W Z _ 
Skip navigation links