public boolean replaceAll(List<Element> newElements) {
		int f = 0;
		for(int i = 0; i < newElements.size(); i++){
			f += newElements.get(i).getValue();
		}
		
		if(f <= this.capacity){
			this.filled = f;
			this.elements = newElements;
			return true;
		}
		
		return false;
	}