code: private String createString(String f)
      {
          StringBuilder sb = new StringBuilder();
          sb.append("addressMode="+"("+
              CUaddress_mode.stringFor(addressMode[0])+","+
              CUaddress_mode.stringFor(addressMode[1])+","+
              CUaddress_mode.stringFor(addressMode[2])+")"+f);
          sb.append("filterMode="+CUfilter_mode.stringFor(filterMode)+f);
          String flagsString = "";
          if ((flags & JCudaDriver.CU_TRSF_READ_AS_INTEGER) != 0)
          {
              flagsString += "CU_TRSF_READ_AS_INTEGER";
          }
          if ((flags & JCudaDriver.CU_TRSF_NORMALIZED_COORDINATES) != 0)
          {
              flagsString += "CU_TRSF_NORMALIZED_COORDINATES";
          }
          sb.append("flags="+flags+"("+flagsString+")");
          sb.append("maxAnisotropy="+maxAnisotropy);
          sb.append("mipmapFilterMode="+CUfilter_mode.stringFor(mipmapFilterMode)+f);
          sb.append("mipmapLevelBias="+mipmapLevelBias+f);
          sb.append("minMipmapLevelClamp="+minMipmapLevelClamp+f);
          sb.append("maxMipmapLevelClamp="+maxMipmapLevelClamp+f);
          sb.append("borderColor="+Arrays.toString(borderColor)+f);
          return sb.toString();
      }
docs: Creates and returns a string representation of this object,
  using the given separator for the fields
  
  @param f Separator
  @return A String representation of this object