Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 209 for content_si (0.4 sec)

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

        return new MinimalCollection<>(Object.class, true, contents);
      }
    
      // TODO: use this
      public static <E extends @Nullable Object> MinimalCollection<E> ofClassAndContents(
          Class<? super @NonNull E> type, E... contents) {
        return new MinimalCollection<>(type, true, contents);
      }
    
      private final E[] contents;
      private final Class<? super @NonNull E> type;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ListsImplTest.java

          return new ArrayList<>(contents);
        }
      }
    
      private static final class LinkedListExample extends ListExample {
    
        protected LinkedListExample(String name) {
          super(name, Modifiability.ALL);
        }
    
        @Override
        public <T> List<T> createList(Class<T> listType, Collection<? extends T> contents) {
          return new LinkedList<>(contents);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/xml/DomUtil.java

         * プラットフォームのデフォルトエンコーディングでXMLの内容を {@link InputStream}として取得します。
         *
         * @param contents
         *            コンテンツ。{@literal null}であってはいけません
         * @return {@link InputStream}
         */
        public static InputStream getContentsAsStream(final String contents) {
            assertArgumentNotNull("contents", contents);
            return getContentsAsStream(contents, null);
        }
    
        /**
         * 指定のエンコーディングでXMLの内容を {@link InputStream}として取得します。
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/MinimalSet.java

      public static <E extends @Nullable Object> MinimalSet<E> of(E... contents) {
        return ofClassAndContents(Object.class, (E[]) new Object[0], Arrays.asList(contents));
      }
    
      @SuppressWarnings("unchecked") // empty Object[] as E[]
      public static <E extends @Nullable Object> MinimalSet<E> from(Collection<? extends E> contents) {
        return ofClassAndContents(Object.class, (E[]) new Object[0], contents);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/MinimalSet.java

      public static <E extends @Nullable Object> MinimalSet<E> of(E... contents) {
        return ofClassAndContents(Object.class, (E[]) new Object[0], Arrays.asList(contents));
      }
    
      @SuppressWarnings("unchecked") // empty Object[] as E[]
      public static <E extends @Nullable Object> MinimalSet<E> from(Collection<? extends E> contents) {
        return ofClassAndContents(Object.class, (E[]) new Object[0], contents);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ListsImplTest.java

          return new ArrayList<>(contents);
        }
      }
    
      private static final class LinkedListExample extends ListExample {
    
        protected LinkedListExample(String name) {
          super(name, Modifiability.ALL);
        }
    
        @Override
        public <T> List<T> createList(Class<T> listType, Collection<? extends T> contents) {
          return new LinkedList<>(contents);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java

        return new MinimalCollection<>(Object.class, true, contents);
      }
    
      // TODO: use this
      public static <E extends @Nullable Object> MinimalCollection<E> ofClassAndContents(
          Class<? super @NonNull E> type, E... contents) {
        return new MinimalCollection<>(type, true, contents);
      }
    
      private final E[] contents;
      private final Class<? super @NonNull E> type;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

        Comparable<?>[] contents = new Comparable<?>[6 + remaining.length];
        contents[0] = e1;
        contents[1] = e2;
        contents[2] = e3;
        contents[3] = e4;
        contents[4] = e5;
        contents[5] = e6;
        System.arraycopy(remaining, 0, contents, 6, remaining.length);
        return construct(Ordering.natural(), contents.length, (E[]) contents);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/xml/DomUtilTest.java

        /**
         * @throws Exception
         */
        public void testGetContentsAsStream() throws Exception {
            final String contents = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><foo/>";
            assertNotNull("1", DomUtil.getContentsAsStream(contents, "UTF-8"));
        }
    
        /**
         * @throws Exception
         */
        public void testToString() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSortedSet.java

        Comparable<?>[] contents = new Comparable<?>[6 + remaining.length];
        contents[0] = e1;
        contents[1] = e2;
        contents[2] = e3;
        contents[3] = e4;
        contents[4] = e5;
        contents[5] = e6;
        System.arraycopy(remaining, 0, contents, 6, remaining.length);
        return construct(Ordering.natural(), contents.length, (E[]) contents);
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
Back to top