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


Java ImmutableUtils.nullToEmptySet方法代码示例

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


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

示例1: ImmutableClassDef

import org.jf.util.ImmutableUtils; //导入方法依赖的package包/类
public ImmutableClassDef(@Nonnull String type,
                         int accessFlags,
                         @Nullable String superclass,
                         @Nullable ImmutableSet<String> interfaces,
                         @Nullable String sourceFile,
                         @Nullable ImmutableSet<? extends ImmutableAnnotation> annotations,
                         @Nullable ImmutableSortedSet<? extends ImmutableField> staticFields,
                         @Nullable ImmutableSortedSet<? extends ImmutableField> instanceFields,
                         @Nullable ImmutableSortedSet<? extends ImmutableMethod> directMethods,
                         @Nullable ImmutableSortedSet<? extends ImmutableMethod> virtualMethods) {
    this.type = type;
    this.accessFlags = accessFlags;
    this.superclass = superclass;
    this.interfaces = ImmutableUtils.nullToEmptySet(interfaces);
    this.sourceFile = sourceFile;
    this.annotations = ImmutableUtils.nullToEmptySet(annotations);
    this.staticFields = ImmutableUtils.nullToEmptySortedSet(staticFields);
    this.instanceFields = ImmutableUtils.nullToEmptySortedSet(instanceFields);
    this.directMethods = ImmutableUtils.nullToEmptySortedSet(directMethods);
    this.virtualMethods = ImmutableUtils.nullToEmptySortedSet(virtualMethods);
}
 
开发者ID:CvvT,项目名称:andbg,代码行数:22,代码来源:ImmutableClassDef.java

示例2: ImmutableClassDef

import org.jf.util.ImmutableUtils; //导入方法依赖的package包/类
public ImmutableClassDef( String type,
                         int accessFlags,
                          String superclass,
                          ImmutableList<String> interfaces,
                          String sourceFile,
                          ImmutableSet<? extends ImmutableAnnotation> annotations,
                          ImmutableSortedSet<? extends ImmutableField> staticFields,
                          ImmutableSortedSet<? extends ImmutableField> instanceFields,
                          ImmutableSortedSet<? extends ImmutableMethod> directMethods,
                          ImmutableSortedSet<? extends ImmutableMethod> virtualMethods) {
    this.type = type;
    this.accessFlags = accessFlags;
    this.superclass = superclass;
    this.interfaces = ImmutableUtils.nullToEmptyList(interfaces);
    this.sourceFile = sourceFile;
    this.annotations = ImmutableUtils.nullToEmptySet(annotations);
    this.staticFields = ImmutableUtils.nullToEmptySortedSet(staticFields);
    this.instanceFields = ImmutableUtils.nullToEmptySortedSet(instanceFields);
    this.directMethods = ImmutableUtils.nullToEmptySortedSet(directMethods);
    this.virtualMethods = ImmutableUtils.nullToEmptySortedSet(virtualMethods);
}
 
开发者ID:AndreJCL,项目名称:JCL,代码行数:22,代码来源:ImmutableClassDef.java

示例3: ImmutableClassDef

import org.jf.util.ImmutableUtils; //导入方法依赖的package包/类
public ImmutableClassDef(@Nonnull String type,
                         int accessFlags,
                         @Nullable String superclass,
                         @Nullable ImmutableList<String> interfaces,
                         @Nullable String sourceFile,
                         @Nullable ImmutableSet<? extends ImmutableAnnotation> annotations,
                         @Nullable ImmutableSortedSet<? extends ImmutableField> staticFields,
                         @Nullable ImmutableSortedSet<? extends ImmutableField> instanceFields,
                         @Nullable ImmutableSortedSet<? extends ImmutableMethod> directMethods,
                         @Nullable ImmutableSortedSet<? extends ImmutableMethod> virtualMethods) {
    this.type = type;
    this.accessFlags = accessFlags;
    this.superclass = superclass;
    this.interfaces = ImmutableUtils.nullToEmptyList(interfaces);
    this.sourceFile = sourceFile;
    this.annotations = ImmutableUtils.nullToEmptySet(annotations);
    this.staticFields = ImmutableUtils.nullToEmptySortedSet(staticFields);
    this.instanceFields = ImmutableUtils.nullToEmptySortedSet(instanceFields);
    this.directMethods = ImmutableUtils.nullToEmptySortedSet(directMethods);
    this.virtualMethods = ImmutableUtils.nullToEmptySortedSet(virtualMethods);
}
 
