Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 467 for Spring (0.16 sec)

  1. android/guava/src/com/google/common/eventbus/EventBus.java

     * apps use <a href="https://dagger.dev">Dagger</a>. For server code, common options include <a
     * href="https://github.com/google/guice/wiki/Motivation">Guice</a> and <a
     * href="https://docs.spring.io/spring-framework/docs/current/reference/html/core.html#beans-introduction">Spring</a>.
     * Frameworks typically offer a way to register multiple listeners independently and then request
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 25 16:37:57 GMT 2021
    - 12.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Strings.java

       */
      public static String nullToEmpty(@CheckForNull String string) {
        return Platform.nullToEmpty(string);
      }
    
      /**
       * Returns the given string if it is nonempty; {@code null} otherwise.
       *
       * @param string the string to test and possibly return
       * @return {@code string} itself if it is nonempty; {@code null} if it is empty or null
       */
      @CheckForNull
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Sep 17 20:47:03 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

        Set<String> set = of("a", "b", "c", "d", "e", "f", "g", "h");
        assertEquals(Sets.newHashSet("a", "b", "c", "d", "e", "f", "g", "h"), set);
      }
    
      public void testCopyOf_emptyArray() {
        String[] array = new String[0];
        Set<String> set = copyOf(array);
        assertEquals(Collections.<String>emptySet(), set);
        assertSame(this.<String>of(), set);
      }
    
      public void testCopyOf_arrayOfOneElement() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

        Set<String> set = of("a", "b", "c", "d", "e", "f", "g", "h");
        assertEquals(Sets.newHashSet("a", "b", "c", "d", "e", "f", "g", "h"), set);
      }
    
      public void testCopyOf_emptyArray() {
        String[] array = new String[0];
        Set<String> set = copyOf(array);
        assertEquals(Collections.<String>emptySet(), set);
        assertSame(this.<String>of(), set);
      }
    
      public void testCopyOf_arrayOfOneElement() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

      private static final String DELTA = "\u0394";
    
      /** A domain part which is valid under lenient validation, but invalid under strict validation. */
      static final String LOTS_OF_DELTAS = Strings.repeat(DELTA, 62);
    
      private static final String ALMOST_TOO_MANY_LEVELS = Strings.repeat("a.", 127);
    
      private static final String ALMOST_TOO_LONG = Strings.repeat("aaaaa.", 40) + "1234567890.c";
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

            Gender gender,
            Integer integer,
            int i,
            String string,
            CharSequence charSequence,
            List<String> list,
            ImmutableList<Integer> immutableList,
            Map<String, Integer> map,
            ImmutableMap<String, String> immutableMap,
            Set<String> set,
            ImmutableSet<Integer> immutableSet,
            SortedSet<Number> sortedSet,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 47.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

        @SuppressWarnings("GuardedBy")
        @Override
        public String toString() {
          Runnable currentlyRunning = task;
          if (currentlyRunning != null) {
            return "SequentialExecutorWorker{running=" + currentlyRunning + "}";
          }
          return "SequentialExecutorWorker{state=" + workerRunningState + "}";
        }
      }
    
      @Override
      public String toString() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Suppliers.java

          return Objects.hashCode(function, supplier);
        }
    
        @Override
        public String toString() {
          return "Suppliers.compose(" + function + ", " + supplier + ")";
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /**
       * Returns a supplier which caches the instance retrieved during the first call to {@code get()}
       * and returns that value on subsequent calls to {@code get()}. See: <a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

       *     arbitrary past or present time
       */
      abstract long reserveEarliestAvailable(int permits, long nowMicros);
    
      @Override
      public String toString() {
        return String.format(Locale.ROOT, "RateLimiter[stableRate=%3.1fqps]", getRate());
      }
    
      abstract static class SleepingStopwatch {
        /** Constructor for use by subclasses. */
        protected SleepingStopwatch() {}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

        private final String toString;
    
        protected Stimulus(String toString) {
          this.toString = toString;
        }
    
        /**
         * Send this stimulus to both iterators and return normally only if both produce the same
         * response.
         */
        abstract void executeAndCompare(ListIterator<E> reference, T target);
    
        @Override
        public String toString() {
          return toString;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
Back to top