? Rule<F,T>

java.lang.Object
org.osgi.util.converter.Rule<F,T>
????:
F - The type to convert from.
T - The type to convert to.
????????:
TargetRule

public abstract class Rule<F,T> extends Object implements TargetRule
A rule implementation that works by capturing the type arguments via subclassing. The rule supports specifying both from and to types. Filtering on the from by the Rule implementation. Filtering on the to is done by the converter customization mechanism.
  • ???????

    • Rule

      public Rule(Function<F,T> func)
      Create an instance with a conversion function.
      ??:
      func - The conversion function to use.
  • ??????