Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 228 for Bounds (0.17 sec)

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

     */
    @J2ktIncompatible // EnumBimap
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class EnumBiMapTest extends TestCase {
      private enum Currency {
        DOLLAR,
        FRANC,
        PESO,
        POUND,
        YEN
      }
    
      private enum Country {
        CANADA,
        CHILE,
        JAPAN,
        SWITZERLAND,
        UK
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java

     */
    @J2ktIncompatible // EnumBimap
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class EnumBiMapTest extends TestCase {
      private enum Currency {
        DOLLAR,
        FRANC,
        PESO,
        POUND,
        YEN
      }
    
      private enum Country {
        CANADA,
        CHILE,
        JAPAN,
        SWITZERLAND,
        UK
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Bytes.java

    import javax.annotation.CheckForNull;
    
    /**
     * Static utility methods pertaining to {@code byte} primitives, that are not already found in
     * either {@link Byte} or {@link Arrays}, <i>and interpret bytes as neither signed nor unsigned</i>.
     * The methods which specifically treat bytes as signed or unsigned are found in {@link SignedBytes}
     * and {@link UnsignedBytes}.
     *
     * <p>See the Guava User Guide article on <a
    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)
  4. android/guava/src/com/google/common/base/CharMatcher.java

          if (matches(sequence.charAt(i))) {
            return i;
          }
        }
        return -1;
      }
    
      /**
       * Returns the number of matching {@code char}s found in a character sequence.
       *
       * <p>Counts 2 per supplementary character, such as for {@link #whitespace}().{@link #negate}().
       */
      public int countIn(CharSequence sequence) {
        int count = 0;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        for (Method m : TreeMultimap.class.getMethods()) {
          if (m.getName().equals("keySet") && m.getReturnType().equals(SortedSet.class)) {
            return;
          }
        }
        fail("No bridge method found");
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testAsMapBridgeMethods() {
        for (Method m : TreeMultimap.class.getMethods()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

          if (Helpers.equal(i.next().getKey(), newEntry.getKey())) {
            i.set(newEntry);
            return;
          }
        }
    
        throw new IllegalArgumentException(
            Platform.format("key %s not found in entries %s", newEntry.getKey(), expected));
      }
    
      /**
       * Wrapper for {@link Map#get(Object)} that forces the caller to pass in a key of the same type as
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/InetAddresses.java

       *
       * <p>All of the fields in this class are encoded in various portions of the IPv6 address as part
       * of the protocol. More protocols details can be found at: <a target="_parent"
       * href="http://en.wikipedia.org/wiki/Teredo_tunneling">http://en.wikipedia.
       * org/wiki/Teredo_tunneling</a>.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  8. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

        } catch (AssertionFailedError expected) {
          assertThat(expected)
              .hasMessageThat()
              .isEqualTo(
                  "No public static methods that return java.lang.Object or subtype are found in "
                      + NoPublicStaticMethods.class
                      + ".");
          return;
        }
        fail();
      }
    
      public void testEqualsOnReturnValues_bad() throws Exception {
        try {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        @SuppressWarnings("unused") // used by reflection
        List<N> counts;
      }
    
      public void testWildcardCaptured_typeVariableDeclaresTypeBound_wildcardHasNoExplicitUpperBound()
          throws Exception {
        TypeToken<Counter<?>> type = new TypeToken<Counter<?>>() {};
        TypeToken<?> fieldType =
            type.resolveType(Counter.class.getDeclaredField("counts").getGenericType());
    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)
  10. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

       * that entries are indexable using ints.
       */
      static final int MAXIMUM_CAPACITY = Ints.MAX_POWER_OF_TWO;
    
      /** The maximum number of segments to allow; used to bound constructor arguments. */
      static final int MAX_SEGMENTS = 1 << 16; // slightly conservative
    
      /** Number of (unsynchronized) retries in the containsValue method. */
      static final int CONTAINS_VALUE_RETRIES = 3;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
Back to top