Note that there are some explanatory texts on larger screens.

plurals
  1. USDilum Ranatunga
    primarykey
    data
    text
    plurals
    1. COThere are three good reasons to have a separate classloader for each module: 1. Allows you to dynamically load & unload modules at runtime 2. Provides insulation between different modules' singletons 3. Prevents unintentional class conflicts The only drawback is that multiple classloaders will incur more memory consumption if you don't architect a shared parent classloader with shared binaries. Once again, I recommend looking into OSGi containers -- doing this sort of thing is their bread and butter.
      singulars
    2. COI had not looked at JUNG until now but quick glance at the API looks promising. It uses generics rather than having first-class types for Nodes and Edges. This is important when you are dealing with a moderately large volume of data. Massive volumes of data (where everything cannot/should not be maintained in RAM) would require additional limitations or abstractions at the API level.
      singulars
    3. COTwo points. First, note that the .substring(...) method that takes just one parameter works better here. Second, are you sure you only want to split on a single space? What about multiple spaces? What about tabs, new lines. What about sentences that end in punctuation, eg "this is a sentence." -- do you want the last string to include the '.'? All of these should be factored in when using the String.split(...) operation; see @Etaoin's answer for how it can be used.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload