congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
CollectionUtils.setToString
Code IndexAdd Tabnine 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)

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

  • Creating JSON documents from java classes using gson
  • setRequestProperty (URLConnection)
  • runOnUiThread (Activity)
  • onRequestPermissionsResult (Fragment)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Top 15 Vim Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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