- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {ArrayList a =
new ArrayList<String>()
new ArrayList()
new ArrayList<Object>()
- Smart code suggestions by Codota
}
public void updateSensorEnrichmentConfig(String sensorType, SensorEnrichmentConfig sensorEnrichmentConfig) { getConfigurations().put(getKey(sensorType), sensorEnrichmentConfig); }
public SensorEnrichmentConfig getSensorEnrichmentConfig(String sensorType) { return (SensorEnrichmentConfig) getConfigurations().get(getKey(sensorType)); }
public void delete(String sensorType) { getConfigurations().remove(getKey(sensorType)); }
public List<String> getTypes() { List<String> ret = new ArrayList<>(); for(String keyedSensor : getConfigurations().keySet()) { if(!keyedSensor.isEmpty() && keyedSensor.startsWith(ConfigurationType.ENRICHMENT.getTypeName())) { ret.add(keyedSensor.substring(ConfigurationType.ENRICHMENT.getTypeName().length() + 1)); } } return ret; }