Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Enumeration (0.18 sec)

  1. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.ConcurrentModificationException;
    import java.util.Enumeration;
    import java.util.Iterator;
    import java.util.List;
    import java.util.ListIterator;
    import java.util.NoSuchElementException;
    import java.util.RandomAccess;
    import java.util.Set;
    import java.util.Vector;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Iterators.java

          Enumeration<T> enumeration) {
        checkNotNull(enumeration);
        return new UnmodifiableIterator<T>() {
          @Override
          public boolean hasNext() {
            return enumeration.hasMoreElements();
          }
    
          @Override
          @ParametricNullness
          public T next() {
            return enumeration.nextElement();
          }
        };
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Maps.java

        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
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
Back to top