com.thoughtworks.xstream.core.JVM.canCreateDerivedObjectOutputStream()方法的使用及代码示例

x33g5p2x  于2022-01-22 转载在 其他  
字(5.3k)|赞(0)|评价(0)|浏览(113)

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

JVM.canCreateDerivedObjectOutputStream介绍

暂无

代码示例

代码示例来源:origin: com.thoughtworks.xstream/xstream

public boolean canConvert(Class type) {
  return type != null && JVM.canCreateDerivedObjectOutputStream() && Externalizable.class.isAssignableFrom(type);
}

代码示例来源:origin: com.thoughtworks.xstream/xstream

@Override
public boolean canConvert(final Class type) {
  return Types.isLambdaType(type)
    && (JVM.canCreateDerivedObjectOutputStream() || !Serializable.class.isAssignableFrom(type));
}

代码示例来源:origin: com.thoughtworks.xstream/xstream

public boolean canConvert(Class type) {
  return JVM.canCreateDerivedObjectOutputStream() && isSerializable(type);
}

代码示例来源:origin: com.thoughtworks.xstream/xstream

System.out.println("Optimized TreeMap.putAll: " + hasOptimizedTreeMapPutAll());
System.out.println("Can parse UTC date format: " + canParseUTCDateFormat());
System.out.println("Can create derive ObjectOutputStream: " + canCreateDerivedObjectOutputStream());
System.out.println("Reverse field order detected for JDK: " + reverseJDK);
System.out.println("Reverse field order detected (only if JVM class itself has been compiled): "

代码示例来源:origin: x-stream/xstream

@Override
public boolean canConvert(final Class<?> type) {
  return type != null && JVM.canCreateDerivedObjectOutputStream() && Externalizable.class.isAssignableFrom(type);
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xstream

public boolean canConvert(Class type) {
  return type != null && JVM.canCreateDerivedObjectOutputStream() && Externalizable.class.isAssignableFrom(type);
}

代码示例来源:origin: org.sonatype.nexus.xstream/xstream

public boolean canConvert(Class type) {
  return JVM.canCreateDerivedObjectOutputStream() && Externalizable.class.isAssignableFrom(type);
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xstream-java8

public boolean canConvert(Class type) {
  return type != null && JVM.canCreateDerivedObjectOutputStream() && Externalizable.class.isAssignableFrom(type);
}

代码示例来源:origin: apache/servicemix-bundles

public boolean canConvert(Class type) {
  return type != null && JVM.canCreateDerivedObjectOutputStream() && Externalizable.class.isAssignableFrom(type);
}

代码示例来源:origin: x-stream/xstream

@Override
public boolean canConvert(final Class<?> type) {
  return Types.isLambdaType(type)
    && (JVM.canCreateDerivedObjectOutputStream() || !Serializable.class.isAssignableFrom(type));
}

代码示例来源:origin: tangram/tangram-mutable

@Override
@SuppressWarnings("rawtypes")
public boolean canConvert(Class type) {
  return JVM.canCreateDerivedObjectOutputStream()&&myIsSerializable(type);
}

代码示例来源:origin: x-stream/xstream

@Override
public boolean canConvert(final Class<?> type) {
  return JVM.canCreateDerivedObjectOutputStream() && isSerializable(type);
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xstream-java8

@Override
public boolean canConvert(final Class type) {
  return Types.isLambdaType(type)
    && (JVM.canCreateDerivedObjectOutputStream() || !Serializable.class.isAssignableFrom(type));
}

代码示例来源:origin: apache/servicemix-bundles

@Override
public boolean canConvert(final Class type) {
  return Types.isLambdaType(type)
    && (JVM.canCreateDerivedObjectOutputStream() || !Serializable.class.isAssignableFrom(type));
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xstream-java8

public boolean canConvert(Class type) {
  return JVM.canCreateDerivedObjectOutputStream() && isSerializable(type);
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xstream

public boolean canConvert(Class type) {
  return JVM.canCreateDerivedObjectOutputStream() && isSerializable(type);
}

代码示例来源:origin: org.sonatype.nexus.xstream/xstream

public boolean canConvert(Class type) {
  return JVM.canCreateDerivedObjectOutputStream() && isSerializable(type);
}

代码示例来源:origin: apache/servicemix-bundles

public boolean canConvert(Class type) {
  return JVM.canCreateDerivedObjectOutputStream() && isSerializable(type);
}

代码示例来源:origin: x-stream/xstream

System.out.println("Optimized TreeMap.putAll: " + hasOptimizedTreeMapPutAll());
System.out.println("Can parse UTC date format: " + canParseUTCDateFormat());
System.out.println("Can create derive ObjectOutputStream: " + canCreateDerivedObjectOutputStream());
System.out.println("Reverse field order detected for JDK: " + reverseJDK);
System.out.println("Reverse field order detected (only if JVM class itself has been compiled): "

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xstream

System.out.println("Optimized TreeMap.putAll: " + hasOptimizedTreeMapPutAll());
System.out.println("Can parse UTC date format: " + canParseUTCDateFormat());
System.out.println("Can create derive ObjectOutputStream: " + canCreateDerivedObjectOutputStream());
System.out.println("Reverse field order detected for JDK: " + reverseJDK);
System.out.println("Reverse field order detected (only if JVM class itself has been compiled): "

相关文章