Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1031 - 1040 of 3,915 for object5 (0.23 seconds)

  1. android/guava-tests/test/com/google/common/base/AbstractIteratorTest.java

      @GwtIncompatible // weak references
      @J2ktIncompatible
      public void testFreesNextReference() {
        Iterator<Object> itr =
            new AbstractIterator<Object>() {
              @Override
              public Object computeNext() {
                return new Object();
              }
            };
        WeakReference<Object> ref = doNextAndGetWeakReference(itr);
        GcFinalization.awaitClear(ref);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java

      @Override
      public boolean contains(@Nullable Object object) {
        return object != null && super.contains(object);
      }
    
      @Override
      public final boolean add(E e) {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public final boolean remove(@Nullable Object object) {
        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/smb/DfsReferralTest.java

            // Create a mock DfsReferralData object
            DfsReferralData mockData = mock(DfsReferralData.class);
    
            // Create a DfsReferral instance with the mock data
            DfsReferral dfsReferral = new DfsReferral(mockData);
    
            // Verify that getData() returns the same mock data object
            assertEquals(mockData, dfsReferral.getData(), "getData() should return the DfsReferralData object passed to the constructor.");
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  4. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

            assertEquals(2, (Object) p1.size());
            Object o23 = p1.getComments("trees");
            assertEquals(List.of("#", "# List of trees", "#"), o23);
            Object o22 = p1.getProperty("trees");
            assertEquals("fir, oak, maple", o22);
            Object o21 = p1.getComments("fruits");
            assertEquals(List.of("#", "# List of good fruits", "#"), o21);
            Object o2 = p1.getProperty("fruits");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Mar 09 14:29:03 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  5. compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3WriterEx.java

         *
         * @param writer a writer object.
         * @param model a model object.
         * @throws IOException java.io.IOException if any.
         */
        @Override
        public void write(Writer writer, Model model) throws IOException {
            super.write(writer, model);
        } // -- void write( Writer, Model )
    
        /**
         * Method write.
         *
         * @param stream a stream object.
         * @param model a model object.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/ListToArrayTester.java

      }
    
      public void testToArray_largeEnough() {
        Object[] actual = getList().toArray(new Object[getNumElements()]);
        assertArrayEquals("toArray(largeEnough) order should match list", createOrderedArray(), actual);
      }
    
      private static void assertArrayEquals(String message, Object[] expected, Object[] actual) {
        assertEquals(message, asList(expected), asList(actual));
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/InternersTest.java

      }
    
      public void testStrong_builder() {
        int concurrencyLevel = 42;
        Interner<Object> interner =
            Interners.newBuilder().strong().concurrencyLevel(concurrencyLevel).build();
        InternerImpl<Object> internerImpl = (InternerImpl<Object>) interner;
        assertEquals(Strength.STRONG, internerImpl.map.keyStrength());
      }
    
      public void testWeak_simplistic() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  8. CHANGELOG/CHANGELOG-1.15.md

    `objectSelector` is evaluated the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. ([#78505](htt...
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu May 05 13:44:43 GMT 2022
    - 278.9K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/CartesianList.java

          @GwtIncompatible // serialization
          Object writeReplace() {
            return super.writeReplace();
          }
        };
      }
    
      @Override
      public int size() {
        return axesSizeProduct[0];
      }
    
      @Override
      public boolean contains(@Nullable Object object) {
        if (!(object instanceof List)) {
          return false;
        }
        List<?> list = (List<?>) object;
        if (list.size() != axes.size()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 31 13:15:26 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/UnhashableObject.java

    /**
     * An unhashable object to be used in testing as values in our collections.
     *
     * @author Regina O'Dell
     */
    @GwtCompatible
    public class UnhashableObject implements Comparable<UnhashableObject> {
      private final int value;
    
      public UnhashableObject(int value) {
        this.value = value;
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof UnhashableObject) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 10 20:12:40 GMT 2025
    - 1.6K bytes
    - Click Count (0)
Back to Top