开发者ID:johnlee175,项目名称:dex,代码行数:22,代码来源:ImmutableClassDef.java

示例4: ImmutableAnnotation

import org.jf.util.ImmutableUtils; //导入方法依赖的package包/类
public ImmutableAnnotation(int visibility,
                           @Nonnull String type,
                           @Nullable ImmutableSet<? extends ImmutableAnnotationElement> elements) {
    this.visibility = visibility;
    this.type = type;
    this.elements = ImmutableUtils.nullToEmptySet(elements);
}
 
开发者ID:CvvT,项目名称:andbg,代码行数:8,代码来源:ImmutableAnnotation.java

示例5: ImmutableMethod

import org.jf.util.ImmutableUtils; //导入方法依赖的package包/类
public ImmutableMethod(@Nonnull String definingClass,
                       @Nonnull String name,
                       @Nullable ImmutableList<? extends ImmutableMethodParameter> parameters,
                       @Nonnull String returnType,
                       int accessFlags,
                       @Nullable ImmutableSet<? extends ImmutableAnnotation> annotations,
                       @Nullable ImmutableMethodImplementation methodImplementation) {
    this.definingClass = definingClass;
    this.name = name;
    this.parameters = ImmutableUtils.nullToEmptyList(parameters);
    this.returnType = returnType;
    this.accessFlags = accessFlags;
    this.annotations = ImmutableUtils.nullToEmptySet(annotations);
    this.methodImplementation = methodImplementation;
}
 
开发者ID:CvvT,项目名称:andbg,代码行数:16,代码来源:ImmutableMethod.java

示例6: ImmutableMethodParameter

import org.jf.util.ImmutableUtils; //导入方法依赖的package包/类
public ImmutableMethodParameter(@Nonnull String type,
                                @Nullable ImmutableSet<? extends ImmutableAnnotation> annotations,
                                @Nullable String name) {
    this.type = type;
    this.annotations = ImmutableUtils.nullToEmptySet(annotations);
    this.name = name;
}
 
开发者ID:CvvT,项目名称:andbg,代码行数:8,代码来源:ImmutableMethodParameter.java

示例7: ImmutableField

import org.jf.util.ImmutableUtils; //导入方法依赖的package包/类
public ImmutableField(@Nonnull String definingClass,
                      @Nonnull String name,
                      @Nonnull String type,
                      int accessFlags,
                      @Nullable ImmutableEncodedValue initialValue,
                      @Nullable ImmutableSet<? extends ImmutableAnnotation> annotations) {
    this.definingClass = definingClass;
    this.name = name;
    this.type = type;
    this.accessFlags = accessFlags;
    this.initialValue = initialValue;
    this.annotations = ImmutableUtils.nullToEmptySet(annotations);
}
 
开发者ID:CvvT,项目名称:andbg,代码行数:14,代码来源:ImmutableField.java

示例8: ImmutableMethod

import org.jf.util.ImmutableUtils; //导入方法依赖的package包/类
public ImmutableMethod( String definingClass,
                        String name,
                        ImmutableList<? extends ImmutableMethodParameter> parameters,
                        String returnType,
                       int accessFlags,
                        ImmutableSet<? extends ImmutableAnnotation> annotations,
                        ImmutableMethodImplementation methodImplementation) {
    this.definingClass = definingClass;
    this.name = name;
    this.parameters = ImmutableUtils.nullToEmptyList(parameters);
    this.returnType = returnType;
    this.accessFlags = accessFlags;
    this.annotations = ImmutableUtils.nullToEmptySet(annotations);
    this.methodImplementation = methodImplementation;
}
 
