Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for hasMoreElements (0.24 sec)

  1. maven-di/src/main/java/org/apache/maven/di/impl/InjectorImpl.java

        public Injector discover(ClassLoader classLoader) {
            try {
                Enumeration<URL> enumeration = classLoader.getResources("META-INF/maven/org.apache.maven.api.di.Inject");
                while (enumeration.hasMoreElements()) {
                    try (InputStream is = enumeration.nextElement().openStream();
                            BufferedReader reader = new BufferedReader(new InputStreamReader(Objects.requireNonNull(is)))) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Maps.java

      public static ImmutableMap<String, String> fromProperties(Properties properties) {
        ImmutableMap.Builder<String, String> builder = ImmutableMap.builder();
    
        for (Enumeration<?> e = properties.propertyNames(); e.hasMoreElements(); ) {
          /*
           * requireNonNull is safe because propertyNames contains only non-null elements.
           *
           * Accordingly, we have it annotated as returning `Enumeration<? extends Object>` in our
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
Back to top