Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for Vector (0.59 sec)

  1. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         * @param c the collection of elements to be placed in the vector
         * @return a new instance of {@link Vector}
         * @see Vector#Vector(Collection)
         */
        public static <E> Vector<E> newVector(final Collection<? extends E> c) {
            return new Vector<>(c);
        }
    
        /**
         * Creates and returns a new instance of {@link Vector}.
         *
         * @param <E> the element type of {@link Vector}
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 49.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java

        @SuppressWarnings("unused")
        @Test
        public void testIterable() throws Exception {
            final Vector<String> vector = new Vector<String>();
            vector.add("a");
            vector.add("b");
            int count = 0;
            for (final String s : iterable(vector.elements())) {
                ++count;
            }
            assertThat(count, is(2));
        }
    
        /**
         * Test method for
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

            .createTestSuite();
      }
    
      // We are testing Vector / testing our tests on Vector.
      @SuppressWarnings("JdkObsolete")
      private Test testsForVector() {
        return ListTestSuiteBuilder.using(
                new TestStringListGenerator() {
                  @Override
                  protected List<String> create(String[] elements) {
                    return new Vector<>(MinimalCollection.of(elements));
                  }
                })
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 15:04:05 UTC 2025
    - 12K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

      // We're testing our asEnumeration method against a known-good implementation.
      @SuppressWarnings("JdkObsolete")
      private static Enumeration<Integer> enumerate(int... ints) {
        Vector<Integer> vector = new Vector<>(Ints.asList(ints));
        return vector.elements();
      }
    
      public void testToString() {
        Iterator<String> iterator = Lists.newArrayList("yam", "bam", "jam", "ham").iterator();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/IteratorsTest.java

      // We're testing our asEnumeration method against a known-good implementation.
      @SuppressWarnings("JdkObsolete")
      private static Enumeration<Integer> enumerate(int... ints) {
        Vector<Integer> vector = new Vector<>(Ints.asList(ints));
        return vector.elements();
      }
    
      public void testToString() {
        Iterator<String> iterator = Lists.newArrayList("yam", "bam", "jam", "ham").iterator();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        BaseEncoding separated = base64().withSeparator("\n", 3);
        assertThrows(UnsupportedOperationException.class, () -> separated.withSeparator("$", 4));
      }
    
      public void testBase64() {
        // The following test vectors are specified in RFC 4648 itself
        testEncodingWithSeparators(base64(), "", "");
        testEncodingWithSeparators(base64(), "f", "Zg==");
        testEncodingWithSeparators(base64(), "fo", "Zm8=");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/collection/LruHashMap.java

        private static final long serialVersionUID = 1L;
    
        /**
         * Default initial capacity.
         */
        protected static final int DEFAULT_INITIAL_CAPACITY = 16;
    
        /**
         * Default load factor.
         */
        protected static final float DEFAULT_LOAD_FACTOR = 0.75f;
    
        /**
         * Upper limit on the number of entries.
         */
        protected final int limitSize;
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

                    Map.of("_default", List.of("QUERY1")), //
                    Set.of("QUERY1"), //
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/BaseEncodingTest.java

        BaseEncoding separated = base64().withSeparator("\n", 3);
        assertThrows(UnsupportedOperationException.class, () -> separated.withSeparator("$", 4));
      }
    
      public void testBase64() {
        // The following test vectors are specified in RFC 4648 itself
        testEncodingWithSeparators(base64(), "", "");
        testEncodingWithSeparators(base64(), "f", "Zg==");
        testEncodingWithSeparators(base64(), "fo", "Zm8=");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/beans/impl/ConstructorDescTest.java

            final ConstructorDesc ctor = beanDesc.getConstructorDesc();
            assertThat(ctor, is(notNullValue()));
            assertThat(ctor.getBeanDesc(), is(sameInstance(beanDesc)));
            assertThat(ctor.getConstructor(), is((Constructor) MyBean.class.getConstructor()));
            assertThat(ctor.getParameterTypes().length, is(0));
            assertThat(ctor.isPublic(), is(true));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.9K bytes
    - Viewed (0)
Back to top