Class ProxyGR<P extends Pointer<?,​?,​P>,​T extends Tok<P>>

java.lang.Object
xyz.cofe.text.tparse.ProxyGR<P,​T>
All Implemented Interfaces:
java.util.function.Function<P,​java.util.Optional<T>>, GR<P,​T>

public class ProxyGR<P extends Pointer<?,​?,​P>,​T extends Tok<P>>
extends java.lang.Object
implements GR<P,​T>
  • Constructor Summary

    Constructors 
    Constructor Description
    ProxyGR​(GR<P,​T> initial)  
  • Method Summary

    Modifier and Type Method Description
    java.util.Optional<T> apply​(P ptr)  
    ProxyGR<P,​T> conf​(java.util.function.Consumer<ProxyGR<P,​T>> conf)  
    GR<P,​? extends T> getTarget()  
    void setTarget​(GR<P,​? extends T> newTarget)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.function.Function

    andThen, compose

    Methods inherited from interface xyz.cofe.text.tparse.GR

    another, next, repeat
  • Constructor Details

  • Method Details

    • conf

      public ProxyGR<P,​T> conf​(java.util.function.Consumer<ProxyGR<P,​T>> conf)
    • getTarget

      public GR<P,​? extends T> getTarget()
    • setTarget

      public void setTarget​(GR<P,​? extends T> newTarget)
    • apply

      public java.util.Optional<T> apply​(P ptr)
      Specified by:
      apply in interface java.util.function.Function<P extends Pointer<?,​?,​P>,​T extends Tok<P>>