com.singularsys.jep.configurableparser

## Class WhiteSpaceCommentFilter

- java.lang.Object
- - com.singularsys.jep.configurableparser.WhiteSpaceCommentFilter

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

      public class WhiteSpaceCommentFilter
      extends java.lang.Object
      implements TokenFilter, java.io.Serializable

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `WhiteSpaceCommentFilter()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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

    - #### init

          public void init(Jep j)

      Specified by:
        `init` in interface `TokenFilter`

Copyright © 2018 Singular Systems http://www.singularsys.com/jep