Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for AssertionError (0.18 sec)

  1. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        private DummyInternalEntry() {
          throw new AssertionError();
        }
    
        @Override
        public DummyInternalEntry getNext() {
          throw new AssertionError();
        }
    
        @Override
        public int getHash() {
          throw new AssertionError();
        }
    
        @Override
        public Object getKey() {
          throw new AssertionError();
        }
    
        @Override
    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)
  2. android/guava/src/com/google/common/collect/ImmutableTable.java

        throw new AssertionError("should never be called");
      }
    
      @Override
      public ImmutableCollection<V> values() {
        return (ImmutableCollection<V>) super.values();
      }
    
      @Override
      abstract ImmutableCollection<V> createValues();
    
      @Override
      final Iterator<V> valuesIterator() {
        throw new AssertionError("should never be called");
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multisets.java

        }
    
        @Override
        Set<E> createElementSet() {
          return Sets.filter(unfiltered.elementSet(), predicate);
        }
    
        @Override
        Iterator<E> elementIterator() {
          throw new AssertionError("should never be called");
        }
    
        @Override
        Set<Entry<E>> createEntrySet() {
          return Sets.filter(
              unfiltered.entrySet(),
              new Predicate<Entry<E>>() {
    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)
  4. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

            }
    
            ExecResult assertZeroExit() {
                if (code != 0) {
                    throw new AssertionError(String.format("%s return:\n%s\n%s\n", Arrays.toString(args), stdout, stderr));
                }
                return this;
            }
        }
    
        private static ExecResult run(String... args) {
            try {
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 26 09:46:00 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/Types.java

          for (ClassOwnership behavior : ClassOwnership.values()) {
            if (behavior.getOwnerType(LocalClass.class) == parameterizedType.getOwnerType()) {
              return behavior;
            }
          }
          throw new AssertionError();
        }
      }
    
      /**
       * Returns a new {@link TypeVariable} that belongs to {@code declaration} with {@code name} and
       * {@code bounds}.
       */
    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)
  6. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

        constructor.setAccessible(true); // accessibility check is too slow
        try {
          return constructor.newInstance();
        } catch (InstantiationException | IllegalAccessException impossible) {
          throw new AssertionError(impossible);
        } catch (InvocationTargetException e) {
          logger.log(Level.WARNING, "Exception while invoking default constructor.", e.getCause());
          return arbitraryConstantInstanceOrNull(type);
        }
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 21K bytes
    - Viewed (1)
  7. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

        constructor.setAccessible(true); // accessibility check is too slow
        try {
          return constructor.newInstance();
        } catch (InstantiationException | IllegalAccessException impossible) {
          throw new AssertionError(impossible);
        } catch (InvocationTargetException e) {
          logger.log(Level.WARNING, "Exception while invoking default constructor.", e.getCause());
          return arbitraryConstantInstanceOrNull(type);
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/TreeMultiset.java

            case OPEN:
              return aggr.nodeAggregate(node) + aggr.treeAggregate(node.left);
            case CLOSED:
              return aggr.treeAggregate(node.left);
            default:
              throw new AssertionError();
          }
        } else {
          return aggr.treeAggregate(node.left)
              + aggr.nodeAggregate(node)
              + aggregateBelowRange(aggr, node.right);
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Collections2.java

          for (int l = nextPermutation.size() - 1; l > j; l--) {
            if (comparator.compare(ak, nextPermutation.get(l)) < 0) {
              return l;
            }
          }
          throw new AssertionError("this statement should be unreachable");
        }
      }
    
      /**
       * Returns a {@link Collection} of all the permutations of the specified {@link Collection}.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       * #entrySet}.
       */
      @Override
      public ImmutableSet<V> values() {
        return inverse().keySet();
      }
    
      @Override
      final ImmutableSet<V> createValues() {
        throw new AssertionError("should never be called");
      }
    
      /**
       * Guaranteed to throw an exception and leave the bimap unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
Back to top