### Question:
GeneralizedExtremeValueDistribution implements ProbabilityDistribution<Double> { @Override public double getCDF(Double x) { ArgChecker.notNull(x, "x"); return Math.exp(-getT(x)); } GeneralizedExtremeValueDistribution(double mu, double sigma, double ksi); @Override double getCDF(Double x); @Override double getInverseCDF(Double p); @Override double getPDF(Double x); @Override double nextRandom(); double getMu(); double getSigma(); double getKsi(); @Override int hashCode(); @Override boolean equals(Object obj);  }### Answer:
@Test public void testSupport() { ProbabilityDistribution<Double> dist = new GeneralizedExtremeValueDistribution(MU, SIGMA, KSI); double limit = MU - SIGMA / KSI; assertLimit(dist, limit - EPS); assertThat(dist.getCDF(limit + EPS)).isCloseTo(0, offset(EPS)); assertThat(dist.getCDF(LARGE_X)).isCloseTo(1, offset(EPS)); dist = new GeneralizedExtremeValueDistribution(MU, SIGMA, -KSI); limit = MU + SIGMA / KSI; assertLimit(dist, limit + EPS); assertThat(dist.getCDF(-LARGE_X)).isCloseTo(0, offset(EPS)); assertThat(dist.getCDF(limit - EPS)).isCloseTo(1, offset(EPS)); dist = new GeneralizedExtremeValueDistribution(MU, SIGMA, 0); assertThat(dist.getCDF(-LARGE_X)).isCloseTo(0, offset(EPS)); assertThat(dist.getCDF(LARGE_X)).isCloseTo(1, offset(EPS)); }