public static String toString(int[] oid){
  StringBuilder sb=new StringBuilder(3 * oid.length);
  for (int i=0; i < oid.length - 1; ++i) {
    sb.append(oid[i]);
    sb.append('.');
  }
  sb.append(oid[oid.length - 1]);
  return sb.toString();
}

public static String toString ( int [ ] oid ) { StringBuilder sb = new StringBuilder ( 3 * oid . length ) ; for ( int i = 0 ; i < oid . length - 1 ; ++ i ) { sb . append ( oid [ i ] ) ; sb . append ( '.' ) ; } sb . append ( oid [ oid . length - 1 ] ) ; return sb . toString ( ) ; }
returns string representation of oid . note : it is supposed that passed array of integers contains valid oid value , so no checks are performed .
