public static void objectRefString(Object obj, StringBuilder sb) {
    if (obj != null) {
      sb.append(obj.getClass().getSimpleName()).append('@')
          .append(Integer.toHexString(System.identityHashCode(obj)));
    } else {
      sb.append("(null)");
    }
  }
Remove element from an array. The element is removed at the specified position, and all
remaining elements are moved to the left.

@param originalArray array to remove from
@param pos position to remove
@return the new array
geode-core/src/main/java/org/apache/geode/internal/util/ArrayUtils.java