开发者ID:AndreJCL,项目名称:JCL,代码行数:16,代码来源:ImmutableMethod.java

示例9: ImmutableMethodParameter

import org.jf.util.ImmutableUtils; //导入方法依赖的package包/类
public ImmutableMethodParameter( String type,
                                 ImmutableSet<? extends ImmutableAnnotation> annotations,
                                 String name) {
    this.type = type;
    this.annotations = ImmutableUtils.nullToEmptySet(annotations);
    this.name = name;
}
 
开发者ID:AndreJCL,项目名称:JCL,代码行数:8,代码来源:ImmutableMethodParameter.java

示例10: ImmutableField

import org.jf.util.ImmutableUtils; //导入方法依赖的package包/类
public ImmutableField( String definingClass,
                       String name,
                       String type,
                      int accessFlags,
                       ImmutableEncodedValue initialValue,
                       ImmutableSet<? extends ImmutableAnnotation> annotations) {
    this.definingClass = definingClass;
    this.name = name;
    this.type = type;
    this.accessFlags = accessFlags;
    this.initialValue = initialValue;
    this.annotations = ImmutableUtils.nullToEmptySet(annotations);
}
 
开发者ID:AndreJCL,项目名称:JCL,代码行数:14,代码来源:ImmutableField.java

示例11: ImmutableDexFile

import org.jf.util.ImmutableUtils; //导入方法依赖的package包/类
public ImmutableDexFile(@Nullable ImmutableSet<? extends ImmutableClassDef> classes) {
    this.classes = ImmutableUtils.nullToEmptySet(classes);
}
 
开发者ID:CvvT,项目名称:andbg,代码行数:4,代码来源:ImmutableDexFile.java

示例12: ImmutableAnnotationEncodedValue

import org.jf.util.ImmutableUtils; //导入方法依赖的package包/类
public ImmutableAnnotationEncodedValue(@Nonnull String type,
                                       @Nullable ImmutableSet<? extends ImmutableAnnotationElement> elements) {
    this.type = type;
    this.elements = ImmutableUtils.nullToEmptySet(elements);
}
 
开发者ID:CvvT,项目名称:andbg,代码行数:6,代码来源:ImmutableAnnotationEncodedValue.java

示例13: ImmutableDexFile

import org.jf.util.ImmutableUtils; //导入方法依赖的package包/类
public ImmutableDexFile( Opcodes opcodes,  ImmutableSet<? extends ImmutableClassDef> classes) {
    this.classes = ImmutableUtils.nullToEmptySet(classes);
    this.opcodes = opcodes;
}
 
开发者ID:AndreJCL,项目名称:JCL,代码行数:5,代码来源:ImmutableDexFile.java

示例14: ImmutableAnnotationEncodedValue

import org.jf.util.ImmutableUtils; //导入方法依赖的package包/类
public ImmutableAnnotationEncodedValue( String type,
                                        ImmutableSet<? extends ImmutableAnnotationElement> elements) {
    this.type = type;
    this.elements = ImmutableUtils.nullToEmptySet(elements);
}
 
开发者ID:AndreJCL,项目名称:JCL,代码行数:6,代码来源:ImmutableAnnotationEncodedValue.java

示例15: ImmutableDexFile

import org.jf.util.ImmutableUtils; //导入方法依赖的package包/类
@Deprecated
public ImmutableDexFile(@Nullable ImmutableSet<? extends ImmutableClassDef> classes) {
    this.classes = ImmutableUtils.nullToEmptySet(classes);
    this.opcodes = Opcodes.forApi(19);
}
 
开发者ID:johnlee175,项目名称:dex,代码行数:6,代码来源:ImmutableDexFile.java


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