private int attributeMap(String name){
  Integer num=map.get(name);
  if (num == null) {
    return 0;
  }
  return num.intValue();
}

private int attributeMap ( String name ) { Integer num = map . get ( name ) ; if ( num == null ) { return 0 ; } return num . intValue ( ) ; }
returns the integer attribute number for the passed attribute name .
