Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 77 for Bell (0.15 sec)

  1. guava-tests/test/com/google/common/collect/TablesTest.java

      public void testImmutableEntrySerialization() {
        Cell<String, Integer, Character> entry = Tables.immutableCell("foo", 1, 'a');
        SerializableTester.reserializeAndAssert(entry);
      }
    
      public void testImmutableEntryToString() {
        Cell<String, Integer, Character> entry = Tables.immutableCell("foo", 1, 'a');
        assertEquals("(foo,1)=a", entry.toString());
    
        Cell<@Nullable String, @Nullable Integer, @Nullable Character> nullEntry =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ArrayTable.java

       */
      @Override
      public Set<Cell<R, C, @Nullable V>> cellSet() {
        return super.cellSet();
      }
    
      @Override
      Iterator<Cell<R, C, @Nullable V>> cellIterator() {
        return new AbstractIndexedListIterator<Cell<R, C, @Nullable V>>(size()) {
          @Override
          protected Cell<R, C, @Nullable V> get(final int index) {
            return getCell(index);
          }
        };
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 26.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/TestIntegerSetGenerator.java

       * equally valid implementation for an unordered container is to throw an exception. The chosen
       * implementation, however, has the advantage of working for insertion-ordered containers, as
       * well.
       */
      @Override
      public List<Integer> order(List<Integer> insertionOrder) {
        return insertionOrder;
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

        public Collection<V> values() {
          assertTrue(Thread.holdsLock(mutex));
          /* TODO: verify that the Collection is also synchronized? */
          return delegate.values();
        }
    
        @Override
        public Set<Cell<R, C, V>> cellSet() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.cellSet();
        }
    
        @Override
        public Map<R, V> column(C columnKey) {
          assertTrue(Thread.holdsLock(mutex));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/SetOperationsTest.java

                      @Override
                      protected Set<String> create(String[] elements) {
                        checkArgument(elements.length == 3);
                        // Put the sets in different orders for the hell of it
                        return Sets.union(
                            Sets.newLinkedHashSet(asList(elements)),
                            Sets.newLinkedHashSet(asList(elements[1], elements[0], elements[2])));
                      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multimaps.java

       * multimap to be a view, but it means that the function will be applied many times for bulk
       * operations like {@link Multimap#containsValue} and {@code Multimap.toString()}. For this to
       * perform well, {@code function} should be fast. To avoid lazy evaluation when the returned
       * multimap doesn't need to be a view, copy the returned multimap into a new multimap of your
       * choosing.
       *
       * @since 7.0
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 86.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/GcFinalization.java

     * hint, so this technique may fail at the whim of the JDK implementation, for example if a user
     * specified the JVM flag {@code -XX:+DisableExplicitGC}. But in practice, it works very well for
     * ordinary tests.
     *
     * <p>Failure of the expected event to occur within an implementation-defined "reasonable" time
     * period or an interrupt while waiting for the expected event will result in a {@link
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/Striped64.java

        boolean collide = false; // True if last slot nonempty
        for (; ; ) {
          Cell[] as;
          Cell a;
          int n;
          long v;
          if ((as = cells) != null && (n = as.length) > 0) {
            if ((a = as[(n - 1) & h]) == null) {
              if (busy == 0) { // Try to attach new Cell
                Cell r = new Cell(x); // Optimistically create
                if (busy == 0 && casBusy()) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/SplitterTest.java

          return;
        }
        assertSplitterIterableIsLazy(Splitter.onPattern(","));
      }
    
      /**
       * This test really pushes the boundaries of what we support. In general the splitter's behaviour
       * is not well defined if the char sequence it's splitting is mutated during iteration.
       */
      private void assertSplitterIterableIsLazy(Splitter splitter) {
        StringBuilder builder = new StringBuilder();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/InternetDomainName.java

    import com.google.thirdparty.publicsuffix.PublicSuffixPatterns;
    import com.google.thirdparty.publicsuffix.PublicSuffixType;
    import java.util.List;
    import javax.annotation.CheckForNull;
    
    /**
     * An immutable well-formed internet domain name, such as {@code com} or {@code foo.co.uk}. Only
     * syntactic analysis is performed; no DNS lookups or other network interactions take place. Thus
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 20:47:23 GMT 2024
    - 28K bytes
    - Viewed (0)
Back to top