format/src/main/java/com/github/sadikovi/riff/TypeDescription.java
/**
   * Return type description index for field name.
   * @param name field name
   * @return index in type description
   */
Return type description index for field name.
@param name field name
@return index in type description
Return type description index for field name . @param name field name @return index in type description
public int position(String name) {
    TypeSpec spec = schema.get(name);
    if (spec == null) throw new NoSuchElementException("No such field " + name);
    return spec.position();
  }
public int position ( String name ) { TypeSpec spec = schema . get ( name ) ; if ( spec == null ) throw new NoSuchElementException ( "No such field " + name ) ; return spec . position ( ) ; }
Return type description index for field name.
Return type description index for field name .