Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2791 - 2800 of 3,818 for Avoid (0.04 sec)

  1. android/guava/src/com/google/common/hash/Funnel.java

     * 3: "Enforce the singleton property with a private constructor or an enum type". For example:
     *
     * <pre>{@code
     * public enum PersonFunnel implements Funnel<Person> {
     *   INSTANCE;
     *   public void funnel(Person person, PrimitiveSink into) {
     *     into.putUnencodedChars(person.getFirstName())
     *         .putUnencodedChars(person.getLastName())
     *         .putInt(person.getAge());
     *   }
     * }
     * }</pre>
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/beans/impl/ConstructorDescTest.java

    import org.junit.Test;
    
    /**
     * @author koichik
     *
     */
    public class ConstructorDescTest {
    
        /**
         * @throws Exception
         */
        @SuppressWarnings("rawtypes")
        @Test
        public void testDefaultConstructor() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final ConstructorDesc ctor = beanDesc.getConstructorDesc();
            assertThat(ctor, is(notNullValue()));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/ArtifactInstaller.java

         * @deprecated to be removed before 2.0 after the install/deploy plugins use the alternate
         *             method
         */
        @Deprecated
        void install(String basedir, String finalName, Artifact artifact, ArtifactRepository localRepository)
                throws ArtifactInstallationException;
    
        /**
         * Install an artifact from a particular file.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/EnumBiMap.java

      }
    
      /**
       * @serialData the key class, value class, number of entries, first key, first value, second key,
       *     second value, and so on.
       */
      @GwtIncompatible // java.io.ObjectOutputStream
      private void writeObject(ObjectOutputStream stream) throws IOException {
        stream.defaultWriteObject();
        stream.writeObject(keyTypeOrObjectUnderJ2cl);
        stream.writeObject(valueTypeOrObjectUnderJ2cl);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/EnumBiMap.java

      }
    
      /**
       * @serialData the key class, value class, number of entries, first key, first value, second key,
       *     second value, and so on.
       */
      @GwtIncompatible // java.io.ObjectOutputStream
      private void writeObject(ObjectOutputStream stream) throws IOException {
        stream.defaultWriteObject();
        stream.writeObject(keyTypeOrObjectUnderJ2cl);
        stream.writeObject(valueTypeOrObjectUnderJ2cl);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/collection/MapsTest.java

    import java.util.Map;
    
    import org.junit.Test;
    
    /**
     * @author koichik
     */
    public class MapsTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final Map<String, Integer> map = map("a", 1).$("b", 2).$("c", 3).$();
            assertThat(map.size(), is(3));
            assertThat(map.get("a"), is(1));
            assertThat(map.get("b"), is(2));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/impl/UnsupportedSlf4jBindingConfiguration.java

         */
        @Deprecated
        public UnsupportedSlf4jBindingConfiguration(String slf4jBinding, Map<URL, Set<Object>> supported) {}
    
        public UnsupportedSlf4jBindingConfiguration() {}
    
        @Override
        public void activate() {}
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/WagonMock.java

        /**
         * A field that can be configured in the Wagon
         *
         * @component.configuration default="configurableField"
         */
        private String configurableField = null;
    
        public void setConfigurableField(String configurableField) {
            this.configurableField = configurableField;
        }
    
        public String getConfigurableField() {
            return configurableField;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/relatedquery/CreateForm.java

        public String queries;
    
        @Size(max = 1000)
        public String virtualHost;
    
        @Size(max = 1000)
        public String createdBy;
    
        @ValidateTypeFailure
        public Long createdTime;
    
        public void initialize() {
            crudMode = CrudMode.CREATE;
            createdBy = ComponentUtil.getSystemHelper().getUsername();
            createdTime = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/cors/CorsHandlerFactory.java

    public class CorsHandlerFactory {
        private static final Logger logger = LogManager.getLogger(CorsHandlerFactory.class);
    
        protected Map<String, CorsHandler> handerMap = new HashMap<>();
    
        public void add(final String origin, final CorsHandler handler) {
            if (logger.isDebugEnabled()) {
                logger.debug("Loaded {}", origin);
            }
            handerMap.put(origin, handler);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top