Search Options

Results per page
Sort
Preferred Languages
Advance

Results 681 - 690 of 3,883 for void (0.05 sec)

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

      }
    
      public void testEmpty_tailSet() {
        SortedSet<String> set = of();
        assertSame(set, set.tailSet("f"));
      }
    
      public void testEmpty_subSet() {
        SortedSet<String> set = of();
        assertSame(set, set.subSet("c", "f"));
      }
    
      public void testEmpty_first() {
        SortedSet<String> set = of();
        assertThrows(NoSuchElementException.class, () -> set.first());
      }
    
      public void testEmpty_last() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/eventbus/outside/DeepInterfaceTest.java

      interface Interface1 {
        @Subscribe
        void annotatedIn1(Object o);
    
        @Subscribe
        void annotatedIn1And2(Object o);
    
        @Subscribe
        void annotatedIn1And2AndClass(Object o);
    
        void declaredIn1AnnotatedIn2(Object o);
    
        void declaredIn1AnnotatedInClass(Object o);
    
        void nowhereAnnotated(Object o);
      }
    
      interface Interface2 extends Interface1 {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 08 21:35:40 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/PrimitivesTest.java

     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    public class PrimitivesTest extends TestCase {
      public void testIsWrapperType() {
        assertThat(Primitives.isWrapperType(Void.class)).isTrue();
        assertThat(Primitives.isWrapperType(void.class)).isFalse();
      }
    
      public void testWrap() {
        assertThat(Primitives.wrap(int.class)).isSameInstanceAs(Integer.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/OptionalTest.java

      }
    
      public void testOf() {
        assertEquals("training", Optional.of("training").get());
      }
    
      public void testOf_null() {
        assertThrows(NullPointerException.class, () -> Optional.of(null));
      }
    
      public void testFromNullable() {
        Optional<String> optionalName = Optional.fromNullable("bob");
        assertEquals("bob", optionalName.get());
      }
    
      public void testFromNullable_null() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

                .createTestSuite());
        suite.addTestSuite(ImmutableListMultimapTest.class);
        return suite;
      }
    
      public void testBuilderWithExpectedKeysNegative() {
        assertThrows(
            IllegalArgumentException.class, () -> ImmutableListMultimap.builderWithExpectedKeys(-1));
      }
    
      public void testBuilderWithExpectedKeysZero() {
        ImmutableListMultimap.Builder<String, String> builder =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/cors/DefaultCorsHandler.java

    public class DefaultCorsHandler extends CorsHandler {
    
        @PostConstruct
        public void register() {
            final CorsHandlerFactory factory = ComponentUtil.getCorsHandlerFactory();
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            fessConfig.getApiCorsAllowOriginList().forEach(s -> factory.add(s, this));
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. samples/guide/src/main/java/okhttp3/recipes/AccessHeaders.java

    import java.io.IOException;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    
    public final class AccessHeaders {
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://api.github.com/repos/square/okhttp/issues")
            .header("User-Agent", "OkHttp Headers.java")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbSessionInternal.java

         * 
         * @throws SmbException
         */
        void treeConnectLogon () throws SmbException;
    
    
        /**
         * @param share
         * @param service
         * @return tree instance
         */
        SmbTree getSmbTree ( String share, String service );
    
    
        /**
         * Initiate reauthentication
         * 
         * @throws CIFSException
         */
        void reauthenticate () throws CIFSException;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/io/LineIteratorTest.java

    import java.io.StringReader;
    
    import org.junit.Test;
    
    /**
     * @author koichik
     */
    public class LineIteratorTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final StringReader reader = new StringReader("aaa\nbbb\nccc\n");
            final LineIterator it = new LineIterator(reader);
            assertThat(it.hasNext(), is(true));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy

                return userData[key]
            }
    
            void putUserData(String key, Object value) {
                userData[key] = value
            }
        }
    
        ClassPool instanceScopedPool = new ClassPool()
    
        JApiClass apiClass = Stub(JApiClass)
    
        def setup() {
            instanceScopedPool.appendSystemPath()
        }
    
        void noViolation(def rule) {
            assert rule.maybeViolation(apiClass) == null
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 2K bytes
    - Viewed (0)
Back to top