当前位置: 首页>>代码示例>>Java>>正文


Java Internal.immutableCopyOf方法代码示例

本文整理汇总了Java中com.squareup.wire.internal.Internal.immutableCopyOf方法的典型用法代码示例。如果您正苦于以下问题:Java Internal.immutableCopyOf方法的具体用法?Java Internal.immutableCopyOf怎么用?Java Internal.immutableCopyOf使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在com.squareup.wire.internal.Internal的用法示例。


在下文中一共展示了Internal.immutableCopyOf方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: FileDescriptorProto

import com.squareup.wire.internal.Internal; //导入方法依赖的package包/类
public FileDescriptorProto(String name, String package_, List<String> dependency,
    List<Integer> public_dependency, List<Integer> weak_dependency,
    List<DescriptorProto> message_type, List<EnumDescriptorProto> enum_type,
    List<ServiceDescriptorProto> service, List<FieldDescriptorProto> extension,
    FileOptions options, SourceCodeInfo source_code_info, String syntax,
    ByteString unknownFields) {
  super(ADAPTER, unknownFields);
  this.name = name;
  this.package_ = package_;
  this.dependency = Internal.immutableCopyOf("dependency", dependency);
  this.public_dependency = Internal.immutableCopyOf("public_dependency", public_dependency);
  this.weak_dependency = Internal.immutableCopyOf("weak_dependency", weak_dependency);
  this.message_type = Internal.immutableCopyOf("message_type", message_type);
  this.enum_type = Internal.immutableCopyOf("enum_type", enum_type);
  this.service = Internal.immutableCopyOf("service", service);
  this.extension = Internal.immutableCopyOf("extension", extension);
  this.options = options;
  this.source_code_info = source_code_info;
  this.syntax = syntax;
}
 
开发者ID:square,项目名称:wire,代码行数:21,代码来源:FileDescriptorProto.java

示例2: SimpleMessage

import com.squareup.wire.internal.Internal; //导入方法依赖的package包/类
public SimpleMessage(Integer optional_int32, NestedMessage optional_nested_msg,
    ExternalMessage optional_external_msg, NestedEnum default_nested_enum, Integer required_int32,
    List<Double> repeated_double, ForeignEnum default_foreign_enum,
    ForeignEnum no_default_foreign_enum, String package_, String result, String other, String o,
    ByteString unknownFields) {
  super(ADAPTER, unknownFields);
  this.optional_int32 = optional_int32;
  this.optional_nested_msg = optional_nested_msg;
  this.optional_external_msg = optional_external_msg;
  this.default_nested_enum = default_nested_enum;
  this.required_int32 = required_int32;
  this.repeated_double = Internal.immutableCopyOf("repeated_double", repeated_double);
  this.default_foreign_enum = default_foreign_enum;
  this.no_default_foreign_enum = no_default_foreign_enum;
  this.package_ = package_;
  this.result = result;
  this.other = other;
  this.o = o;
}
 
开发者ID:square,项目名称:wire,代码行数:20,代码来源:SimpleMessage.java

示例3: MessageOptions

import com.squareup.wire.internal.Internal; //导入方法依赖的package包/类
public MessageOptions(Boolean message_set_wire_format, Boolean no_standard_descriptor_accessor,
    Boolean deprecated, Boolean map_entry, List<UninterpretedOption> uninterpreted_option,
    FooBar my_message_option_one, Float my_message_option_two, FooBar my_message_option_three,
    FooBar.FooBarBazEnum my_message_option_four, FooBar my_message_option_five,
    FooBar my_message_option_six, ForeignMessage foreign_message_option,
    ByteString unknownFields) {
  super(ADAPTER, unknownFields);
  this.message_set_wire_format = message_set_wire_format;
  this.no_standard_descriptor_accessor = no_standard_descriptor_accessor;
  this.deprecated = deprecated;
  this.map_entry = map_entry;
  this.uninterpreted_option = Internal.immutableCopyOf("uninterpreted_option", uninterpreted_option);
  this.my_message_option_one = my_message_option_one;
  this.my_message_option_two = my_message_option_two;
  this.my_message_option_three = my_message_option_three;
  this.my_message_option_four = my_message_option_four;
  this.my_message_option_five = my_message_option_five;
  this.my_message_option_six = my_message_option_six;
  this.foreign_message_option = foreign_message_option;
}
 
开发者ID:square,项目名称:wire,代码行数:21,代码来源:MessageOptions.java

示例4: FileOptions

