Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1711 - 1720 of 4,816 for newE (0.03 sec)

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

      @GwtIncompatible // Iterables.filter(Iterable, Class)
      public void testFilterByType() throws Exception {
        HasBoth hasBoth = new HasBoth();
        FluentIterable<TypeA> alist =
            FluentIterable.from(asList(new TypeA(), new TypeA(), hasBoth, new TypeA()));
        Iterable<TypeB> blist = alist.filter(TypeB.class);
        assertThat(blist).containsExactly(hasBoth).inOrder();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        return TypeToken.of(generateClass());
      }
    
      // io types
      @Generates
      File generateFile() {
        return new File(generateString());
      }
    
      @Generates
      static ByteArrayInputStream generateByteArrayInputStream() {
        return new ByteArrayInputStream(new byte[0]);
      }
    
      @Generates
      static InputStream generateInputStream() {
        return generateByteArrayInputStream();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolutionPolicyTest.java

        @BeforeEach
        void setUp() throws Exception {
            policy = new DefaultGraphConflictResolutionPolicy();
            e1 = new MetadataGraphEdge("1.1", true, null, null, 2, 1);
            e2 = new MetadataGraphEdge("1.2", true, null, null, 3, 2);
            e3 = new MetadataGraphEdge("1.2", true, null, null, 2, 3);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConverterLookup.java

    class EnhancedConverterLookup implements ConverterLookup {
        private final ConverterLookup delegate = new DefaultConverterLookup();
    
        EnhancedConverterLookup() {
            registerConverter(new DefaultBeanConfigurator.PathConverter());
            registerConverter(new DefaultBeanConfigurator.XmlConverter());
        }
    
        @Override
        public void registerConverter(ConfigurationConverter converter) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/TestByteSource.java

      }
    
      @Override
      public InputStream openStream() throws IOException {
        inputStreamOpened = true;
        return new RandomAmountInputStream(new In(), new Random());
      }
    
      private final class In extends TestInputStream {
    
        public In() throws IOException {
          super(new ByteArrayInputStream(bytes), options);
        }
    
        @Override
        public void close() throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 1.9K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/TestCharacterListGenerator.java

      @Override
      public SampleElements<Character> samples() {
        return new Chars();
      }
    
      @Override
      public List<Character> create(Object... elements) {
        Character[] array = new Character[elements.length];
        int i = 0;
        for (Object e : elements) {
          array[i++] = (Character) e;
        }
        return create(array);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/TestByteSource.java

      }
    
      @Override
      public InputStream openStream() throws IOException {
        inputStreamOpened = true;
        return new RandomAmountInputStream(new In(), new Random());
      }
    
      private final class In extends TestInputStream {
    
        public In() throws IOException {
          super(new ByteArrayInputStream(bytes), options);
        }
    
        @Override
        public void close() throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 15 13:47:32 UTC 2016
    - 1.9K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbClientTest.java

        public void test_doGet_accessTimeoutTarget() {
            SmbClient client = new SmbClient() {
                @Override
                protected ResponseData getResponseData(final String uri, final boolean includeContent) {
                    try {
                        Thread.sleep(10000);
                    } catch (InterruptedException e) {
                        throw new CrawlingAccessException(e);
                    }
                    return null;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbAuthenticationHolderTest.java

        public void test_get() {
            final SmbAuthenticationHolder smbAuthenticationHolder = new SmbAuthenticationHolder();
            final SmbAuthentication hogeAuth = new SmbAuthentication();
            hogeAuth.setServer("hoge");
            smbAuthenticationHolder.add(hogeAuth);
            final SmbAuthentication fugaAuth = new SmbAuthentication();
            fugaAuth.setServer("fuga");
            smbAuthenticationHolder.add(fugaAuth);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/TestCharacterListGenerator.java

      @Override
      public SampleElements<Character> samples() {
        return new Chars();
      }
    
      @Override
      public List<Character> create(Object... elements) {
        Character[] array = new Character[elements.length];
        int i = 0;
        for (Object e : elements) {
          array[i++] = (Character) e;
        }
        return create(array);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top