Code example for Splitter

Methods: splitToList

0
    } 
 
    @Config("cassandra.contact-points")
    public CassandraClientConfig setContactPoints(String commaSeparatedList)
    { 
        this.contactPoints = SPLITTER.splitToList(commaSeparatedList);
        return this;
    } 
 
    public CassandraClientConfig setContactPoints(String... contactPoints)
    { 
        this.contactPoints = Arrays.asList(contactPoints);
        return this;
    } 
 
    @Min(1) 
    public int getNativeProtocolPort() 
    { 
        return nativeProtocolPort;
    }