import com.squareup.wire.internal.Internal; //导入方法依赖的package包/类
public FileOptions(String java_package, String java_outer_classname, Boolean java_multiple_files,
    Boolean java_generate_equals_and_hash, Boolean java_string_check_utf8,
    OptimizeMode optimize_for, String go_package, Boolean cc_generic_services,
    Boolean java_generic_services, Boolean py_generic_services, Boolean deprecated,
    Boolean cc_enable_arenas, String objc_class_prefix, String csharp_namespace,
    List<UninterpretedOption> uninterpreted_option, ByteString unknownFields) {
  super(ADAPTER, unknownFields);
  this.java_package = java_package;
  this.java_outer_classname = java_outer_classname;
  this.java_multiple_files = java_multiple_files;
  this.java_generate_equals_and_hash = java_generate_equals_and_hash;
  this.java_string_check_utf8 = java_string_check_utf8;
  this.optimize_for = optimize_for;
  this.go_package = go_package;
  this.cc_generic_services = cc_generic_services;
  this.java_generic_services = java_generic_services;
  this.py_generic_services = py_generic_services;
  this.deprecated = deprecated;
  this.cc_enable_arenas = cc_enable_arenas;
  this.objc_class_prefix = objc_class_prefix;
  this.csharp_namespace = csharp_namespace;
  this.uninterpreted_option = Internal.immutableCopyOf("uninterpreted_option", uninterpreted_option);
}
 
开发者ID:square,项目名称:wire,代码行数:24,代码来源:FileOptions.java

示例5: FrameEntity

import com.squareup.wire.internal.Internal; //导入方法依赖的package包/类
public FrameEntity(Float alpha, Layout layout, Transform transform, String clipPath,
    List<ShapeEntity> shapes, ByteString unknownFields) {
  super(ADAPTER, unknownFields);
  this.alpha = alpha;
  this.layout = layout;
  this.transform = transform;
  this.clipPath = clipPath;
  this.shapes = Internal.immutableCopyOf("shapes", shapes);
}
 
开发者ID:yyued,项目名称:SVGAPlayer-Android,代码行数:10,代码来源:FrameEntity.java

示例6: MovieEntity

import com.squareup.wire.internal.Internal; //导入方法依赖的package包/类
public MovieEntity(String version, MovieParams params, Map<String, ByteString> images,
    List<SpriteEntity> sprites, ByteString unknownFields) {
  super(ADAPTER, unknownFields);
  this.version = version;
  this.params = params;
  this.images = Internal.immutableCopyOf("images", images);
  this.sprites = Internal.immutableCopyOf("sprites", sprites);
}
 
开发者ID:yyued,项目名称:SVGAPlayer-Android,代码行数:9,代码来源:MovieEntity.java

示例7: Dinosaur

import com.squareup.wire.internal.Internal; //导入方法依赖的package包/类
public Dinosaur(String name, List<String> picture_urls, Double length_meters, Double mass_kilograms, Period period, ByteString unknownFields) {
  super(ADAPTER, unknownFields);
  this.name = name;
  this.picture_urls = Internal.immutableCopyOf("picture_urls", picture_urls);
  this.length_meters = length_meters;
  this.mass_kilograms = mass_kilograms;
  this.period = period;
}
 
开发者ID:East196,项目名称:maker,代码行数:9,代码来源:Dinosaur.java

示例8: FooBar

import com.squareup.wire.internal.Internal; //导入方法依赖的package包/类
public FooBar(Integer foo, String bar, Nested baz, Long qux, List<Float> fred, Double daisy,
    List<FooBar> nested, FooBarBazEnum ext, List<FooBarBazEnum> rep, ByteString unknownFields) {
  super(ADAPTER, unknownFields);
  this.foo = foo;
  this.bar = bar;
  this.baz = baz;
  this.qux = qux;
  this.fred = Internal.immutableCopyOf("fred", fred);
  this.daisy = daisy;
  this.nested = Internal.immutableCopyOf("nested", nested);
  this.ext = ext;
  this.rep = Internal.immutableCopyOf("rep", rep);
}
 
开发者ID:square,项目名称:wire,代码行数:14,代码来源:FooBar.java

示例9: ExternalMessage

