code: public static String getShipType(BigInteger ts) {
          if (ts == null)
              return null;
          else
              return getShipType(ts.intValue());
      }
docs: Returns the ship type for given integer. If integer is null then returns
  null.
  
  @param ts
  @return