Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 120 for getCal (0.19 sec)

  1. src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java

            /**
             * @return URL
             */
            public URL getURL() {
                return url_;
            }
    
            /**
             * @param url
             */
            public void setURL(final URL url) {
                url_ = url;
            }
    
            /**
             * @return Returns the cal.
             */
            public Calendar getCal() {
                return cal;
            }
    
            /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final MethodDesc methodDesc = beanDesc.getMethodDesc("getAaa");
            assertThat(methodDesc, is(notNullValue()));
            assertThat(methodDesc.getMethodName(), is("getAaa"));
            beanDesc.getMethodDesc("getaaa");
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetMethodNoException() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 13.9K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

      public void testMergeNullFunction() {
        try {
          getMap().merge(k0(), v3(), null);
          fail("Expected NullPointerException or UnsupportedOperationException");
        } catch (NullPointerException | UnsupportedOperationException expected) {
        }
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      public void testMergeUnsupported() {
        try {
          getMap()
              .merge(
                  k3(),
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        extends AbstractContainerTester<Map<K, V>, Entry<K, V>> {
      protected Map<K, V> getMap() {
        return container;
      }
    
      @Override
      protected Collection<Entry<K, V>> actualContents() {
        return getMap().entrySet();
      }
    
      /** @see AbstractContainerTester#resetContainer() */
      protected final void resetMap() {
        resetContainer();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAll_supportedNothing() {
        getMap().putAll(emptyMap());
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      public void testPutAll_unsupportedNothing() {
        try {
          getMap().putAll(emptyMap());
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapPutTester.java

        getMap().forcePut(k1(), null);
    
        expectContents(Helpers.mapEntry(k1(), (V) null));
    
        assertFalse(getMap().containsKey(k0()));
    
        assertTrue(getMap().containsKey(k1()));
        assertTrue(getMap().inverse().containsKey(null));
        assertNull(getMap().get(k1()));
        assertEquals(k1(), getMap().inverse().get(null));
        assertEquals(1, getMap().size());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testRemove_present() {
        int initialSize = getMap().size();
        assertEquals("remove(present) should return the associated value", v0(), getMap().remove(k0()));
        assertEquals(
            "remove(present) should decrease a map's size by one.", initialSize - 1, getMap().size());
        expectMissing(e0());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testRemove_present() {
        int initialSize = getMap().size();
        assertEquals("remove(present) should return the associated value", v0(), getMap().remove(k0()));
        assertEquals(
            "remove(present) should decrease a map's size by one.", initialSize - 1, getMap().size());
        expectMissing(e0());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/BiMapRemoveTester.java

      public void testKeySetIteratorRemove() {
        int initialSize = getNumElements();
        Iterator<K> iterator = getMap().keySet().iterator();
        iterator.next();
        iterator.remove();
        assertEquals(initialSize - 1, getMap().size());
        assertEquals(initialSize - 1, getMap().inverse().size());
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapRemoveTester.java

      public void testKeySetIteratorRemove() {
        int initialSize = getNumElements();
        Iterator<K> iterator = getMap().keySet().iterator();
        iterator.next();
        iterator.remove();
        assertEquals(initialSize - 1, getMap().size());
        assertEquals(initialSize - 1, getMap().inverse().size());
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 3K bytes
    - Viewed (0)
Back to top