Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 40 for Presence (0.05 seconds)

  1. guava/src/com/google/common/graph/ImmutableGraph.java

        }
        return nodeConnections.buildOrThrow();
      }
    
      @SuppressWarnings("unchecked")
      private static <N> GraphConnections<N, Presence> connectionsOf(Graph<N> graph, N node) {
        Function<N, Presence> edgeValueFn =
            (Function<N, Presence>) Functions.constant(Presence.EDGE_EXISTS);
        return graph.isDirected()
            ? DirectedGraphConnections.ofImmutable(node, graph.incidentEdges(node), edgeValueFn)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/util/DocMap.java

        @Override
        public boolean isEmpty() {
            return parent.isEmpty();
        }
    
        /**
         * Returns true if this map contains a mapping for the specified key.
         *
         * @param key the key whose presence in this map is to be tested
         * @return true if this map contains a mapping for the specified key
         */
        @Override
        public boolean containsKey(final Object key) {
            return parent.containsKey(key);
        }
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/annotations/GwtCompatible.java

    import java.lang.annotation.Documented;
    import java.lang.annotation.ElementType;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * The presence of this annotation on a type indicates that the type may be used with <a
     * href="https://www.gwtproject.org/">GWT</a> or <a href="https://github.com/google/j2cl">J2CL</a>.
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 06 17:15:36 GMT 2025
    - 2K bytes
    - Click Count (0)
  4. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

    /**
     * Creates a [Provider] that returns `true` when this [Provider] has a value
     * and `false` otherwise. The returned [Provider] always has a value.
     * @see Provider.isPresent
     */
    private
    fun <T : Any> Provider<T>.presence(): Provider<Boolean> =
        map { true }.orElse(false)
    
    
    fun Project.gradleProperty(propertyName: String) = providers.gradleProperty(propertyName)
    
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 18 22:01:30 GMT 2025
    - 17.7K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/MIENameTest.java

            }
    
            // Act + Assert
            Throwable t = assertThrows(expected, () -> new MIEName(buf));
            // MIEName throws IllegalArgumentException without messages, so we don't assert on message presence
            assertNotNull(t, "Exception should be thrown");
        }
    
        @Nested
        @DisplayName("equals, hashCode, toString")
        class EqualityContract {
    
            @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/collection/LruHashSet.java

        @Override
        public boolean isEmpty() {
            return map.isEmpty();
        }
    
        /**
         * Returns true if this set contains the specified element.
         *
         * @param o
         *            element whose presence in this set is to be tested.
         * @return true if this set contains the specified element.
         */
        @Override
        public boolean contains(final Object o) {
            return map.containsKey(o);
        }
    
        /**
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

        }
    
        @Test
        @DisplayName("Test flag checking with bitwise AND")
        void testFlagChecking() {
            int flags = SecurityInfo.OWNER_SECURITY_INFO | SecurityInfo.DACL_SECURITY_INFO;
    
            // Test presence of flags
            assertTrue((flags & SecurityInfo.OWNER_SECURITY_INFO) != 0);
            assertTrue((flags & SecurityInfo.DACL_SECURITY_INFO) != 0);
    
            // Test absence of flags
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  8. docs/en/docs/how-to/custom-request-and-route.md

    ///
    
    First, we create a `GzipRequest` class, which will overwrite the `Request.body()` method to decompress the body in the presence of an appropriate header.
    
    If there's no `gzip` in the header, it will not try to decompress the body.
    
    That way, the same route class can handle gzip compressed or uncompressed requests.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  9. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java

         *
         * @return the top-level directory path
         */
        @Nonnull
        Path topDirectory();
    
        /**
         * Returns the root directory of the Maven invocation, if found. This is determined by the presence of a
         * {@code .mvn} directory or a POM with the root="true" property but is not always applicable (ie invocation
         * from outside a checkout).
         *
         * @return the root directory path, if present
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  10. guava/src/com/google/common/graph/PredecessorsFunction.java

       * if the returned {@link Iterable} contains duplicate elements. Implementations of such
       * algorithms should document their behavior in the presence of duplicates.
       *
       * <p>The elements of the returned {@code Iterable} must each be:
       *
       * <ul>
       *   <li>Non-null
       *   <li>Usable as {@code Map} keys (see the Guava User Guide's section on <a
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 4K bytes
    - Click Count (0)
Back to Top