Skip navigation links
A B C D F G I L M O P S U 

A

ACCEPT_UNKNOWN_TOKEN - Static variable in class de.team33.patterns.production.e1.FactoryUtil

B

build() - Method in class de.team33.patterns.production.e1.FactoryHub.Builder
Returns a new instance of FactoryHub.
build() - Method in class de.team33.patterns.production.e1.PlainFactoryHub.Builder
Returns a new instance of PlainFactoryHub.
builder(Supplier<C>) - Static method in class de.team33.patterns.production.e1.FactoryHub
Returns a new generic instance of FactoryHub.Builder.
builder() - Static method in class de.team33.patterns.production.e1.PlainFactoryHub

C

Collector() - Constructor for class de.team33.patterns.production.e1.FactoryHub.Collector
 

D

de.team33.patterns.production.e1 - package de.team33.patterns.production.e1
 
DENY_UNKNOWN_TOKEN - Static variable in class de.team33.patterns.production.e1.FactoryUtil

F

FactoryHub<C> - Class in de.team33.patterns.production.e1
A hub of methods for creating instances of virtually any type under constant conditions.
FactoryHub(FactoryHub.Collector<C, ?>) - Constructor for class de.team33.patterns.production.e1.FactoryHub
Initializes a new instance.
FactoryHub.Builder<C> - Class in de.team33.patterns.production.e1
A generic Builder implementation.
FactoryHub.Collector<C,B> - Class in de.team33.patterns.production.e1
Abstracts a tool for preparing and initializing a FactoryHub intended for extension into a Builder implementation.
FactoryUtil - Class in de.team33.patterns.production.e1
Constants and methods for dealing with FactoryHubs.
FactoryUtil() - Constructor for class de.team33.patterns.production.e1.FactoryUtil
 

G

get(T) - Method in class de.team33.patterns.production.e1.FactoryHub
Produces an instance of a certain type, whereby the production method to be used is identified by a token of the result type.
getBuilder() - Method in class de.team33.patterns.production.e1.FactoryHub.Builder
 
getBuilder() - Method in class de.team33.patterns.production.e1.FactoryHub.Collector
Returns the Builder instance that utilizes this.
getBuilder() - Method in class de.team33.patterns.production.e1.PlainFactoryHub.Builder
 
getContext() - Method in class de.team33.patterns.production.e1.FactoryHub
Returns the context associated with this FactoryHub.
getContext() - Method in class de.team33.patterns.production.e1.PlainFactoryHub
 

I

instance(FactoryHub.Collector<C, ?>, Supplier<C>) - Static method in class de.team33.patterns.production.e1.FactoryHub
Returns a new generic instance of FactoryHub.

L

LOG_UNKNOWN_TOKEN - Static variable in class de.team33.patterns.production.e1.FactoryUtil

M

map(K, V, int) - Method in class de.team33.patterns.production.e1.FactoryHub
Produces a Map of a given size whose keys are produced based on the given keyToken and whose values are produced based on the given valueToken.
map(Map<K, V>) - Method in class de.team33.patterns.production.e1.FactoryHub
Produces a Map based on a given template Map.
map(T, Function<T, Map<?, ?>>, Function<Map<?, ?>, R>) - Method in class de.team33.patterns.production.e1.FactoryHub
Produces a result of a certain type from a template of a certain type.

O

on(T) - Method in class de.team33.patterns.production.e1.FactoryHub.Collector
Provides a two-step builder pattern to add a specific factory method and map it to a token: Takes a token of a certain type as a parameter and returns a Function that will associate that token with a factory method (also a Function) and will return the builder.

P

PlainFactoryHub - Class in de.team33.patterns.production.e1
Plain implementation of a FactoryHub.
PlainFactoryHub.Builder - Class in de.team33.patterns.production.e1
A Builder for a new instance of PlainFactoryHub.

S

setUnknownTokenListener(Consumer<Object>) - Method in class de.team33.patterns.production.e1.FactoryHub.Collector
Defines a given consumer as the unknownTokenListener of a FactoryHub resulting from this Collector.
stream(T) - Method in class de.team33.patterns.production.e1.FactoryHub
Produces an infinite (!)
stream(T, int) - Method in class de.team33.patterns.production.e1.FactoryHub
Produces a Stream with limited length of newly produced elements af a certain type, whereby the production method to be used for each element is identified by a token of the same type.

U

unknownTokenMessage(Object) - Static method in class de.team33.patterns.production.e1.FactoryUtil
Returns an unknown token message for a given token.
A B C D F G I L M O P S U 
Skip navigation links

Copyright © 2021 Andreas Kluge-Kaindl, Bremen (de). All rights reserved.