public boolean equals(Inventory other){
		if(other == null){
			return false;
		}
		else if(this.getClass() != other.getClass()){
			return false;
		}
		else{
			if(this.getSize() != other.getSize()){
				return false;
			}
			for(int counter = 0; counter < this.getSize(); counter++){
				if(this.getList().get(counter).getName().equals(other.getList().get(counter).getName())){
					continue;
				}
				else{
					return false;
				}
			}
		}
		return true;
	}