@Test public void min() { assertEquals(3, compositeMetric.min(), 0); }
@Override public double min() { return clusterMetrics.stream().map(ClusterMetric::min).min(Double::compareTo).orElse(0d); }
CompositeMetric implements ClusterMetric { @Override public double min() { return clusterMetrics.stream().map(ClusterMetric::min).min(Double::compareTo).orElse(0d); } }
CompositeMetric implements ClusterMetric { @Override public double min() { return clusterMetrics.stream().map(ClusterMetric::min).min(Double::compareTo).orElse(0d); } CompositeMetric(ClusterMetric ... clusterMetric);  CompositeMetric(ClusterMetric clusterMetric, Iterable<ClusterMetric> clusterMetrics);  CompositeMetric(Iterable<ClusterMetric> clusterMetrics); }
CompositeMetric implements ClusterMetric { @Override public double min() { return clusterMetrics.stream().map(ClusterMetric::min).min(Double::compareTo).orElse(0d); } CompositeMetric(ClusterMetric ... clusterMetric);  CompositeMetric(ClusterMetric clusterMetric, Iterable<ClusterMetric> clusterMetrics);  CompositeMetric(Iterable<ClusterMetric> clusterMetrics); @Override double value(); @Override long count(); @Override double min(); @Override double max(); @Override double mean(); @Override String toString(); }
CompositeMetric implements ClusterMetric { @Override public double min() { return clusterMetrics.stream().map(ClusterMetric::min).min(Double::compareTo).orElse(0d); } CompositeMetric(ClusterMetric ... clusterMetric);  CompositeMetric(ClusterMetric clusterMetric, Iterable<ClusterMetric> clusterMetrics);  CompositeMetric(Iterable<ClusterMetric> clusterMetrics); @Override double value(); @Override long count(); @Override double min(); @Override double max(); @Override double mean(); @Override String toString();  }