Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for delete (0.15 sec)

  1. android/guava/src/com/google/common/reflect/Types.java

        // non-hacky way (i.e. using String value class names- "[L...")?
        return Array.newInstance(componentType, 0).getClass();
      }
    
      // TODO(benyu): Once behavior is the same for all Java versions we support, delete this.
      enum JavaVersion {
        JAVA6 {
          @Override
          GenericArrayType newArrayType(Type componentType) {
            return new GenericArrayTypeImpl(componentType);
          }
    
          @Override
    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)
  2. android/guava/src/com/google/common/collect/Iterables.java

       *
       * <p>The returned iterable's iterator supports {@code remove()} if the iterator of the underlying
       * iterable supports it. Note that it is <i>not</i> possible to delete the last skipped element by
       * immediately calling {@code remove()} on that iterator, as the {@code Iterator} contract states
       * that a call to {@code remove()} before a call to {@code next()} will throw an {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

          assertThat(
                  new ClassPath.LocationInfo(jarFile, ClassPathTest.class.getClassLoader())
                      .scanResources())
              .hasSize(1);
        } finally {
          jarFile.delete();
        }
      }
    
    
      public void testScanFromFile_fileNotExists() throws IOException {
        ClassLoader classLoader = ClassPathTest.class.getClassLoader();
        assertThat(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 26 14:02:27 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          Thread w = thread;
          if (w != null) {
            thread = null;
            LockSupport.unpark(w);
          }
        }
      }
    
      /**
       * Marks the given node as 'deleted' (null waiter) and then scans the list to unlink all deleted
       * nodes. This is an O(n) operation in the common case (and O(n^2) in the worst), but we are saved
       * by two things.
       *
       * <ul>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Multisets.java

          implements Serializable {
        final Multiset<? extends E> delegate;
    
        UnmodifiableMultiset(Multiset<? extends E> delegate) {
          this.delegate = delegate;
        }
    
        @SuppressWarnings("unchecked")
        @Override
        protected Multiset<E> delegate() {
          // This is safe because all non-covariant methods are overridden
          return (Multiset<E>) delegate;
        }
    
    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)
  6. android/guava-tests/test/com/google/common/collect/ListsTest.java

          return realDelegate.size();
        }
    
        @Override
        public ListIterator<E> listIterator(int index) {
          return realDelegate.listIterator(index);
        }
    
        @Override
        protected List<E> delegate() {
          throw new UnsupportedOperationException("This list only supports ListIterator");
        }
      }
    
      private static void assertTransformIterator(List<String> list) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

      public static ListeningExecutorService listeningDecorator(ExecutorService delegate) {
        return (delegate instanceof ListeningExecutorService)
            ? (ListeningExecutorService) delegate
            : (delegate instanceof ScheduledExecutorService)
                ? new ScheduledListeningDecorator((ScheduledExecutorService) delegate)
                : new ListeningDecorator(delegate);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Sets.java

        private final NavigableSet<E> delegate;
        private final SortedSet<E> unmodifiableDelegate;
    
        UnmodifiableNavigableSet(NavigableSet<E> delegate) {
          this.delegate = checkNotNull(delegate);
          this.unmodifiableDelegate = Collections.unmodifiableSortedSet(delegate);
        }
    
        @Override
        protected SortedSet<E> delegate() {
          return unmodifiableDelegate;
        }
    
    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)
  9. android/guava/src/com/google/common/collect/ImmutableBiMap.java

          ImmutableBiMap<K, V> bimap = (ImmutableBiMap<K, V>) map;
          // TODO(lowasser): if we need to make a copy of a BiMap because the
          // forward map is a view, don't make a copy of the non-view delegate map
          if (!bimap.isPartialView()) {
            return bimap;
          }
        }
        return copyOf(map.entrySet());
      }
    
      /**
    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)
  10. android/guava/src/com/google/common/collect/Multimaps.java

        UnmodifiableListMultimap(ListMultimap<K, V> delegate) {
          super(delegate);
        }
    
        @Override
        public ListMultimap<K, V> delegate() {
          return (ListMultimap<K, V>) super.delegate();
        }
    
        @Override
        public List<V> get(@ParametricNullness K key) {
          return Collections.unmodifiableList(delegate().get(key));
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
Back to top