Package org.rabinfingerprint.Args

Examples of org.rabinfingerprint.Args.ArgParseException


  }

  public Polynomial checkPolynomial(Long l) throws ArgParseException {
    Polynomial p = Polynomial.createFromLong(l);
    if (p.isReducible()) {
      throw new ArgParseException(
          "The specified polynomial is not irreducible and therefore invalid for the rabin fingerprint method. Please use -polygen to generate an irreducible polynomial.");
    }
    return p;
  }
View Full Code Here

TOP

Related Classes of org.rabinfingerprint.Args.ArgParseException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.