Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 6,682 for republic (0.12 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

                methodKey.append(arg.getClass().getName());
            }
    
            return methodKey.toString();
        }
    
        /**
         * Retrieves public methods for a class. In case the class is not
         * public, retrieves methods with same signature as its public methods
         * from public superclasses and interfaces (if they exist). Basically
         * upcasts every method to the nearest acccessible method.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CacheControlJvmTest.kt

      }
    
      @Test
      fun parseCacheControlAndPragmaAreCombined() {
        val headers = headersOf("Cache-Control", "max-age=12", "Pragma", "must-revalidate", "Pragma", "public")
        val cacheControl = parse(headers)
        assertThat(cacheControl.toString()).isEqualTo("max-age=12, public, must-revalidate")
      }
    
      @Test
      fun parseCacheControlHeaderValueIsRetained() {
        val value = "max-age=12"
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/beans/impl/MethodDescTest.java

            assertThat(bar.getMethodName(), is("bar"));
            assertThat(bar.isPublic(), is(true));
            assertThat(bar.isStatic(), is(true));
            assertThat(bar.isFinal(), is(not(true)));
            assertThat(bar.isAbstract(), is(not(true)));
            assertThat(bar.invokeStatic("moge"), is((Object) "moge"));
        }
    
        /**
         */
        public static class MyBean {
            /**
             * @return String
             */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/beans/impl/ConstructorDescTest.java

            assertThat(ctor.isPublic(), is(true));
            final MyBean myBean = ctor.newInstance("hoge");
            assertThat(myBean, is(notNullValue()));
            assertThat(myBean.s, is("hoge"));
        }
    
        /**
         */
        public static class MyBean {
            /** */
            public String s;
    
            /**
             *
             */
            public MyBean() {
            }
    
            /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

      }
    
      public void testConstructor() throws Exception {
        Invokable<A, A> invokable = A.constructor();
        assertTrue(invokable.isPublic());
        assertFalse(invokable.isPackagePrivate());
        assertFalse(invokable.isAbstract());
        assertFalse(invokable.isStatic());
        assertTrue(invokable.isAnnotationPresent(Tested.class));
      }
    
      public void testAbstractMethod() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/InvokableTest.java

      }
    
      public void testConstructor() throws Exception {
        Invokable<A, A> invokable = A.constructor();
        assertTrue(invokable.isPublic());
        assertFalse(invokable.isPackagePrivate());
        assertFalse(invokable.isAbstract());
        assertFalse(invokable.isStatic());
        assertTrue(invokable.isAnnotationPresent(Tested.class));
      }
    
      public void testAbstractMethod() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

      // Internal implementations of some classes, with public default constructor that get() needs.
      private static final class Dummies {
    
        public static final class InMemoryPrintStream extends PrintStream {
          public InMemoryPrintStream() {
            super(new ByteArrayOutputStream());
          }
        }
    
        public static final class InMemoryPrintWriter extends PrintWriter {
          public InMemoryPrintWriter() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/lang/ConstructorUtil.java

            }
        }
    
        /**
         * <code>public</code>かどうかを返します。
         *
         * @param constructor
         *            コンストラクタ。{@literal null}や空文字列であってはいけません
         * @return <code>public</code>かどうか
         */
        public static boolean isPublic(final Constructor<?> constructor) {
            assertArgumentNotNull("constructor", constructor);
    
            return Modifier.isPublic(constructor.getModifiers());
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/SourceSinkTester.java

          throw new AssertionError();
        }
      }
    
      @Override
      public void tearDown() throws IOException {
        factory.tearDown();
      }
    
      static ImmutableList<Method> getTestMethods(Class<?> testClass) {
        List<Method> result = Lists.newArrayList();
        for (Method method : testClass.getDeclaredMethods()) {
          if (Modifier.isPublic(method.getModifiers())
              && method.getReturnType() == void.class
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 18:57:08 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/beans/impl/ConstructorDescImpl.java

        }
    
        @Override
        public boolean isParameterized(final int index) {
            assertArgumentArrayIndex("index", index, parameterTypes.length);
    
            return parameterizedClassDescs[index].isParameterizedClass();
        }
    
        @Override
        public ParameterizedClassDesc[] getParameterizedClassDescs() {
            return parameterizedClassDescs;
        }
    
        @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top