jill/src/main/java/io/github/agentsoz/jill/core/beliefbase/BeliefSet.java
public BeliefSetField getFieldByName(String name) {
    BeliefSetField field = null;
    for (int i = 0; i < fields.length; i++) {
      if (name.equals(fields[i].getName())) {
        field = fields[i];
        break;
      }
    }
    return field;
  }
public BeliefSetField getFieldByName(String name) {
    BeliefSetField field = null;
    for (int i = 0; i < fields.length; i++) {
      if (name.equals(fields[i].getName())) {
        field = fields[i];
        break;
      }
    }
    return field;
  }
Gets the field of this belief set that has the given name.

@param name the name of the field to retrieve
@return the belief set field matching that name, or null if not found
@since 0.3.4