Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 514 for getSet (0.03 sec)

  1. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

            // don't let the new entry get GCed
            warmed.add(entryOf(entry.getKey(), newValue));
            Object newKey = new Object();
            assertNull(cache.asMap().put(newKey, entry.getValue()));
            // this getUnchecked() call shouldn't be a cache miss; verified below
            assertEquals(newValue, cache.getUnchecked(entry.getKey()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ForwardingMapEntry.java

        if (object instanceof Entry) {
          Entry<?, ?> that = (Entry<?, ?>) object;
          return Objects.equals(this.getKey(), that.getKey())
              && Objects.equals(this.getValue(), that.getValue());
        }
        return false;
      }
    
      /**
       * A sensible definition of {@link #hashCode()} in terms of {@link #getKey()} and {@link
       * #getValue()}. If you override either of these methods, you may wish to override {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

        }
    
        @Override
        public final Method getReadMethod() {
            return readMethod;
        }
    
        /**
         * Sets the getter method.
         *
         * @param readMethod
         *            The getter method.
         */
        protected final void setReadMethod(final Method readMethod) {
            this.readMethod = readMethod;
            if (readMethod != null) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java

          assertFalse(
              "Inverse should not contain entry " + reversed, inv.entrySet().contains(reversed));
          assertFalse(
              "Inverse should not contain key " + reversed.getKey(),
              inv.containsKey(reversed.getKey()));
          assertFalse(
              "Inverse should not contain value " + reversed.getValue(),
              inv.containsValue(reversed.getValue()));
          /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/filter/EncodingFilter.java

            final String servletPath = req.getServletPath();
            for (final Map.Entry<String, String> entry : encodingMap.entrySet()) {
                final String path = entry.getKey();
                if (servletPath.startsWith(path)) {
                    req.setCharacterEncoding(entry.getValue());
                    final StringBuilder locationBuf = new StringBuilder(1000);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/spnego/SpnegoTokenTest.java

            assertNull(t.getMechanismToken(), "mechanismToken should default to null");
            assertNull(t.getMechanismListMIC(), "mechanismListMIC should default to null");
        }
    
        @Test
        @DisplayName("Setter and getter for mechanismToken work")
        void setGetMechanismToken() {
            TestSpnegoToken t = new TestSpnegoToken();
            byte[] data = new byte[] { 1, 2, 3 };
            t.setMechanismToken(data);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ZipExtractor.java

         */
        protected long maxContentSize = -1;
    
        /**
         * Creates a new ZipExtractor instance.
         */
        public ZipExtractor() {
            super();
        }
    
        @Override
        public ExtractData getText(final InputStream in, final Map<String, String> params) {
            if (in == null) {
                throw new CrawlerSystemException("The inputstream is null.");
            }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/spnego/SpnegoConstantsTest.java

                Field f = SpnegoConstants.class.getField(e.getKey());
                int m = f.getModifiers();
    
                assertTrue(Modifier.isPublic(m), e.getKey() + " must be public");
                assertTrue(Modifier.isStatic(m), e.getKey() + " must be static");
                assertTrue(Modifier.isFinal(m), e.getKey() + " must be final");
                assertEquals(String.class, f.getType(), e.getKey() + " must be String");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/transport/RequestTest.java

        void testGetNext() {
            // Test case for getNext method
            Request nextRequest = mock(Request.class); // Mock a chained request
            when(mockRequest.getNext()).thenReturn(nextRequest);
    
            Request actualNextRequest = mockRequest.getNext();
    
            assertEquals(nextRequest, actualNextRequest, "Next request should match the mocked object.");
            verify(mockRequest, times(1)).getNext();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

            public int compare(Entry<AnEnum, String> left, Entry<AnEnum, String> right) {
              return left.getKey().compareTo(right.getKey());
            }
          }.sortedCopy(insertionOrder);
        }
      }
    
      public static class ImmutableMapValuesAsSingletonSetGenerator
          implements TestMapGenerator<String, Collection<Integer>> {
    
        @Override
        public SampleElements<Entry<String, Collection<Integer>>> samples() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top