/*
 * StringCompare.h
 *
 *  Created on: 01. 03. 2021
 *      Author: Martin Prokopic
 */

#pragma once

#include <string/LinearStringTerminatingSymbolBWT.h>

namespace compare {

class StringCompare {
public:
    template < class SymbolType >
    static bool compare ( const string::LinearStringTerminatingSymbolBWT < SymbolType > & a,
                          const string::LinearStringTerminatingSymbolBWT < SymbolType > & b );
};

template < class SymbolType >
bool StringCompare::compare ( const string::LinearStringTerminatingSymbolBWT < SymbolType > & a,
                              const string::LinearStringTerminatingSymbolBWT < SymbolType > & b ) {
    return a == b;
}

} /* namespace */