edu.emory.mathcs.backport.java.util.Arrays.toString()方法的使用及代码示例

x33g5p2x  于2022-01-16 转载在 其他  
字(3.0k)|赞(0)|评价(0)|浏览(151)

本文整理了Java中edu.emory.mathcs.backport.java.util.Arrays.toString()方法的一些代码示例,展示了Arrays.toString()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Arrays.toString()方法的具体详情如下:
包路径:edu.emory.mathcs.backport.java.util.Arrays
类名称:Arrays
方法名:toString

Arrays.toString介绍

暂无

代码示例

代码示例来源:origin: jooby-project/jooby

@Override
public String debug() {
 return mId + "; deps = " + Arrays.toString(cp);
}

代码示例来源:origin: backport-util-concurrent/backport-util-concurrent

(e instanceof byte[]) ? toString( (byte[]) e) :
(e instanceof short[]) ? toString( (short[]) e) :
(e instanceof int[]) ? toString( (int[]) e) :
(e instanceof long[]) ? toString( (long[]) e) :
(e instanceof char[]) ? toString( (char[]) e) :
(e instanceof boolean[]) ? toString( (boolean[]) e) :
(e instanceof float[]) ? toString( (float[]) e) :
(e instanceof double[]) ? toString( (double[]) e) : "");

代码示例来源:origin: backport-util-concurrent/backport-util-concurrent-java12

(e instanceof byte[]) ? toString( (byte[]) e) :
(e instanceof short[]) ? toString( (short[]) e) :
(e instanceof int[]) ? toString( (int[]) e) :
(e instanceof long[]) ? toString( (long[]) e) :
(e instanceof char[]) ? toString( (char[]) e) :
(e instanceof boolean[]) ? toString( (boolean[]) e) :
(e instanceof float[]) ? toString( (float[]) e) :
(e instanceof double[]) ? toString( (double[]) e) : "");

代码示例来源:origin: edu.emory.mathcs.backport/com.springsource.edu.emory.mathcs.backport

(e instanceof byte[]) ? toString( (byte[]) e) :
(e instanceof short[]) ? toString( (short[]) e) :
(e instanceof int[]) ? toString( (int[]) e) :
(e instanceof long[]) ? toString( (long[]) e) :
(e instanceof char[]) ? toString( (char[]) e) :
(e instanceof boolean[]) ? toString( (boolean[]) e) :
(e instanceof float[]) ? toString( (float[]) e) :
(e instanceof double[]) ? toString( (double[]) e) : "");

代码示例来源:origin: minnal/minnal

jc.parse(args);
} catch (ParameterException e) {
  logger.debug("Failed while parsing the args " + Arrays.toString(args), e);
  showHelp(jc.getParsedCommand());
  return;

代码示例来源:origin: apache/ofbiz-framework

public static Map<String, Object> updateImageMethod(DispatchContext dctx, Map<String, ? extends Object> context) {
  Map<String, Object> result = new HashMap<>();
  Delegator delegator = dctx.getDelegator();
  //Locale locale = (Locale) context.get("locale");
  String dataResourceId = (String) context.get("dataResourceId");
  ByteBuffer byteBuffer = (ByteBuffer)context.get("imageData");
  if (byteBuffer != null) {
    byte[] imageBytes = byteBuffer.array();
    try {
      GenericValue imageDataResource = EntityQuery.use(delegator).from("ImageDataResource").where("dataResourceId", dataResourceId).queryOne();
      if (Debug.infoOn()) {
        Debug.logInfo("imageDataResource(U):" + imageDataResource, module);
        Debug.logInfo("imageBytes(U):" + Arrays.toString(imageBytes), module);
      }
      if (imageDataResource == null) {
        return createImageMethod(dctx, context);
      }
      imageDataResource.setBytes("imageData", imageBytes);
      imageDataResource.store();
    } catch (GenericEntityException e) {
      return ServiceUtil.returnError(e.getMessage());
    }
  }
  return result;
}

代码示例来源:origin: apache/ofbiz-framework

Debug.logInfo("in updateBinaryFileMethod, imageData:" + Arrays.toString(imageData), module);

相关文章