Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 70 for ClassNotFoundException (0.15 sec)

  1. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

        public abstract boolean isExpectedType(Throwable cause);
      }
    
      private static boolean annotatedTypeExists() {
        try {
          Class.forName("java.lang.reflect.AnnotatedType");
        } catch (ClassNotFoundException e) {
          return false;
        }
        return true;
      }
    
      private static final NullnessAnnotationReader NULLNESS_ANNOTATION_READER =
          annotatedTypeExists()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/reflect/Invokable.java

      private static boolean initAnnotatedTypeExists() {
        try {
          Class.forName("java.lang.reflect.AnnotatedType");
        } catch (ClassNotFoundException e) {
          return false;
        }
        return true;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

      @SuppressWarnings("rawtypes")
      private Class<? extends Enum> enumType;
    
      private String[] sampleData;
    
      @BeforeExperiment
      void setUp() throws ClassNotFoundException {
        Preconditions.checkArgument(hitRate >= 0 && hitRate <= 1, "hitRate must be in the range [0,1]");
    
        enumType =
            Class.forName(EnumsBenchmark.class.getCanonicalName() + "$" + enumSize + "Enum")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/LinkedListMultimap.java

          stream.writeObject(entry.getValue());
        }
      }
    
      @GwtIncompatible // java.io.ObjectInputStream
      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        keyToKeyList = Maps.newLinkedHashMap();
        int size = stream.readInt();
        for (int i = 0; i < size; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Multimaps.java

        @GwtIncompatible // java.io.ObjectInputStream
        @J2ktIncompatible
        @SuppressWarnings("unchecked") // reading data stored by writeObject
        private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
          stream.defaultReadObject();
          factory = (Supplier<? extends Collection<V>>) requireNonNull(stream.readObject());
          Map<K, Collection<V>> map = (Map<K, Collection<V>>) requireNonNull(stream.readObject());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

        Serialization.writeMultimap(this, stream);
      }
    
      @GwtIncompatible // java.io.ObjectInputStream
      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        int keyCount = stream.readInt();
        if (keyCount < 0) {
          throw new InvalidObjectException("Invalid key count " + keyCount);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/LinkedHashMultimap.java

          stream.writeObject(entry.getValue());
        }
      }
    
      @GwtIncompatible // java.io.ObjectInputStream
      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        multimapHeaderEntry = ValueEntry.newHeader();
        succeedsInMultimap(multimapHeaderEntry, multimapHeaderEntry);
        valueSetCapacity = DEFAULT_VALUE_SET_CAPACITY;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/CompactHashSet.java

        for (E e : this) {
          stream.writeObject(e);
        }
      }
    
      @SuppressWarnings("unchecked")
      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        int elementCount = stream.readInt();
        if (elementCount < 0) {
          throw new InvalidObjectException("Invalid size: " + elementCount);
        }
        init(elementCount);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/NullPointerTester.java

        public abstract boolean isExpectedType(Throwable cause);
      }
    
      private static boolean annotatedTypeExists() {
        try {
          Class.forName("java.lang.reflect.AnnotatedType");
        } catch (ClassNotFoundException e) {
          return false;
        }
        return true;
      }
    
      private static final NullnessAnnotationReader NULLNESS_ANNOTATION_READER =
          annotatedTypeExists()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/ClassPath.java

         *     For example, {@link NoClassDefFoundError}.
         */
        public Class<?> load() {
          try {
            return loader.loadClass(className);
          } catch (ClassNotFoundException e) {
            // Shouldn't happen, since the class name is read from the class path.
            throw new IllegalStateException(e);
          }
        }
    
        @Override
        public String toString() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 24.9K bytes
    - Viewed (0)
Back to top