Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for hasMoreElements (0.31 sec)

  1. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

            final ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
            try {
                final Enumeration<URL> resources = classLoader.getResources(path);
    
                while (resources.hasMoreElements()) {
                    final URL resource = resources.nextElement();
                    logger.debug("loading {}", resource);
                    if ("file".equals(resource.getProtocol())) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jun 19 01:34:15 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertEquals(2, (int) enumer.nextElement());
        assertTrue(enumer.hasMoreElements());
        assertEquals(3, (int) enumer.nextElement());
        assertFalse(enumer.hasMoreElements());
      }
    
      private static Enumeration<Integer> enumerate(int... ints) {
        Vector<Integer> vector = new Vector<>(Ints.asList(ints));
        return vector.elements();
      }
    
      public void testToString() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertEquals(2, (int) enumer.nextElement());
        assertTrue(enumer.hasMoreElements());
        assertEquals(3, (int) enumer.nextElement());
        assertFalse(enumer.hasMoreElements());
      }
    
      private static Enumeration<Integer> enumerate(int... ints) {
        Vector<Integer> vector = new Vector<>(Ints.asList(ints));
        return vector.elements();
      }
    
      public void testToString() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        TestSuite candidateTests = new TestSuite(testerClass);
        TestSuite suite = filterSuite(candidateTests);
    
        Enumeration<?> allTests = suite.tests();
        while (allTests.hasMoreElements()) {
          Object test = allTests.nextElement();
          if (test instanceof AbstractTester) {
            @SuppressWarnings("unchecked")
            AbstractTester<? super G> tester = (AbstractTester<? super G>) test;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jConfigurationFactory.java

            try {
                Enumeration<URL> resources =
                        Slf4jConfigurationFactory.class.getClassLoader().getResources(RESOURCE);
    
                while (resources.hasMoreElements()) {
                    URL resource = resources.nextElement();
                    try {
                        InputStream is = resource.openStream();
                        final Properties properties = new Properties();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        TestSuite candidateTests = new TestSuite(testerClass);
        TestSuite suite = filterSuite(candidateTests);
    
        Enumeration<?> allTests = suite.tests();
        while (allTests.hasMoreElements()) {
          Object test = allTests.nextElement();
          if (test instanceof AbstractTester) {
            @SuppressWarnings("unchecked")
            AbstractTester<? super G> tester = (AbstractTester<? super G>) test;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/extension/internal/CoreExtensionEntry.java

            Set<String> packages = new LinkedHashSet<>();
    
            try {
                Enumeration<URL> urls = loader.getResources(BUILDER.getExtensionDescriptorLocation());
                while (urls.hasMoreElements()) {
    
                    try (InputStream is = urls.nextElement().openStream()) {
                        ExtensionDescriptor descriptor = BUILDER.build(is);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java

            sp.forEach(properties::setProperty);
        }
    
        public static void substitute(MavenProperties props, Function<String, String> callback) {
            for (Enumeration<?> e = props.propertyNames(); e.hasMoreElements(); ) {
                String name = (String) e.nextElement();
                String value = props.getProperty(name);
                if (value == null) {
                    value = callback.apply(name);
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/net/InetAddressesTest.java

        ImmutableSet.Builder<String> builder = ImmutableSet.builder();
        Enumeration<NetworkInterface> interfaces = NetworkInterface.getNetworkInterfaces();
        assertTrue(interfaces.hasMoreElements());
        while (interfaces.hasMoreElements()) {
          NetworkInterface i = interfaces.nextElement();
          builder.add(i.getName()).add(String.valueOf(i.getIndex()));
        }
        return builder.build();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                final Set<String> langSet = new HashSet<>();
                final Enumeration<Locale> locales = request.getLocales();
                if (locales != null) {
                    while (locales.hasMoreElements()) {
                        final Locale locale = locales.nextElement();
                        final String normalizeLang = systemHelper.normalizeLang(locale.toString());
                        if (normalizeLang != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 19.1K bytes
    - Viewed (0)
Back to top