private void incrementCounter(Class<? extends Joint> clazz){
  Integer n=N.get(clazz);
  if (n == null) {
    N.put(clazz,2);
  }
 else {
    N.put(clazz,n.intValue() + 1);
  }
}

private void incrementCounter ( Class < ? extends Joint > clazz ) { Integer n = N . get ( clazz ) ; if ( n == null ) { N . put ( clazz , 2 ) ; } else { N . put ( clazz , n . intValue ( ) + 1 ) ; } }
increments the counter for default joint names for the given joint type .
