code: public static <T> T getFirst(T[] objectArray)
      {
          if (ArrayIterate.notEmpty(objectArray))
          {
              return objectArray[0];
          }
          return null;
      }
docs: Returns the first element of an array.  This method is null safe.