Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2111 - 2120 of 2,231 for match (0.03 sec)

  1. guava/src/com/google/common/net/InternetDomainName.java

       *   domainName = InternetDomainName.from(name);
       * } catch (IllegalArgumentException e) {
       *   domainName = DEFAULT_DOMAIN;
       * }
       * }</pre>
       *
       * @since 8.0 (previously named {@code isValidLenient})
       */
      public static boolean isValid(String name) {
        try {
          InternetDomainName unused = from(name);
          return true;
        } catch (IllegalArgumentException e) {
          return false;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

        addEdge(N1, N2, E12);
        Set<String> adjacentEdges = network.adjacentEdges(E12);
        try {
          adjacentEdges.add(E23);
          fail(ERROR_MODIFIABLE_COLLECTION);
        } catch (UnsupportedOperationException e) {
          addEdge(N2, N3, E23);
          assertThat(network.adjacentEdges(E12)).containsExactlyElementsIn(adjacentEdges);
        }
      }
    
      @Override
      @Test
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

         */
        @Override
        public void testRemove() {
          final Map<String, Map<Integer, Character>> map;
          try {
            map = makePopulatedMap();
          } catch (UnsupportedOperationException e) {
            return;
          }
          final String keyToRemove = map.keySet().iterator().next();
          if (supportsRemove) {
            int initialSize = map.size();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

            @SuppressWarnings("unchecked") // The method is from Prepender.
            Invokable<Prepender, Object> invokable =
                (Invokable<Prepender, Object>) Invokable.from(method);
            return invokable;
          } catch (NoSuchMethodException e) {
            throw new IllegalArgumentException(e);
          }
        }
    
        private void privateMethod() {}
    
        private final void privateFinalMethod() {}
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/TypeResolver.java

            resolvedOwner, (Class<?>) resolvedRawType, resolvedArgs);
      }
    
      private static <T> T expectArgument(Class<T> type, Object arg) {
        try {
          return type.cast(arg);
        } catch (ClassCastException e) {
          throw new IllegalArgumentException(arg + " is not a " + type.getSimpleName());
        }
      }
    
      /** A TypeTable maintains mapping from {@link TypeVariable} to types. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/TableCollectionTest.java

         */
        @Override
        public void testRemove() {
          final Map<String, Map<Integer, Character>> map;
          try {
            map = makePopulatedMap();
          } catch (UnsupportedOperationException e) {
            return;
          }
          final String keyToRemove = map.keySet().iterator().next();
          if (supportsRemove) {
            int initialSize = map.size();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/InvokableTest.java

            @SuppressWarnings("unchecked") // The method is from Prepender.
            Invokable<Prepender, Object> invokable =
                (Invokable<Prepender, Object>) Invokable.from(method);
            return invokable;
          } catch (NoSuchMethodException e) {
            throw new IllegalArgumentException(e);
          }
        }
    
        private void privateMethod() {}
    
        private final void privateFinalMethod() {}
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

        }
    
        private void setFieldAccessible(Field field) {
            if (isExceptPrivateAccessible(field)) {
                return;
            }
            try {
                field.setAccessible(true);
            } catch (RuntimeException e) {
                throw new BeanFieldSetAccessibleFailureException(beanClass, field, e);
            }
        }
    
        private boolean isExceptPrivateAccessible(Field field) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  9. src/main/webapp/js/clipboard.min.js

    s.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,c.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(t){this.emitter.emit(t?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",valu...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat May 28 04:16:16 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/UnsignedInts.java

      public static int decode(String stringValue) {
        ParseRequest request = ParseRequest.fromString(stringValue);
    
        try {
          return parseUnsignedInt(request.rawValue, request.radix);
        } catch (NumberFormatException e) {
          NumberFormatException decodeException =
              new NumberFormatException("Error parsing value: " + stringValue);
          decodeException.initCause(e);
          throw decodeException;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 21:17:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top