Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 1,139 for instanceOf (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

            return build(toSource(modelSource), request);
        }
    
        @Deprecated
        static ModelSource toSource(org.apache.maven.model.building.ModelSource modelSource) {
            if (modelSource instanceof FileModelSource fms) {
                return Sources.buildSource(fms.getPath());
            } else {
                return new WrapModelSource(modelSource);
            }
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 51.8K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/base/EnumsTest.java

        assertFalse(bar.isAnnotationPresent(ExampleAnnotation.class));
      }
    
      @J2ktIncompatible
      private URL[] getClassPathUrls() {
        ClassLoader classLoader = getClass().getClassLoader();
        return classLoader instanceof URLClassLoader
            ? ((URLClassLoader) classLoader).getURLs()
            : parseJavaClassPath().toArray(new URL[0]);
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  3. guava/src/com/google/common/util/concurrent/MoreExecutors.java

            : (delegate instanceof ScheduledExecutorService)
                ? new ScheduledListeningDecorator((ScheduledExecutorService) delegate)
                : new ListeningDecorator(delegate);
      }
    
      /**
       * Creates a {@link ScheduledExecutorService} whose {@code submit} and {@code invokeAll} methods
       * submit {@link ListenableFutureTask} instances to the given delegate executor. Those methods, as
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 08 18:55:33 GMT 2025
    - 45.2K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

            }
    
            if (releases == null) {
                releases = new ArtifactRepositoryPolicy();
            }
    
            ArtifactRepository repository;
            if (repositoryLayout instanceof ArtifactRepositoryLayout2 artifactRepositoryLayout2) {
                repository = artifactRepositoryLayout2.newMavenArtifactRepository(id, url, snapshots, releases);
            } else {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 33.5K bytes
    - Click Count (0)
  5. guava/src/com/google/common/net/InetAddresses.java

        try {
          InetAddress address = InetAddress.getByAddress(addr);
          if (scope == null) {
            return address;
          }
          checkArgument(
              address instanceof Inet6Address, "Unexpected state, scope should only appear for ipv6");
          Inet6Address v6Address = (Inet6Address) address;
          int interfaceIndex = tryParseDecimal(scope, 0, scope.length());
          if (interfaceIndex != -1) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 47.4K bytes
    - Click Count (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableBiMap.java

        }
    
        @Override
        ImmutableBiMap<K, V> buildJdkBacked() {
          return build();
        }
      }
    
      public static <K, V> ImmutableBiMap<K, V> copyOf(Map<? extends K, ? extends V> map) {
        if (map instanceof ImmutableBiMap) {
          @SuppressWarnings("unchecked") // safe since map is not writable
          ImmutableBiMap<K, V> bimap = (ImmutableBiMap<K, V>) map;
          return bimap;
        }
    
        if (map.isEmpty()) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

                        artifacts.put(artifact.getDependencyConflictId(), artifact);
                    }
                }
    
                List<Dependency> dependencies = new ArrayList<>();
                if (request.getArtifact() instanceof ArtifactWithDependencies artifactWithDependencies) {
                    dependencies = artifactWithDependencies.getDependencies();
                } else {
                    Artifact pomArtifact = createProjectArtifact(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 12K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

            /**
             * {@return whether the given object represents the same type of path as this object}.
             */
            @Override
            public boolean equals(Object obj) {
                if (obj instanceof Modular m) {
                    return rawType() == m.rawType() && moduleName.equals(m.moduleName);
                }
                return false;
            }
    
            /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Dec 15 11:13:42 GMT 2025
    - 15.7K bytes
    - Click Count (1)
  9. guava/src/com/google/common/graph/ImmutableGraph.java

        this.backingGraph = backingGraph;
      }
    
      /** Returns an immutable copy of {@code graph}. */
      public static <N> ImmutableGraph<N> copyOf(Graph<N> graph) {
        return (graph instanceof ImmutableGraph)
            ? (ImmutableGraph<N>) graph
            : new ImmutableGraph<N>(
                new StandardValueGraph<N, Presence>(
                    GraphBuilder.from(graph), getNodeConnections(graph), graph.edges().size()));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/ImmutableList.java

       */
      public static <E> ImmutableList<E> copyOf(Iterable<? extends E> elements) {
        checkNotNull(elements); // TODO(kevinb): is this here only for GWT?
        return (elements instanceof Collection)
            ? copyOf((Collection<? extends E>) elements)
            : copyOf(elements.iterator());
      }
    
      /**
       * Returns an immutable list containing the given elements, in order.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 27.5K bytes
    - Click Count (0)
Back to Top