code: public Component remove (Class<? extends Component> componentClass) {
  		ComponentType componentType = ComponentType.getFor(componentClass);
  		int componentTypeIndex = componentType.getIndex();
  		
  		if(components.isIndexWithinBounds(componentTypeIndex)){
  			Component removeComponent = components.get(componentTypeIndex);
  	
  			if (removeComponent != null && removeInternal(componentClass) != null) {
  				if (componentOperationHandler != null) {
  					componentOperationHandler.remove(this);
  				}
  				else {
  					notifyComponentRemoved();
  				}
  			}
  	
  			return removeComponent;
  		}
  		
  		return null;
  	}
docs: Removes the {@link Component} of the specified type. Since there is only ever one component of one type, we don't need an
  instance reference.
  @return The removed {@link Component}, or null if the Entity did no contain such a component.