1 /*******************************************************************************
\r
2 * Copyright (c) 2013 Association for Decentralized Information Management in
\r
4 * All rights reserved. This program and the accompanying materials
\r
5 * are made available under the terms of the Eclipse Public License v1.0
\r
6 * which accompanies this distribution, and is available at
\r
7 * http://www.eclipse.org/legal/epl-v10.html
\r
10 * Semantum Oy - initial API and implementation
\r
11 *******************************************************************************/
\r
12 package org.simantics.sysdyn.ui.trend;
\r
14 import java.util.ArrayList;
\r
15 import java.util.Collections;
\r
17 public class SensitivityDatasetProperties {
\r
19 private boolean median;
\r
20 private ArrayList<ConfidenceBound> confidenceBounds;
\r
22 public SensitivityDatasetProperties(boolean median, ArrayList<ConfidenceBound> confidenceBounds) {
\r
23 this.median = median;
\r
24 this.confidenceBounds = new ArrayList<ConfidenceBound>(confidenceBounds);
\r
25 Collections.sort(this.confidenceBounds);
\r
28 public boolean displayMedian() {
\r
32 public ArrayList<ConfidenceBound> getConfidenceBounds() {
\r
33 return confidenceBounds;
\r