ScoreSamplingOptions implements Serializable, Cloneable { @Override public String toString() { return "ScoreSamplingOptions [numThreads=" + numThreads + ", minObjectId=" + minObjectId + ", maxObjectId=" + maxObjectId + ", minNumTerms=" + minNumTerms + ", maxNumTerms=" + maxNumTerms + ", numIterations=" + numIterations + ", seed=" + seed + "]"; } ScoreSamplingOptions();  ScoreSamplingOptions(
      int numThreads,
      Integer minObjectId,
      Integer maxObjectId,
      int minNumTerms,
      int maxNumTerms,
      int seed,
      int numIterations); int getNumThreads(); void setNumThreads(int numThreads); Integer getMinObjectId(); void setMinObjectId(Integer minObjectId); Integer getMaxObjectId(); void setMaxObjectId(Integer maxObjectId); int getMinNumTerms(); void setMinNumTerms(int minNumTerms); int getMaxNumTerms(); void setMaxNumTerms(int maxNumTerms); int getSeed(); void setSeed(int seed); int getNumIterations(); void setNumIterations(int numIterations); @Override Object clone(); @Override String toString();  }
@Test public void testDefaultConstruction() { samplingOptions = new ScoreSamplingOptions(); assertEquals( "ScoreSamplingOptions [numThreads=1, minObjectId=null, maxObjectId=null, minNumTerms=1, maxNumTerms=20, numIterations=100000, seed=42]", samplingOptions.toString()); }
@Test public void testFullConstruction() { samplingOptions = new ScoreSamplingOptions(1, 1, 2, 3, 4, 5, 6); assertEquals( "ScoreSamplingOptions [numThreads=1, minObjectId=1, maxObjectId=2, minNumTerms=3, maxNumTerms=4, numIterations=6, seed=5]", samplingOptions.toString()); }