Package gnu.regexp

Class RETokenOneOf

  • All Implemented Interfaces:
    java.io.Serializable

    final class RETokenOneOf
    extends REToken
    • Constructor Summary

      Constructors 
      Constructor Description
      RETokenOneOf​(int subIndex, java.lang.String optionsStr, boolean negative, boolean insens)  
      RETokenOneOf​(int subIndex, java.util.Vector options, boolean negative)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) void dump​(java.lang.StringBuffer os)  
      (package private) int getMinimumLength()  
      (package private) boolean match​(CharIndexed input, REMatch mymatch)
      Returns true if the match succeeded, false if it failed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RETokenOneOf

        RETokenOneOf​(int subIndex,
                     java.lang.String optionsStr,
                     boolean negative,
                     boolean insens)
      • RETokenOneOf

        RETokenOneOf​(int subIndex,
                     java.util.Vector options,
                     boolean negative)
    • Method Detail

      • match

        boolean match​(CharIndexed input,
                      REMatch mymatch)
        Description copied from class: REToken
        Returns true if the match succeeded, false if it failed.
        Specified by:
        match in class REToken
      • dump

        void dump​(java.lang.StringBuffer os)
        Specified by:
        dump in class REToken