Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 571 - 580 of 2,832 for contains (0.1 seconds)

  1. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        assertThat(iia.contains(1)).isTrue();
        assertThat(iia.contains(8)).isTrue();
        assertThat(iia.contains(4)).isFalse();
        assertThat(ImmutableDoubleArray.of(13).contains(13)).isTrue();
        assertThat(ImmutableDoubleArray.of().contains(21)).isFalse();
        assertThat(iia.subArray(1, 5).contains(1)).isTrue();
      }
    
      public void testForEach() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java

      ImmutableCollection() {}
    
      @Override
      public abstract UnmodifiableIterator<E> iterator();
    
      @Override
      public boolean contains(@Nullable Object object) {
        return object != null && super.contains(object);
      }
    
      @Override
      public final boolean add(E e) {
        throw new UnsupportedOperationException();
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

        }
    
        @Test
        @DisplayName("toString representation contains expected fields")
        void toStringContainsKeyData() {
            SmbComNTCreateAndX req = createRequest(0, 0);
            String str = req.toString();
            assertTrue(str.startsWith("SmbComNTCreateAndX["), "toString should start with class name");
            assertTrue(str.contains("name=test.txt"), "The file name should appear");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java

        }
    
        /**
         * Gets the flags field which contains flags in SMB 3.1.1 or encryption algorithm ID in SMB 3.0/3.0.2
         *
         * @return the flags (SMB 3.1.1) or encryption algorithm (SMB 3.0/3.0.2)
         */
        public int getFlags() {
            return this.flags;
        }
    
        /**
         * Sets the flags field which contains flags in SMB 3.1.1 or encryption algorithm ID in SMB 3.0/3.0.2
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  5. src/main/java/jcifs/ntlmssp/av/AvTargetName.java

     */
    package jcifs.ntlmssp.av;
    
    import java.nio.charset.Charset;
    import java.nio.charset.StandardCharsets;
    
    /**
     * NTLMSSP AV pair representing target name information in NTLM authentication.
     * Contains the name of the target server or service being authenticated against.
     *
     * @author mbechler
     */
    public class AvTargetName extends AvPair {
    
        /**
         *
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/witness/WitnessUnregisterResponse.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.witness;
    
    /**
     * Represents a witness unregistration response as defined in MS-SWN specification.
     * Contains the result of a witness unregistration request.
     */
    public class WitnessUnregisterResponse {
        /**
         * Creates a new witness unregister response.
         */
        public WitnessUnregisterResponse() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 2K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractChainedListenableFutureTest.java

        inputFuture.set(VALID_INPUT_DATA);
    
        listener.assertSuccess(getSuccessfulResult());
      }
    
      public void testInputFutureToString() throws Throwable {
        assertThat(resultFuture.toString()).contains(inputFuture.toString());
      }
    
      /**
       * Override to return a chaining listenableFuture that returns the result of getSuccessfulResult()
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  8. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

              fail(
                  rootLocaleFormat(
                      "Feature enum %s contains a class named "
                          + "'Require' but it is not an annotation.",
                      featureEnumClass));
            }
            return;
          }
        }
        fail(
            rootLocaleFormat(
                "Feature enum %s should contain an annotation named 'Require'.", featureEnumClass));
      }
    
      @SuppressWarnings("unchecked")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/primitives/Bytes.java

       * @param array an array of {@code byte} values, possibly empty
       * @param target a primitive {@code byte} value
       * @return {@code true} if {@code array[i] == target} for some value of {@code i}
       */
      public static boolean contains(byte[] array, byte target) {
        for (byte value : array) {
          if (value == target) {
            return true;
          }
        }
        return false;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  10. compat/maven-repository-metadata/src/site/apt/index.apt

     []
    
     Depending on what the directory represents ("groupId", "groupId/artifactId" or "groupId/artifactId/version"),
     the Maven Repository Metadata file contains 3 different sets of metadata:
    
     [[1]] in a "groupId" directory: a "groupId" directory may contain Maven plugins artifacts, which are described in metadata's <<<plugins>>> element,
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Nov 16 18:16:44 GMT 2025
    - 2.5K bytes
    - Click Count (0)
Back to Top