Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,727 for Collection (0.29 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

        public Entry<String, Collection<Integer>>[] createArray(int length) {
          return new Entry[length];
        }
    
        @Override
        public Iterable<Entry<String, Collection<Integer>>> order(
            List<Entry<String, Collection<Integer>>> insertionOrder) {
          return insertionOrder;
        }
    
        @Override
        public String[] createKeyArray(int length) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

      /**
       * For documenting collections that support no optional features, such as {@link
       * java.util.Collections#emptySet}
       */
      NONE;
    
      private final Set<Feature<? super Collection>> implied;
    
      CollectionFeature(Feature<? super Collection>... implied) {
        this.implied = Helpers.copyToSet(implied);
      }
    
      @Override
      public Set<Feature<? super Collection>> getImpliedFeatures() {
        return implied;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Collections2.java

        StringBuilder sb = newStringBuilderForCollection(collection.size()).append('[');
        boolean first = true;
        for (Object o : collection) {
          if (!first) {
            sb.append(", ");
          }
          first = false;
          if (o == collection) {
            sb.append("(this Collection)");
          } else {
            sb.append(o);
          }
        }
        return sb.append(']').toString();
    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)
  4. android/guava/src/com/google/common/collect/TreeMultimap.java

        putAll(multimap);
      }
    
      @Override
      Map<K, Collection<V>> createAsMap() {
        return createMaybeNavigableAsMap();
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>Creates an empty {@code TreeSet} for a collection of values for one key.
       *
       * @return a new {@code TreeSet} containing a collection of values for one key
       */
      @Override
      SortedSet<V> createCollection() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Mar 09 00:21:17 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ForwardingQueueTest.java

          return standardRemove(object);
        }
    
        @Override
        public boolean removeAll(Collection<?> collection) {
          return standardRemoveAll(collection);
        }
    
        @Override
        public boolean retainAll(Collection<?> collection) {
          return standardRetainAll(collection);
        }
    
        @Override
        public Object[] toArray() {
          return standardToArray();
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

        while (entryIterator.hasNext()) {
          Entry<K, Collection<V>> entry = entryIterator.next();
          K key = entry.getKey();
          Collection<V> collection = filterCollection(entry.getValue(), new ValuePredicate(key));
          if (!collection.isEmpty()
              && predicate.apply(Maps.<K, Collection<V>>immutableEntry(key, collection))) {
            if (collection.size() == entry.getValue().size()) {
              entryIterator.remove();
            } else {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java

        }
    
        @Override
        public boolean containsAll(Collection<?> collection) {
          return standardContainsAll(collection);
        }
    
        @Override
        public boolean remove(Object object) {
          return standardRemove(object);
        }
    
        @Override
        public boolean removeAll(Collection<?> collection) {
          return standardRemoveAll(collection);
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ObjectArrays.java

       * elements than the collection), the element in the array immediately following the end of the
       * collection is set to {@code null}. This is useful in determining the length of the collection
       * <i>only</i> if the caller knows that the collection does not contain any null elements.
       *
       * <p>This method returns the elements in the order they are returned by the collection's
       * iterator.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 12 15:59:22 GMT 2023
    - 9K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/PluginsMetadataGenerator.java

                }
            }
        }
    
        @Override
        public Collection<? extends Metadata> prepare(Collection<? extends Artifact> artifacts) {
            return Collections.emptyList();
        }
    
        @Override
        public Artifact transformArtifact(Artifact artifact) {
            return artifact;
        }
    
        @Override
        public Collection<? extends Metadata> finish(Collection<? extends Artifact> artifacts) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/collection/CollectionsUtilTest.java

         * .
         */
        @Test
        public void testIsNotEmptyCollectionOfQ() {
            final Collection<String> c = new ArrayList<String>();
            c.add("hoge");
            assertThat(CollectionsUtil.isNotEmpty(c), is(true));
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.collection.CollectionsUtil#isEmpty(java.util.Map)}
         * .
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.4K bytes
    - Viewed (0)
Back to top