Tabnine Logo
Household.setIncome
Code IndexAdd Tabnine to your IDE (free)

How to use
setIncome
method
in
org.matsim.households.Household

Best Java code snippets using org.matsim.households.Household.setIncome (Showing top 2 results out of 315)

origin: matsim-org/matsim

private void fillHousehold() {
  ((HouseholdImpl) this.currentHousehold).setMemberIds(this.currentmembers);
  ((HouseholdImpl) this.currentHousehold).setVehicleIds(this.currentVehicleIds);
  this.currentHousehold.setIncome(this.currentincome);
  this.currentHhId = null;
  this.currentVehicleIds = null;
  this.currentincome = null;
  this.currentmembers = null;
  this.currentIncomePeriod = null;
  this.currentincomeCurrency = null;
}
origin: matsim-org/matsim

/*package*/ Household createHousehold() {
  Household hh = this.builder.createHousehold(this.currentHhId);
  ((HouseholdImpl) hh).setMemberIds(this.currentmembers);
  ((HouseholdImpl) hh).setVehicleIds(this.currentVehicleIds);
  hh.setIncome(this.currentincome);
  this.currentHhId = null;
  this.currentVehicleIds = null;
  this.currentincome = null;
  this.currentmembers = null;
  this.currentIncomePeriod = null;
  this.currentincomeCurrency = null;
  return hh;
}
org.matsim.householdsHouseholdsetIncome

Popular methods of Household

  • getId
  • getMemberIds
  • getVehicleIds
  • getAttributes
  • getIncome
    This returns an Income, not a number. The Income type contains a method `getIncomePeriod()'.

Popular in Java

  • Creating JSON documents from java classes using gson
  • startActivity (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • setScale (BigDecimal)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now