Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 297 for Singleton (0.14 sec)

  1. src/main/java/org/codelibs/fess/es/log/bsentity/dbmeta/SearchLogDbm.java

        // ===================================================================================
        //                                                                           Singleton
        //                                                                           =========
        private static final SearchLogDbm _instance = new SearchLogDbm();
    
        private SearchLogDbm() {
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableTable.java

            rowFunction, columnFunction, valueFunction, mergeFunction);
      }
    
      /**
       * Returns an empty immutable table.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      public static <R, C, V> ImmutableTable<R, C, V> of() {
        return (ImmutableTable<R, C, V>) SparseImmutableTable.EMPTY;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

        return CollectCollectors.toImmutableRangeMap(keyFunction, valueFunction);
      }
    
      /**
       * Returns an empty immutable range map.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      public static <K extends Comparable<?>, V> ImmutableRangeMap<K, V> of() {
        return (ImmutableRangeMap<K, V>) EMPTY;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Optional.java

       * {@code Optional.orElse(null)}.
       */
      @CheckForNull
      public abstract T orNull();
    
      /**
       * Returns an immutable singleton {@link Set} whose only element is the contained instance if it
       * is present; an empty immutable {@link Set} otherwise.
       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> this method has no equivalent in Java 8's
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/WebConfigDbm.java

        // ===================================================================================
        //                                                                           Singleton
        //                                                                           =========
        private static final WebConfigDbm _instance = new WebConfigDbm();
    
        private WebConfigDbm() {
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableRangeSet.java

        return CollectCollectors.toImmutableRangeSet();
      }
    
      /**
       * Returns an empty immutable range set.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      public static <C extends Comparable> ImmutableRangeSet<C> of() {
        return (ImmutableRangeSet<C>) EMPTY;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.validation;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.io.File;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Deque;
    import java.util.HashMap;
    import java.util.HashSet;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableBiMap.java

        return CollectCollectors.toImmutableBiMap(keyFunction, valueFunction);
      }
    
      /**
       * Returns the empty bimap.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      // Casting to any type is safe because the set will never hold any elements.
      @SuppressWarnings("unchecked")
      public static <K, V> ImmutableBiMap<K, V> of() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/PredicatesTest.java

        assertEvalsToFalse(nasty);
    
        Predicate<? super Integer> stillNasty = SerializableTester.reserializeAndAssert(nasty);
    
        assertEvalsToFalse(stillNasty);
      }
    
      // enum singleton pattern
      private enum TrimStringFunction implements Function<String, String> {
        INSTANCE;
    
        @Override
        public String apply(String string) {
          return whitespace().trimFrom(string);
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableCollection.java

     *
     * <p>Expressing the immutability guarantee directly in the type that user code references is a
     * powerful advantage. Although Java offers certain immutable collection factory methods, such as
     * {@link Collections#singleton(Object)} and <a
     * href="https://docs.oracle.com/javase/9/docs/api/java/util/Set.html#immutable">{@code Set.of}</a>,
     * we recommend using <i>these</i> classes instead for this reason (as well as for consistency).
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 16:59:15 UTC 2024
    - 18.8K bytes
    - Viewed (0)
Back to top