Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 570 for asList (0.11 sec)

  1. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

    import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.collect.Sets.newHashSet;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Arrays.asList;
    import static java.util.Collections.shuffle;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            }
            if (newKinds == null) {
                return kinds;
            }
    
            final List<Kind> list = new ArrayList<>(kinds.length + newKinds.length);
            list.addAll(Arrays.asList(kinds));
            for (final Kind kind : newKinds) {
                if (!list.contains(kind)) {
                    list.add(kind);
                }
            }
            return list.toArray(new Kind[list.size()]);
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeImpl.java

            return send(
                (CommonServerMessageBlockRequest) request,
                request.getResponse(),
                ( params != null && params.length > 0 ) ? EnumSet.copyOf(Arrays.asList(params)) : EnumSet.noneOf(RequestParam.class));
        }
    
    
        <T extends CommonServerMessageBlockResponse> T send ( CommonServerMessageBlockRequest request, T response ) throws CIFSException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/config/BaseConfiguration.java

                // Samba woes on these
                // Smb2SessionSetupRequest + X -> INTERNAL_ERROR
                // Smb2TreeConnectRequest + IoCtl -> NETWORK_NAME_DELETED
                this.disallowCompound = new HashSet<>(Arrays.asList("Smb2SessionSetupRequest", "Smb2TreeConnectRequest"));
            }
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeConnection.java

                RequestParam... params ) throws CIFSException {
            return send(loc, request, response, params.length == 0 ? EnumSet.noneOf(RequestParam.class) : EnumSet.copyOf(Arrays.asList(params)));
        }
    
    
        <T extends CommonServerMessageBlockResponse> T send ( SmbResourceLocatorImpl loc, CommonServerMessageBlockRequest request, T response,
                Set<RequestParam> params ) throws CIFSException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

            ImmutableSet.of(3), set.intersection(ContiguousSet.create(Range.closed(3, 5), integers())));
      }
    
      public void testAsList() {
        ImmutableList<Integer> list = ContiguousSet.create(Range.closed(1, 3), integers()).asList();
        for (int i = 0; i < 3; i++) {
          assertEquals(i + 1, list.get(i).intValue());
        }
        assertEquals(ImmutableList.of(1, 2, 3), ImmutableList.copyOf(list.iterator()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableBiMap.java

        @SuppressWarnings("unchecked") // we will only ever read these
        Entry<K, V>[] entries2 = (Entry<K, V>[]) entries;
        return copyOf(Arrays.asList(entries2));
      }
    
      /**
       * Returns a new builder. The generated builder is equivalent to the builder created by the {@link
       * Builder} constructor.
       */
      public static <K, V> Builder<K, V> builder() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                "maven.build.allowExpressionInEffectiveProjectVersion";
    
        public static final List<String> VALID_MODEL_VERSIONS =
                Collections.unmodifiableList(Arrays.asList("4.0.0", "4.1.0"));
    
        private static final Pattern EXPRESSION_NAME_PATTERN = Pattern.compile("\\$\\{(.+?)}");
        private static final Pattern EXPRESSION_PROJECT_NAME_PATTERN = Pattern.compile("\\$\\{(project.+?)}");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

        public static final String HINT = "reactor";
    
        public static final String PROJECT_LOCAL_REPO = "project-local-repo";
    
        private static final Collection<String> COMPILE_PHASE_TYPES = new HashSet<>(
                Arrays.asList("jar", "ejb-client", "war", "rar", "ejb3", "par", "sar", "wsr", "har", "app-client"));
    
        private static final Logger LOGGER = LoggerFactory.getLogger(ReactorReader.class);
    
        private final MavenSession session;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/PreconditionsTest.java

                    .add(predicateType)
                    .add(String.class) // the format string
                    .addAll(curr)
                    .build());
          }
        }
        return allOverloads.build().asList();
      }
    
      // 'test' to demonstrate some potentially ambiguous overloads.  This 'test' is kind of strange,
      // but essentially each line will be a call to a Preconditions method that, but for a documented
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top