Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for Routes (0.22 sec)

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

                    TestSet<String> inner = new TestSet<>(new HashSet<String>(), null);
                    Set<String> outer = Synchronized.set(inner, null);
                    inner.mutex = outer;
                    Collections.addAll(outer, elements);
                    return outer;
                  }
                })
            .named("Synchronized.set")
            .withFeatures(
                CollectionFeature.GENERAL_PURPOSE,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 11:19:47 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

        NavigableMap<K, V> innermost =
            new SafeTreeMap<>((Comparator<? super K>) Ordering.natural().nullsFirst());
        TestMap<K, V> inner = new TestMap<>(innermost, mutex);
        NavigableMap<K, V> outer = Synchronized.navigableMap(inner, mutex);
        return outer;
      }
    
      static class TestEntry<K, V> extends ForwardingMapEntry<K, V> implements Serializable {
        private final Entry<K, V> delegate;
        private final Object mutex;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 12.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/SynchronizedBiMapTest.java

        return suite;
      }
    
      @Override
      protected <K, V> BiMap<K, V> create() {
        TestBiMap<K, V> inner = new TestBiMap<>(HashBiMap.<K, V>create(), mutex);
        BiMap<K, V> outer = Synchronized.biMap(inner, mutex);
        return outer;
      }
    
      public static final class SynchronizedHashBiMapGenerator extends TestStringBiMapGenerator {
        @Override
        protected BiMap<String, String> create(Entry<String, String>[] entries) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Sets.java

       * set of the empty set is not the empty set, but a one-element set containing the empty set.
       *
       * <p>The returned set and its constituent sets use {@code equals} to decide whether two elements
       * are identical, even if the input set uses a different concept of equivalence.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/Traverser.java

       *
       * <p>If you know that no node in {@code graph} is reachable by more than one path from the start
       * node(s), consider using {@link #forTree(SuccessorsFunction)} instead.
       *
       * <p><b>Performance notes</b>
       *
       * <ul>
       *   <li>Traversals require <i>O(n)</i> time (where <i>n</i> is the number of nodes reachable from
       *       the start node), assuming that the node objects have <i>O(1)</i> {@code equals()} and
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 30 20:12:45 GMT 2023
    - 19.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Collections2.java

        return new StringBuilder((int) Math.min(size * 8L, Ints.MAX_POWER_OF_TWO));
      }
    
      /**
       * Returns a {@link Collection} of all the permutations of the specified {@link Iterable}.
       *
       * <p><i>Notes:</i> This is an implementation of the algorithm for Lexicographical Permutations
       * Generation, described in Knuth's "The Art of Computer Programming", Volume 4, Chapter 7,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Bytes.java

        checkNotNull(target, "target");
        if (target.length == 0) {
          return 0;
        }
    
        outer:
        for (int i = 0; i < array.length - target.length + 1; i++) {
          for (int j = 0; j < target.length; j++) {
            if (array[i + j] != target[j]) {
              continue outer;
            }
          }
          return i;
        }
        return -1;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/xml/XmlEscapers.java

       * safely be included in an XML document as element content. See section <a
       * href="http://www.w3.org/TR/2008/REC-xml-20081126/#syntax">2.4</a> of the XML specification.
       *
       * <p><b>Note:</b> Double and single quotes are not escaped, so it is <b>not safe</b> to use this
       * escaper to escape attribute values. Use {@link #xmlContentEscaper} if the output can appear in
       * element content or {@link #xmlAttributeEscaper} in attribute values.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 6.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/ValueGraph.java

     *   <li><a href="https://github.com/google/guava/wiki/GraphsExplained#synchronization">
     *       Synchronization policy</a>
     *   <li><a href="https://github.com/google/guava/wiki/GraphsExplained#notes-for-implementors">Notes
     *       for implementors</a>
     * </ul>
     *
     * @author James Sexton
     * @author Joshua O'Madadhain
     * @param <N> Node parameter type
     * @param <V> Value parameter type
     * @since 20.0
     */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        class BaseWithTypeVar<T> {}
        class Outer<O> {
          class Sub<X> extends BaseWithTypeVar<List<X>> {}
    
          class Sub2<Y extends Sub2<Y>> extends BaseWithTypeVar<List<Y>> {}
        }
        ParameterizedType subtype =
            (ParameterizedType)
                new TypeToken<BaseWithTypeVar<List<?>>>() {}.getSubtype(Outer.Sub.class).getType();
        assertEquals(Outer.Sub.class, subtype.getRawType());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
Back to top