com.google.common.collect.ImmutableSet



API Populatity

84 Client projects

Project: com.google

Project JetBrains/kotlin in file ...g.jetbrains.jet.lang.types.lang.PrimitiveType.java (2012-08-08)
@@ -16,6 +16,7 @@
 
 package org.jetbrains.jet.lang.types.lang;
 
+import com.google.common.collect.ImmutableSet;
 import org.jetbrains.annotations.NotNull;
 import org.jetbrains.jet.lang.resolve.name.Name;
 import org.jetbrains.jet.lang.types.ref.ClassName;
@@ -34,6 +35,8 @@ public enum PrimitiveType {
     LONG("Long"),
     DOUBLE("Double"),
     ;
+
+    public static final ImmutableSet<PrimitiveType> NUMBER_TYPES = ImmutableSet.of(CHAR, BYTE, SHORT, INT, FLOAT, LONG, DOUBLE);
     
     private final Name typeName;
     private final Name arrayTypeName;
Project facebook/buck in file ...70/test.com.facebook.buck.java.JavaBinaryTest.java (2014-08-11)
@@ -32,6 +32,7 @@ import com.facebook.buck.util.DefaultDirectoryTraverser;
 import com.facebook.buck.util.ProjectFilesystem;
 import com.google.common.base.Function;
 import com.google.common.collect.ImmutableList;
+import com.google.common.collect.ImmutableSet;
 import com.google.common.collect.ImmutableSortedSet;
 
 import org.junit.Test;
@@ -80,6 +81,7 @@ public class JavaBinaryTest {
         null,
         /* merge manifests */ true,
         null,
+        /* blacklist */ ImmutableSet.<String>of(),
         new DefaultDirectoryTraverser());
 
     // Strip the trailing "." from the absolute path to the current directory.
Project facebook/buck in file ...ok.buck.apple.XcodeWorkspaceConfigDescription.java (2014-09-05)
@@ -26,6 +26,7 @@ import com.facebook.infer.annotation.SuppressFieldNotInitialized;
 import com.google.common.annotations.Beta;
 import com.google.common.base.Optional;
 import com.google.common.collect.ImmutableMap;
+import com.google.common.collect.ImmutableSet;
 
 @Beta
 public class XcodeWorkspaceConfigDescription
@@ -53,6 +54,7 @@ public class XcodeWorkspaceConfigDescription
   @SuppressFieldNotInitialized
   public static class Arg implements ConstructorArg {
     public Optional<BuildRule> srcTarget;
+    public Optional<ImmutableSet<BuildRule>> extraTests;
     public Optional<String> workspaceName;
     public Optional<ImmutableMap<SchemeActionType, String>> actionConfigNames;
   }