MATSIM
BinEntry.java
Go to the documentation of this file.
1 /* *********************************************************************** *
2  * project: org.matsim.*
3  * *
4  * *********************************************************************** *
5  * *
6  * copyright : (C) 2012 by the members listed in the COPYING, *
7  * LICENSE and WARRANTY file. *
8  * email : info at matsim dot org *
9  * *
10  * *********************************************************************** *
11  * *
12  * This program is free software; you can redistribute it and/or modify *
13  * it under the terms of the GNU General Public License as published by *
14  * the Free Software Foundation; either version 2 of the License, or *
15  * (at your option) any later version. *
16  * See also COPYING, LICENSE and WARRANTY file *
17  * *
18  * *********************************************************************** */
19 
20 package org.matsim.analysis;
21 
22 public class BinEntry {
23 
24  private double value;
25  private double weight;
26 
27  public BinEntry(double value, double weight) {
28  this.value = value;
29  this.weight = weight;
30  }
31 
32 
33  public double getValue() {
34  return value;
35  }
36 
37  public void setValue(double value) {
38  this.value = value;
39  }
40 
41  public double getWeight() {
42  return weight;
43  }
44 
45  public void setWeight(double weight) {
46  this.weight = weight;
47  }
48 }
double value
Definition: BinEntry.java:24
double weight
Definition: BinEntry.java:25
double getWeight()
Definition: BinEntry.java:41
BinEntry(double value, double weight)
Definition: BinEntry.java:27
double getValue()
Definition: BinEntry.java:33
Definition: BinEntry.java:22
void setValue(double value)
Definition: BinEntry.java:37
void setWeight(double weight)
Definition: BinEntry.java:45