Codota Logo
CollectionUtils.setToString
Code IndexAdd Codota to your IDE (free)

How to use
setToString
method
in
org.matsim.core.utils.collections.CollectionUtils

Best Java code snippets using org.matsim.core.utils.collections.CollectionUtils.setToString (Showing top 7 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
BufferedReader b =
  • Codota IconInputStream in;new BufferedReader(new InputStreamReader(in))
  • Codota IconReader in;new BufferedReader(in)
  • Codota IconFile file;new BufferedReader(new FileReader(file))
  • Smart code suggestions by Codota
}
origin: matsim-org/matsim

@StringGetter(BUS_ID_IDENTIFIER)
private String getBusIdPrefixes() {
  return CollectionUtils.setToString(busIdIdentifier);
}
origin: matsim-org/matsim

@StringGetter( "joinableTypes" )
public String getJoinableTypesString() {
  return CollectionUtils.setToString( joinableTypes );
}
origin: matsim-org/matsim

@StringGetter(SEEP_MODE)
private String getSeepModesAsString() {
  return CollectionUtils.setToString(new HashSet<>(getSeepModes()));
}
@StringSetter(SEEP_MODE)
origin: matsim-org/matsim

@StringGetter(MAIN_MODE)
private String getMainModesAsString() {
  return CollectionUtils.setToString(new HashSet<>(getMainModes()));
}
origin: matsim-org/matsim

@StringGetter( "joinableActivityTypes" )
private String getJoinableActivityTypesString() {
  return CollectionUtils.setToString( getJoinableActivityTypes() );
}

origin: matsim-org/matsim

@Override
public final Map<String, String> getParams() {
  Map<String, String> params = super.getParams();
  params.put(REGRESSION_INERTIA, Double.toString(getRegressionInertia()));
  params.put(MIN_FLOW_STDDEV, Double.toString(getMinFlowStddev_vehPerHour()));
  params.put(FREEZE_ITERATION, Integer.toString(getFreezeIteration()));
  params.put(PREPARATORY_ITERATIONS, Integer.toString(getPreparatoryIterations()));
  params.put(VARIANCE_SCALE, Double.toString(getVarianceScale()));
  params.put(USE_BRUTE_FORCE, Boolean.toString(useBruteForce()));
  params.put(WRITE_ANALYSIS_FILE, Boolean.toString(isWriteAnalysisFile()));
  params.put(START_TIME, Integer.toString(getStartTime()));
  params.put(END_TIME, Integer.toString(getEndTime()));
  params.put(CALIBRATED_ITEMS, CollectionUtils.setToString(this.calibratedItems));
  params.put(TIME_BIN_SIZE, Integer.toString(getTimeBinSize())) ;
  return params;
}
origin: matsim-org/matsim

@Test
public void testSetToString() {
  Set<String> set = new LinkedHashSet<String>();
  set.add("Aaa");
  set.add("Bbb");
  set.add("Ddd");
  set.add("Ccc");
  Assert.assertEquals("Aaa,Bbb,Ddd,Ccc", CollectionUtils.setToString(set));
}
org.matsim.core.utils.collectionsCollectionUtilssetToString

Popular methods of CollectionUtils

  • stringToSet
  • stringToArray
  • arrayToString
  • idSetToString

Popular in Java

  • Reactive rest calls using spring rest template
  • scheduleAtFixedRate (Timer)
  • runOnUiThread (Activity)
  • addToBackStack (FragmentTransaction)
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Locale (java.util)
    A Locale object represents a specific geographical, political, or cultural region. An operation that
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • DataSource (javax.sql)
    A factory for connections to the physical data source that this DataSource object represents. An alt
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now