Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 164 for usable (0.18 sec)

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

        assertMapEquals(map, "two", 2, "three", 3, "one", 1, "four", 4, "five", 5);
        assertSame(comparator, map.comparator());
      }
    
      // TODO(b/172823566): Use mainline testToImmutableSortedMap once CollectorTester is usable.
      public void testToImmutableSortedMap_java7_combine() {
        ImmutableSortedMap.Builder<String, Integer> zis =
            ImmutableSortedMap.<String, Integer>naturalOrder().put("one", 1).put("four", 4);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 27K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/escape/Escapers.java

         */
        @CanIgnoreReturnValue
        public Builder addEscape(char c, String replacement) {
          checkNotNull(replacement);
          // This can replace an existing character (the builder is re-usable).
          replacementMap.put(c, replacement);
          return this;
        }
    
        /** Returns a new escaper based on the current state of the builder. */
        public Escaper build() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MultimapBuilderTest.java

        assertTrue(multimap.keySet() instanceof SortedSet);
        assertTrue(multimap.asMap() instanceof SortedMap);
      }
    
      // J2kt cannot translate the Comparable rawtype in a usable way (it becomes Comparable<Object>
      // but types are typically only Comparable to themselves).
      @SuppressWarnings({"rawtypes", "unchecked"})
      private static MultimapBuilderWithKeys<Comparable<?>> rawtypeToWildcard(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 27 09:26:07 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MultimapBuilderTest.java

        assertTrue(multimap.keySet() instanceof SortedSet);
        assertTrue(multimap.asMap() instanceof SortedMap);
      }
    
      // J2kt cannot translate the Comparable rawtype in a usable way (it becomes Comparable<Object>
      // but types are typically only Comparable to themselves).
      @SuppressWarnings({"rawtypes", "unchecked"})
      private static MultimapBuilderWithKeys<Comparable<?>> rawtypeToWildcard(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 27 09:26:07 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/PredecessorsFunction.java

       * algorithms should document their behavior in the presence of duplicates.
       *
       * <p>The elements of the returned {@code Iterable} must each be:
       *
       * <ul>
       *   <li>Non-null
       *   <li>Usable as {@code Map} keys (see the Guava User Guide's section on <a
       *       href="https://github.com/google/guava/wiki/GraphsExplained#graph-elements-nodes-and-edges">
       *       graph elements</a> for details)
       * </ul>
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 4.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/SuccessorsFunction.java

       * algorithms should document their behavior in the presence of duplicates.
       *
       * <p>The elements of the returned {@code Iterable} must each be:
       *
       * <ul>
       *   <li>Non-null
       *   <li>Usable as {@code Map} keys (see the Guava User Guide's section on <a
       *       href="https://github.com/google/guava/wiki/GraphsExplained#graph-elements-nodes-and-edges">
       *       graph elements</a> for details)
       * </ul>
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 4.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableTableTest.java

      }
    
      public void testCopyOfSparse() {
        Table<Character, Integer, String> table = TreeBasedTable.create();
        table.put('x', 2, "foo");
        table.put('r', 1, "bar");
        table.put('c', 3, "baz");
        table.put('b', 7, "cat");
        table.put('e', 5, "dog");
        table.put('c', 0, "axe");
        table.put('e', 3, "tub");
        table.put('r', 4, "foo");
        table.put('x', 5, "bar");
        validateTableCopies(table);
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 19.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/HostSpecifier.java

       * host specifier is a domain name, the string will be normalized to all lower case. If the
       * specifier was an IPv6 address without brackets, brackets are added so that the result will be
       * usable in the host part of a URI.
       */
      @Override
      public String toString() {
        return canonicalForm;
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 05 09:18:40 GMT 2023
    - 6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        builder.add("a");
        assertEquals(1, builder.size);
        builder.add("b", "c", "d");
        assertEquals(4, builder.size);
        Object[] table = builder.hashTable;
        assertNotNull(table);
        assertSame(table, ((RegularImmutableSet<String>) builder.build()).table);
      }
    
      @GwtIncompatible("Builder impl")
      public void testPresizedBuilderForceCopy() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

          // fail(), but with the JUnit-supplied message.
          assertEquals("Started with " + startedWith, expected, actual);
        }
      }
    
      // J2kt cannot translate the Comparable rawtype in a usable way (it becomes Comparable<Object>
      // but types are typically only Comparable to themselves).
      @SuppressWarnings({"rawtypes", "unchecked"})
      private static MinMaxPriorityQueue.Builder<Comparable<?>> rawtypeToWildcard(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
Back to top