Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 287 for wrap (0.14 sec)

  1. android/guava/src/com/google/common/base/Equivalence.java

      }
    
      /**
       * Wraps an object so that {@link #equals(Object)} and {@link #hashCode()} delegate to an {@link
       * Equivalence}.
       *
       * <p>For example, given an {@link Equivalence} for {@link String strings} named {@code equiv}
       * that tests equivalence using their lengths:
       *
       * <pre>{@code
       * equiv.wrap("a").equals(equiv.wrap("b")) // true
       * equiv.wrap("a").equals(equiv.wrap("hello")) // false
       * }</pre>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  2. docs/en/docs/css/custom.css

    .shadow {
      box-shadow: 5px 5px 10px #999;
    }
    
    /* Give space to lower icons so Gitter chat doesn't get on top of them */
    .md-footer-meta {
      padding-bottom: 2em;
    }
    
    .user-list {
      display: flex;
      flex-wrap: wrap;
      margin-bottom: 2rem;
    }
    
    .user-list-center {
      justify-content: space-evenly;
    }
    
    .user {
      margin: 1em;
      min-width: 7em;
    }
    
    .user .avatar-wrapper {
      width: 80px;
      height: 80px;
    CSS
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Jan 28 09:53:45 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ForwardingNavigableSetTest.java

                    return wrap(delegate);
                  }
                });
      }
    
      public void testEquals() {
        NavigableSet<String> set1 = ImmutableSortedSet.of("one");
        NavigableSet<String> set2 = ImmutableSortedSet.of("two");
        new EqualsTester()
            .addEqualityGroup(set1, wrap(set1), wrap(set1))
            .addEqualityGroup(set2, wrap(set2))
            .testEquals();
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/CharSourceTest.java

        assertTrue(okSource.wasStreamClosed());
      }
    
      public void testConcat() throws IOException {
        CharSource c1 = CharSource.wrap("abc");
        CharSource c2 = CharSource.wrap("");
        CharSource c3 = CharSource.wrap("de");
    
        String expected = "abcde";
    
        assertEquals(expected, CharSource.concat(ImmutableList.of(c1, c2, c3)).read());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ForwardingSetTest.java

                  public Set apply(Set delegate) {
                    return wrap(delegate);
                  }
                });
      }
    
      public void testEquals() {
        Set<String> set1 = ImmutableSet.of("one");
        Set<String> set2 = ImmutableSet.of("two");
        new EqualsTester()
            .addEqualityGroup(set1, wrap(set1), wrap(set1))
            .addEqualityGroup(set2, wrap(set2))
            .testEquals();
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ForwardingSortedSetTest.java

                    return wrap(delegate);
                  }
                });
      }
    
      public void testEquals() {
        SortedSet<String> set1 = ImmutableSortedSet.of("one");
        SortedSet<String> set2 = ImmutableSortedSet.of("two");
        new EqualsTester()
            .addEqualityGroup(set1, wrap(set1), wrap(set1))
            .addEqualityGroup(set2, wrap(set2))
            .testEquals();
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ForwardingSortedSetTest.java

                    return wrap(delegate);
                  }
                });
      }
    
      public void testEquals() {
        SortedSet<String> set1 = ImmutableSortedSet.of("one");
        SortedSet<String> set2 = ImmutableSortedSet.of("two");
        new EqualsTester()
            .addEqualityGroup(set1, wrap(set1), wrap(set1))
            .addEqualityGroup(set2, wrap(set2))
            .testEquals();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

                searchEngineClient.admin().indices().prepareClose(docIndex).execute(ActionListener.wrap(res -> {
                    logger.info("Close {}", docIndex);
                    searchEngineClient.admin().indices().prepareOpen(docIndex).execute(
                            ActionListener.wrap(res2 -> logger.info("Open {}", docIndex), e -> logger.warn("Failed to open {}", docIndex, e)));
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 14K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_unified_experimental.cc

          s, tracing_ctx->AddParameter(static_cast<DataType>(dtype), partial_shape,
                                       &t));
      return wrap(t);
    }
    
    void TF_DeleteExecutionContext(TF_ExecutionContext* c) { unwrap(c)->Release(); }
    
    TF_AbstractOp* TF_NewAbstractOp(TF_ExecutionContext* c) {
      return wrap((unwrap(c)->CreateOperation()));
    }
    
    void TF_DeleteAbstractOp(TF_AbstractOp* op) { unwrap(op)->Release(); }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ForwardingSortedMapTest.java

                    return wrap(delegate);
                  }
                });
      }
    
      public void testEquals() {
        SortedMap<Integer, String> map1 = ImmutableSortedMap.of(1, "one");
        SortedMap<Integer, String> map2 = ImmutableSortedMap.of(2, "two");
        new EqualsTester()
            .addEqualityGroup(map1, wrap(map1), wrap(map1))
            .addEqualityGroup(map2, wrap(map2))
            .testEquals();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 7.6K bytes
    - Viewed (0)
Back to top