Class SequenceMatch

java.lang.Object
me.gosimple.nbvcxz.matching.match.BaseMatch
me.gosimple.nbvcxz.matching.match.SequenceMatch
All Implemented Interfaces:
Match

public final class SequenceMatch
extends BaseMatch
Author:
Adam Brusselback
  • Constructor Details

    • SequenceMatch

      public SequenceMatch​(java.lang.String match, Configuration configuration, int start_index, int end_index)
      Create a new SequenceMatch
      Parameters:
      match - the String we are creating the SequenceMatch from.
      configuration - the Configuration object.
      start_index - the start index in the password for this match.
      end_index - the end index in the password for this match.
  • Method Details

    • getFirstCharacter

      public char getFirstCharacter()
      Returns:
      the first char of the sequence.
    • getDetails

      public java.lang.String getDetails()
      Description copied from interface: Match
      Returns details about this match in the form of a String to be printed directly
      Specified by:
      getDetails in interface Match
      Overrides:
      getDetails in class BaseMatch
      Returns:
      all specific details about this Match in printable String format.