Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for id (0.15 sec)

  1. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

      }
    
      public void testPublicSuffixMultipleUnders() {
        // PSL has both *.uk and *.sch.uk; the latter should win.
        // See http://code.google.com/p/guava-libraries/issues/detail?id=1176
    
        InternetDomainName domain = InternetDomainName.from("www.essex.sch.uk");
        assertTrue(domain.hasPublicSuffix());
        assertEquals("essex.sch.uk", domain.publicSuffix().toString());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Throwables.java

       * context from when the error or exception was initially detected. Example usage:
       *
       * <pre>
       * assertEquals("Unable to assign a customer id", Throwables.getRootCause(e).getMessage());
       * </pre>
       *
       * @throws IllegalArgumentException if there is a loop in the causal chain
       */
      public static Throwable getRootCause(Throwable throwable) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/Types.java

          return Types.toString(type);
        }
    
        boolean jdkTypeDuplicatesOwnerName() {
          return true;
        }
      }
    
      /**
       * Per <a href="https://code.google.com/p/guava-libraries/issues/detail?id=1635">issue 1635</a>,
       * In JDK 1.7.0_51-b13, {@link TypeVariableImpl#equals(Object)} is changed to no longer be equal
       * to custom TypeVariable implementations. As a result, we need to make sure our TypeVariable
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Throwables.java

       * context from when the error or exception was initially detected. Example usage:
       *
       * <pre>
       * assertEquals("Unable to assign a customer id", Throwables.getRootCause(e).getMessage());
       * </pre>
       *
       * @throws IllegalArgumentException if there is a loop in the causal chain
       */
      public static Throwable getRootCause(Throwable throwable) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/net/InternetDomainNameTest.java

      }
    
      public void testPublicSuffixMultipleUnders() {
        // PSL has both *.uk and *.sch.uk; the latter should win.
        // See http://code.google.com/p/guava-libraries/issues/detail?id=1176
    
        InternetDomainName domain = InternetDomainName.from("www.essex.sch.uk");
        assertTrue(domain.hasPublicSuffix());
        assertEquals("essex.sch.uk", domain.publicSuffix().toString());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multisets.java

        long size = 0;
        for (Entry<?> entry : multiset.entrySet()) {
          size += entry.getCount();
        }
        return Ints.saturatedCast(size);
      }
    
      /** Used to avoid http://bugs.sun.com/view_bug.do?bug_id=6558557 */
      static <T extends @Nullable Object> Multiset<T> cast(Iterable<T> iterable) {
        return (Multiset<T>) iterable;
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Sets.java

       * @param otherElements the rest of the elements the set should contain
       * @return an immutable set containing those elements, minus duplicates
       */
      // http://code.google.com/p/google-web-toolkit/issues/detail?id=3028
      @GwtCompatible(serializable = true)
      public static <E extends Enum<E>> ImmutableSet<E> immutableEnumSet(
          E anElement, E... otherElements) {
    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)
  8. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

          MapMakerInternalMap.this.clear();
        }
    
        // super.toArray() may misbehave if size() is inaccurate, at least on old versions of Android.
        // https://code.google.com/p/android/issues/detail?id=36519 / http://r.android.com/47508
    
        @Override
        public Object[] toArray() {
          return toArrayList(this).toArray();
        }
    
        @Override
        public <T> T[] toArray(T[] a) {
    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)
  9. android/guava/src/com/google/common/collect/Lists.java

          extends AbstractListWrapper<E> implements RandomAccess {
        RandomAccessListWrapper(List<E> backingList) {
          super(backingList);
        }
      }
    
      /** Used to avoid http://bugs.sun.com/view_bug.do?bug_id=6558557 */
      static <T extends @Nullable Object> List<T> cast(Iterable<T> iterable) {
        return (List<T>) iterable;
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/net/HttpHeadersTest.java

                .put("X_WEBKIT_CSP_REPORT_ONLY", "X-WebKit-CSP-Report-Only")
                .buildOrThrow();
        ImmutableSet<String> uppercaseAcronyms =
            ImmutableSet.of(
                "CH", "ID", "DNT", "DNS", "DPR", "ECT", "GPC", "HTTP2", "IP", "MD5", "P3P", "RTT", "TE",
                "UA", "UID", "URL", "WWW", "XSS");
        assertConstantNameMatchesString(HttpHeaders.class, specialCases, uppercaseAcronyms);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 22 21:08:08 GMT 2024
    - 3.9K bytes
    - Viewed (0)
Back to top