F - whatever kind of thing you'd like to map to. Generally this
will be some class or interface representing a function.public static interface Protocol.Builder<F>
Protocols.builder(String) to obtain new instances.Protocol.Builder<F> put(Class selfClass, F fn)
F fn with the class selfClass.selfClass - represents a class or interface or is
null.fn - the value to associate with selfClass.
fn must not be null.IllegalStateException - if build() was
previously called on this Builder.Protocol<F> build()
Protocol described by the
preceding calls made on this Builder. Calling build()
invalidates this builder.IllegalStateException - if build() was
previously called on this Builder.Copyright © 2019. All rights reserved.