Code example for Collection

Methods: toArray

0
    } 
 
    /** {@inheritDoc} */ 
    @Override 
    public synchronized void setParameters(Collection<CompoundVariable> parameters) throws InvalidVariableException {
        checkMinParameterCount(parameters, MIN_PARAM_COUNT);
        values = parameters.toArray();
    } 
 
    /** {@inheritDoc} */ 
    @Override 
    public String getReferenceKey() {
        return KEY;
    } 
 
    /** {@inheritDoc} */ 
    @Override 
    public List<String> getArgumentDesc() {
        return desc;
    } 
Connect your IDE to all the code out there  Get Codota for Java