EnumeratedIntegerDistribution extends AbstractIntegerDistribution { public boolean isSupportConnected() { return true; } EnumeratedIntegerDistribution(final int[] singletons, final double[] probabilities);  EnumeratedIntegerDistribution(final RandomGenerator rng,
                                       final int[] singletons, final double[] probabilities); double probability(final int x); double cumulativeProbability(final int x); double getNumericalMean(); double getNumericalVariance(); int getSupportLowerBound(); int getSupportUpperBound(); boolean isSupportConnected(); @Override int sample();  }
@Test public void testIsSupportConnected() { Assert.assertTrue(testDistribution.isSupportConnected()); }