Search Options

Results per page
Sort
Preferred Languages
Advance

Results 631 - 640 of 914 for iterate (0.05 sec)

  1. src/main/java/jcifs/smb/Kerb5Authenticator.java

        @Override
        public String getUserDomain () {
            if ( this.realm == null && this.getSubject() != null ) {
                Set<Principal> pr = this.getSubject().getPrincipals();
                for ( Iterator<Principal> ite = pr.iterator(); ite.hasNext(); ) {
                    try {
                        KerberosPrincipal entry = (KerberosPrincipal) ite.next();
                        return entry.getRealm();
                    }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 13K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       * is {@code explicitTestNames}.
       */
      @VisibleForTesting
      List<Class<?>> findClassesToTest(
          Iterable<? extends Class<?>> classes, Iterable<String> explicitTestNames) {
        // "a.b.Foo" -> a.b.Foo.class
        TreeMap<String, Class<?>> classMap = Maps.newTreeMap();
        for (Class<?> cls : classes) {
          classMap.put(cls.getName(), cls);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/TestInputStream.java

      private boolean closed;
    
      public TestInputStream(InputStream in, TestOption... options) throws IOException {
        this(in, Arrays.asList(options));
      }
    
      public TestInputStream(InputStream in, Iterable<TestOption> options) throws IOException {
        super(checkNotNull(in));
        this.options = ImmutableSet.copyOf(options);
        throwIf(OPEN_THROWS);
      }
    
      public boolean closed() {
        return closed;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/NullnessCasts.java

       * never use this method, preferring instead to call {@code requireNonNull} so as to benefit from
       * its runtime check.
       *
       * <p>An example use case for this method is in implementing an {@code Iterator<T>} whose {@code
       * next} field is lazily initialized. The type of that field would be {@code @Nullable T}, and the
       * code would be responsible for populating a "real" {@code T} (which might still be the value
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 10 20:36:34 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformerTest.java

            assertEquals(content, new String(resultData.getData()));
            assertEquals(1, resultData.getChildUrlSet().size());
            assertEquals("http://hoge/test2.html", resultData.getChildUrlSet().iterator().next().getUrl());
        }
    
        public void test_transform_urllink() {
            String content = "<a href=\"http://fuga/test.html\">test</a>";
            final byte[] data = new String(content).getBytes();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MultisetsImmutableEntryTest.java

        return Multisets.immutableEntry(element, count);
      }
    
      private static <E extends @Nullable Object> Entry<E> control(E element, int count) {
        return HashMultiset.create(nCopies(count, element)).entrySet().iterator().next();
      }
    
      public void testToString() {
        assertEquals("foo", entry("foo", 1).toString());
        assertEquals("bar x 2", entry("bar", 2).toString());
      }
    
      public void testToStringNull() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/CollectionTestSuiteBuilder.java

          return SerializableTester.reserialize(gen.create(elements));
        }
    
        @Override
        public E[] createArray(int length) {
          return gen.createArray(length);
        }
    
        @Override
        public Iterable<E> order(List<E> insertionOrder) {
          return gen.order(insertionOrder);
        }
      }
    
      private static Set<Feature<?>> computeReserializedCollectionFeatures(Set<Feature<?>> features) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Aug 18 22:49:45 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java

       * com.google.common.collect.testing.features.CollectionFeature#KNOWN_ORDER}, the tests will look
       * only at the returned contents without regard for order.
       */
      Iterable<E> order(List<E> insertionOrder);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/reflect/TypeVisitorTest.java

        new BaseTypeVisitor() {
          @Override
          void visitGenericArrayType(GenericArrayType t) {}
        }.visit(type);
      }
    
      public <T> void testVisitParameterizedType() {
        Type type = new TypeCapture<Iterable<T>>() {}.capture();
        assertVisited(type);
        new BaseTypeVisitor() {
          @Override
          void visitParameterizedType(ParameterizedType t) {}
        }.visit(type);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/Futures.java

       * input futures, if all succeed.
       *
       * <p>The list of results is in the same order as the input list.
       *
       * <p>This differs from {@link #successfulAsList(Iterable)} in that it will return a failed future
       * if any of the items fails.
       *
       * <p>Canceling this future will attempt to cancel all the component futures, and if any of the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
Back to top