1 Reply Latest reply on Nov 12, 2003 6:41 PM by Steven Grimm

    primitive vs. wrapper

    hans.noemmer Newbie

      Hi,
      are there any recommendations, which return type
      of a CMP field should be preferred:
      - a primitave type (long, int, etc), or
      - primitive wrappers (java.lang.Long, java.lang.Integer, etc) ?
      Are there severe performance drawbacks when using
      the wrapper class ?