Code example for Splitter

Methods: split

0
    /** @see Sensor#getName() */ 
    public String getName() { return name; }
  
    /** @see Sensor#getNameParts() */ 
    public synchronized List<String> getNameParts() {
        if (nameParts==null) nameParts = ImmutableList.copyOf(dots.split(name));
        return nameParts; 
    } 
  
    /** @see Sensor#getDescription() */ 
    public String getDescription() { return description; }
     
    /** @see Sensor#newEvent(Entity, Object) */ 
    public SensorEvent<T> newEvent(Entity producer, T value) {
        return new BasicSensorEvent<T>(this, producer, value);
    } 
     
    @Override 
    public int hashCode() { 
        return Objects.hashCode(getTypeName(), name, description);
Stop searching for code, let great code find you!  Add Codota to your java IDE