Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1531 - 1540 of 1,631 for Instance (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

       * throws an {@link IllegalArgumentException} when presented with duplicate elements instead of
       * collapsing them to a single element or including duplicate instances in the collection.
       */
      REJECTS_DUPLICATES_AT_CREATION,
    
      SUPPORTS_ADD,
      SUPPORTS_REMOVE,
      SUPPORTS_ITERATOR_REMOVE,
      FAILS_FAST_ON_CONCURRENT_MODIFICATION,
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  2. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

      public void testAddNullReference() {
        assertThrows(NullPointerException.class, () -> equalsTester.addEqualityGroup((Object) null));
      }
    
      /** Test equalObjects after adding multiple instances at once with a null */
      public void testAddTwoEqualObjectsAtOnceWithNull() {
        assertThrows(
            NullPointerException.class,
            () -> equalsTester.addEqualityGroup(reference, equalObject1, null));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/hash/MessageDigestHashFunction.java

    import java.nio.ByteBuffer;
    import java.security.MessageDigest;
    import java.security.NoSuchAlgorithmException;
    import java.util.Arrays;
    
    /**
     * {@link HashFunction} adapter for {@link MessageDigest} instances.
     *
     * @author Kevin Bourrillion
     * @author Dimitris Andreou
     */
    @Immutable
    final class MessageDigestHashFunction extends AbstractHashFunction implements Serializable {
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

      }
    
      private static void testRotate(float[] input, int distance, float[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Floats.rotate(input, distance);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testRotate(
          float[] input, int distance, int fromIndex, int toIndex, float[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/primitives/IntsTest.java

      }
    
      private static void testRotate(int[] input, int distance, int[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Ints.rotate(input, distance);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testRotate(
          int[] input, int distance, int fromIndex, int toIndex, int[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/primitives/FloatsTest.java

      }
    
      private static void testRotate(float[] input, int distance, float[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Floats.rotate(input, distance);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testRotate(
          float[] input, int distance, int fromIndex, int toIndex, float[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java

            assertEquals(SsoResponseType.class, SsoResponseType.LOGOUT.getDeclaringClass());
        }
    
        @Test
        public void test_enumConstantReference() {
            // Test that enum constants are singleton instances
            SsoResponseType metadata1 = SsoResponseType.METADATA;
            SsoResponseType metadata2 = SsoResponseType.valueOf("METADATA");
            assertSame(metadata1, metadata2);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthentication.java

     * <ul>
     *   <li>Call {@link #clearCredentials()} after authentication is complete to clear sensitive data from memory</li>
     *   <li>Avoid logging instances of this class as it may expose credentials</li>
     *   <li>Consider using external secret management systems for credential storage in production</li>
     * </ul>
     *
     * @author shinsuke
     */
    public class FtpAuthentication {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jan 04 09:30:17 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java

            // Test that serialVersionUID is properly defined
            FessSystemException exception1 = new FessSystemException("Test");
            FessSystemException exception2 = new FessSystemException("Test");
    
            // Both instances should be of the same class
            assertEquals(exception1.getClass(), exception2.getClass());
        }
    
        @Test
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/graph/StandardMutableValueGraph.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Standard implementation of {@link MutableValueGraph} that supports both directed and undirected
     * graphs. Instances of this class should be constructed with {@link ValueGraphBuilder}.
     *
     * <p>Time complexities for mutation methods are all O(1) except for {@code removeNode(N node)},
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.3K bytes
    - Click Count (0)
Back to Top