code: public boolean isSameType(AuthenticationMethod other) {
  		if (other == null)
  			return false;
  		return other.getClass().equals(this.getClass());
  	}
docs: Checks if another method is of the same type.
  
  @param other the other
  @return true, if is same type