Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for berate (0.14 sec)

  1. guava/src/com/google/common/collect/HashMultiset.java

       */
      public static <E extends @Nullable Object> HashMultiset<E> create(
          Iterable<? extends E> elements) {
        HashMultiset<E> multiset = create(Multisets.inferDistinctElements(elements));
        Iterables.addAll(multiset, elements);
        return multiset;
      }
    
      private HashMultiset() {
        super(new HashMap<E, Count>());
      }
    
      private HashMultiset(int distinctElements) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/FileUtil.java

            assertArgumentNotNull("file", file);
            assertArgumentNotEmpty("encoding", encoding);
    
            final FileInputStream is = InputStreamUtil.create(file);
            try {
                final Reader reader = ReaderUtil.create(new BufferedInputStream(is, DEFAULT_BUF_SIZE), encoding);
                return read(reader, (int) ChannelUtil.size(is.getChannel()));
            } finally {
                CloseableUtil.close(is);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

        @Nullable
        <T> T computeIfAbsent(@Nonnull Key<T> key, @Nonnull Supplier<T> supplier);
    
        /**
         * Create a key using the given class as an identifier and as the type of the object.
         */
        static <T> Key<T> key(Class<T> clazz) {
            return new Key<>(clazz, clazz);
        }
    
        /**
         * Create a key using the given class and id.
         */
        static <T> Key<T> key(Class<T> clazz, Object id) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/beans/impl/sub/MogeBeanFactory.java

     */
    package org.codelibs.core.beans.impl.sub;
    
    /**
     * @author koichik
     */
    public class MogeBeanFactory {
    
        /**
         * @param name
         * @return MogeBean
         */
        public static MogeBean create(final String name) {
            return new MogeBeanImpl(name);
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 885 bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/TypeRegistry.java

    @Experimental
    public interface TypeRegistry extends ExtensibleEnumRegistry<Type> {
    
        /**
         * Obtain the {@link Type} from the specified {@code id}.
         * If no type is known for {@code id}, the registry will
         * create a custom {@code Type} for it.
         *
         * @param id the id of the type to retrieve
         * @return the type
         */
        @Nonnull
        @Override
        default Type require(@Nonnull String id) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/jar/JarInputStreamUtil.java

         * @return {@link JarInputStream}
         * @throws IORuntimeException
         *             {@link IOException}が発生した場合
         * @see JarInputStream#JarInputStream(InputStream)
         */
        public static JarInputStream create(final InputStream is) throws IORuntimeException {
            assertArgumentNotNull("is", is);
    
            try {
                return new JarInputStream(is);
            } catch (final IOException e) {
    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)
  7. maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java

        // it's all encapsulated here so it appears normalized to the POM builder.
    
        // We are going to take the project packaging and find all plugin in the default lifecycle and create
        // fully populated Plugin objects, including executions with goals and default configuration taken
        // from the plugin.xml inside a plugin.
        //
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/HashBasedTableTest.java

      @Override
      protected Table<String, Integer, Character> create(@Nullable Object... data) {
        Table<String, Integer, Character> table = HashBasedTable.create();
        table.put("foo", 4, 'a');
        table.put("cat", 1, 'b');
        table.clear();
        populate(table, data);
        return table;
      }
    
      public void testIterationOrder() {
        Table<String, String, String> table = HashBasedTable.create();
        for (int i = 0; i < 5; i++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

      private SetMultimap<String, Integer> create() {
        return TreeMultimap.create(StringLength.COMPARATOR, DECREASING_INT_COMPARATOR);
      }
    
      /** Create and populate a {@code TreeMultimap} with explicit comparators. */
      private TreeMultimap<@Nullable String, @Nullable Integer> createPopulate() {
        TreeMultimap<@Nullable String, @Nullable Integer> multimap =
            TreeMultimap.create(StringLength.COMPARATOR, DECREASING_INT_COMPARATOR);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/AbstractTableTest.java

            fail();
          } catch (NullPointerException expected) {
          }
        }
      }
    
      public void testPutAllTable() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        Table<String, Integer, @NonNull C> other = HashBasedTable.create();
        other.put("foo", 1, cellValue('d'));
        other.put("bar", 2, cellValue('e'));
        other.put("cat", 2, cellValue('f'));
        table.putAll(other);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 6K bytes
    - Viewed (0)
Back to top