Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1611 - 1620 of 1,848 for instance (0.12 sec)

  1. guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

      }
    
      public void testFromNonFluentFuture() throws Exception {
        ListenableFuture<String> f =
            new SimpleForwardingListenableFuture<String>(immediateFuture("a")) {};
        verify(!(f instanceof FluentFuture));
        assertThat(FluentFuture.from(f).get()).isEqualTo("a");
        // TODO(cpovirk): Test forwarding more extensively.
      }
    
      public void testAddCallback() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractConditionQuery.java

            checkEsInvalidQuery(name, value);
            assertObjectNotNull("ck", ck);
            if (queryBuilderList != null) {
                for (QueryBuilder builder : queryBuilderList) {
                    if (builder instanceof RangeQueryBuilder) {
                        RangeQueryBuilder rangeQueryBuilder = (RangeQueryBuilder) builder;
                        if (rangeQueryBuilder.toString().replaceAll("\\s", "").startsWith("{\"range\":{\"" + name + "\"")) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphEdge.java

        /**
         * used to eliminate exact duplicates in the edge list
         */
        @Override
        @SuppressWarnings("checkstyle:equalshashcode")
        public boolean equals(Object o) {
            if (o instanceof MetadataGraphEdge) {
                MetadataGraphEdge e = (MetadataGraphEdge) o;
    
                return objectsEqual(version, e.version)
                        && ArtifactScopeEnum.checkScope(scope)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/AbstractValueGraph.java

      }
    
      @Override
      public final boolean equals(@CheckForNull Object obj) {
        if (obj == this) {
          return true;
        }
        if (!(obj instanceof ValueGraph)) {
          return false;
        }
        ValueGraph<?, ?> other = (ValueGraph<?, ?>) obj;
    
        return isDirected() == other.isDirected()
            && nodes().equals(other.nodes())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 13:59:28 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableMapEntrySet.java

      abstract ImmutableMap<K, V> map();
    
      @Override
      public int size() {
        return map().size();
      }
    
      @Override
      public boolean contains(@CheckForNull Object object) {
        if (object instanceof Entry) {
          Entry<?, ?> entry = (Entry<?, ?>) object;
          V value = map().get(entry.getKey());
          return value != null && value.equals(entry.getValue());
        }
        return false;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                Encdec.enc_uint32be( n & 0xFFFF, BUF, 0 ); /* 4 byte session message header */
                if (log.level >= 4) {
                    do {
                        log.println( smb );
                    } while (smb instanceof AndXServerMessageBlock &&
                            (smb = ((AndXServerMessageBlock)smb).andx) != null);
                    if (log.level >= 6) {
                        Hexdump.hexdump( log, BUF, 4, n );
                    }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

            try {
                return projectBuilder.build(pom, configuration).getProject();
            } catch (Exception e) {
                Throwable cause = e.getCause();
                if (cause instanceof ModelBuildingException) {
                    String message = "In: " + pom + "\n\n";
                    for (ModelProblem problem : ((ModelBuildingException) cause).getProblems()) {
                        message += problem + "\n";
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/AbstractMultimap.java

        checkNotNull(values);
        // make sure we only call values.iterator() once
        // and we only call get(key) if values is nonempty
        if (values instanceof Collection) {
          Collection<? extends V> valueCollection = (Collection<? extends V>) values;
          return !valueCollection.isEmpty() && get(key).addAll(valueCollection);
        } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 6.6K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGenerator.java

             */
            for (Iterator<? extends Metadata> it = metadatas.iterator(); it.hasNext(); ) {
                Metadata metadata = it.next();
                if (metadata instanceof PluginsMetadata) {
                    it.remove();
                    PluginsMetadata pluginMetadata = (PluginsMetadata) metadata;
                    processedPlugins.put(pluginMetadata.getGroupId(), pluginMetadata);
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

                    mavenRepositorySystem,
                    lookup,
                    runtimeInformation);
        }
    
        public ArtifactRepository toArtifactRepository(RemoteRepository repository) {
            if (repository instanceof DefaultRemoteRepository) {
                org.eclipse.aether.repository.RemoteRepository rr = ((DefaultRemoteRepository) repository).getRepository();
    
                try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top