public static Object compressUuid(String uuid){
  Matcher matcher=COMPRESSIBLE_UUID.matcher(uuid);
  if (uuid.length() == 36 && matcher.matches()) {
    return Integer.valueOf(matcher.group(1));
  }
  return uuid;
}

public static Object compressUuid ( String uuid ) { Matcher matcher = COMPRESSIBLE_UUID . matcher ( uuid ) ; if ( uuid . length ( ) == 36 && matcher . matches ( ) ) { return Integer . valueOf ( matcher . group ( 1 ) ) ; } return uuid ; }
compresses a uuid optionally to a small integer .
