Class WhiteSpaceCommentFilter

  • All Implemented Interfaces:
    TokenFilter, java.io.Serializable

    public class WhiteSpaceCommentFilter
    extends java.lang.Object
    implements TokenFilter, java.io.Serializable
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Iterator<Token> filter​(java.util.Iterator<Token> tokens)
      Filters the list of tokens.
      void init​(Jep j)  
      • Methods inherited from class java.lang.Object

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

      • WhiteSpaceCommentFilter

        public WhiteSpaceCommentFilter()
    • Method Detail

      • filter

        public java.util.Iterator<Token> filter​(java.util.Iterator<Token> tokens)
        Description copied from interface: TokenFilter
        Filters the list of tokens.
        Specified by:
        filter in interface TokenFilter
        Parameters:
        tokens - an iterator for the list of tokens
        Returns:
        a new iterator which just contains the filtered results