Package org.jsoup.select

## Class Evaluator.IsNthOfType

- java.lang.Object
- - org.jsoup.select.Evaluator
  - - org.jsoup.select.Evaluator.CssNthEvaluator
    - - org.jsoup.select.Evaluator.IsNthOfType

Direct Known Subclasses:
  `Evaluator.IsFirstOfType`

Enclosing class:
  Evaluator

    public static class Evaluator.IsNthOfType
    extends Evaluator.CssNthEvaluator

css pseudo class nth-of-type

### Nested Class Summary

### Nested classes/interfaces inherited from class org.jsoup.select.Evaluator

`Evaluator.AllElements, Evaluator.Attribute, Evaluator.AttributeKeyPair, Evaluator.AttributeStarting, Evaluator.AttributeWithValue, Evaluator.AttributeWithValueContaining, Evaluator.AttributeWithValueEnding, Evaluator.AttributeWithValueMatching, Evaluator.AttributeWithValueNot, Evaluator.AttributeWithValueStarting, Evaluator.Class, Evaluator.ContainsData, Evaluator.ContainsOwnText, Evaluator.ContainsText, Evaluator.CssNthEvaluator, Evaluator.Id, Evaluator.IndexEquals, Evaluator.IndexEvaluator, Evaluator.IndexGreaterThan, Evaluator.IndexLessThan, Evaluator.IsEmpty, Evaluator.IsFirstChild, Evaluator.IsFirstOfType, Evaluator.IsLastChild, Evaluator.IsLastOfType, Evaluator.IsNthChild, Evaluator.IsNthLastChild, Evaluator.IsNthLastOfType, Evaluator.IsNthOfType, Evaluator.IsOnlyChild, Evaluator.IsOnlyOfType, Evaluator.IsRoot, Evaluator.Matches, Evaluator.MatchesOwn, Evaluator.MatchText, Evaluator.Tag, Evaluator.TagEndsWith`

### Field Summary

### Fields inherited from class org.jsoup.select.Evaluator.CssNthEvaluator

`a, b`

### Constructor Summary

Constructors
`IsNthOfType​(int a, int b)`

### Method Summary

All Methods Instance Methods Concrete Methods
`protected int` `calculatePosition​(Element root, Element element)`
`protected java.lang.String` `getPseudoClass()`

### Methods inherited from class org.jsoup.select.Evaluator.CssNthEvaluator

`matches, toString`

### Methods inherited from class java.lang.Object

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

### Constructor Detail

#### IsNthOfType

    public IsNthOfType​(int a,
                       int b)

### Method Detail

#### calculatePosition

    protected int calculatePosition​(Element root,
                                    Element element)

Specified by:
  `calculatePosition` in class `Evaluator.CssNthEvaluator`

#### getPseudoClass

    protected java.lang.String getPseudoClass()

Specified by:
  `getPseudoClass` in class `Evaluator.CssNthEvaluator`