Class MonadicCarrierRegistry.Entry

java.lang.Object
org.apache.groovy.runtime.MonadicCarrierRegistry.Entry
Enclosing class:
MonadicCarrierRegistry

public static final class MonadicCarrierRegistry.Entry extends Object
One Class-keyed allow-list row.
  • Method Details

    • carrier

      public Class<?> carrier()
      Returns the carrier type matched with Class.isInstance(Object).
      Returns:
      the carrier class for this allow-list row
    • bind

      public String bind()
      Returns the bind-method name stored for this carrier.
      Returns:
      the bind method name, such as flatMap or thenCompose
    • map

      public String map()
      Returns the map-method name stored for this carrier.
      Returns:
      the map method name, such as map, thenApply, or then
    • toString

      public String toString()
      Overrides:
      toString in class Object