docs: @Override
  	public float calc(Object l1, Object l2) {
  		if (!l1.getClass().equals(l2.getClass()))
  			throw new IllegalArgumentException("Exception in HammingLoss: l1 and l2 have different types");
  		
  		float ret = 0;
  		if (l1 instanceof int[])	{
  			ret = calc((int[])l1, (int[])l2);
  		}else if (l1 instanceof String[])	{
  			ret = calc((String[])l1, (String[])l2);
  		}