import com.squareup.wire.internal.Internal; //导入方法依赖的package包/类
public ExternalMessage(Float f, List<Integer> fooext, Integer barext, Integer bazext,
    SimpleMessage.NestedMessage nested_message_ext, SimpleMessage.NestedEnum nested_enum_ext,
    ByteString unknownFields) {
  super(ADAPTER, unknownFields);
  this.f = f;
  this.fooext = Internal.immutableCopyOf("fooext", fooext);
  this.barext = barext;
  this.bazext = bazext;
  this.nested_message_ext = nested_message_ext;
  this.nested_enum_ext = nested_enum_ext;
}
 
开发者ID:square,项目名称:wire,代码行数:12,代码来源:ExternalMessage.java

示例10: RepeatedPackedAndMap

import com.squareup.wire.internal.Internal; //导入方法依赖的package包/类
public RepeatedPackedAndMap(List<Integer> rep_int32, List<Integer> pack_int32,
    Map<Integer, Integer> map_int32_int32, ByteString unknownFields) {
  super(ADAPTER, unknownFields);
  this.rep_int32 = Internal.immutableCopyOf("rep_int32", rep_int32);
  this.pack_int32 = Internal.immutableCopyOf("pack_int32", pack_int32);
  this.map_int32_int32 = Internal.immutableCopyOf("map_int32_int32", map_int32_int32);
}
 
开发者ID:square,项目名称:wire,代码行数:8,代码来源:RepeatedPackedAndMap.java

示例11: Person

import com.squareup.wire.internal.Internal; //导入方法依赖的package包/类
public Person(String name, Integer id, String email, List<PhoneNumber> phone,
    ByteString unknownFields) {
  super(ADAPTER, unknownFields);
  this.name = name;
  this.id = id;
  this.email = email;
  this.phone = Internal.immutableCopyOf("phone", phone);
}
 
开发者ID:square,项目名称:wire,代码行数:9,代码来源:Person.java

示例12: VersionTwo

import com.squareup.wire.internal.Internal; //导入方法依赖的package包/类
public VersionTwo(Integer i, Integer v2_i, String v2_s, Integer v2_f32, Long v2_f64,
    List<String> v2_rs, ByteString unknownFields) {
  super(ADAPTER, unknownFields);
  this.i = i;
  this.v2_i = v2_i;
  this.v2_s = v2_s;
  this.v2_f32 = v2_f32;
  this.v2_f64 = v2_f64;
  this.v2_rs = Internal.immutableCopyOf("v2_rs", v2_rs);
}
 
开发者ID:square,项目名称:wire,代码行数:11,代码来源:VersionTwo.java

示例13: EnumValueOptions

import com.squareup.wire.internal.Internal; //导入方法依赖的package包/类
public EnumValueOptions(Boolean deprecated, List<UninterpretedOption> uninterpreted_option,
    Integer enum_value_option, FooBar.More complex_enum_value_option,
    Boolean foreign_enum_value_option, ByteString unknownFields) {
  super(ADAPTER, unknownFields);
  this.deprecated = deprecated;
  this.uninterpreted_option = Internal.immutableCopyOf("uninterpreted_option", uninterpreted_option);
  this.enum_value_option = enum_value_option;
  this.complex_enum_value_option = complex_enum_value_option;
  this.foreign_enum_value_option = foreign_enum_value_option;
}
 
开发者ID:square,项目名称:wire,代码行数:11,代码来源:EnumValueOptions.java

示例14: Location

import com.squareup.wire.internal.Internal; //导入方法依赖的package包/类
public Location(List<Integer> path, List<Integer> span, String leading_comments,
    String trailing_comments, List<String> leading_detached_comments,
    ByteString unknownFields) {
  super(ADAPTER, unknownFields);
  this.path = Internal.immutableCopyOf("path", path);
  this.span = Internal.immutableCopyOf("span", span);
  this.leading_comments = leading_comments;
  this.trailing_comments = trailing_comments;
  this.leading_detached_comments = Internal.immutableCopyOf("leading_detached_comments", leading_detached_comments);
}
 
开发者ID:square,项目名称:wire,代码行数:11,代码来源:SourceCodeInfo.java

示例15: ServiceDescriptorProto

import com.squareup.wire.internal.Internal; //导入方法依赖的package包/类
public ServiceDescriptorProto(String name, List<MethodDescriptorProto> method,
    ServiceOptions options, ByteString unknownFields) {
  super(ADAPTER, unknownFields);
  this.name = name;
  this.method = Internal.immutableCopyOf("method", method);
  this.options = options;
}
 
开发者ID:square,项目名称:wire,代码行数:8,代码来源:ServiceDescriptorProto.java


注:本文中的com.squareup.wire.internal.Internal.immutableCopyOf方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。