Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 110 for getMax (0.19 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/MapIsEmptyTester.java

      @CollectionSize.Require(ZERO)
      public void testIsEmpty_yes() {
        assertTrue("isEmpty() should return true", getMap().isEmpty());
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testIsEmpty_no() {
        assertFalse("isEmpty() should return false", getMap().isEmpty());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapSizeTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MapSizeTester<K, V> extends AbstractMapTester<K, V> {
      public void testSize() {
        assertEquals("size():", getNumElements(), getMap().size());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ntlmssp/av/AvTimestamp.java

            SMBUtil.writeInt8(ts, data, 0);
            return data;
        }
    
    
        /**
         * @return the timestamp
         */
        public long getTimestamp () {
            return SMBUtil.readInt8(getRaw(), 0);
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/MapHashCodeTester.java

        for (Entry<K, V> entry : getSampleEntries()) {
          expectedHashCode += hash(entry);
        }
        assertEquals(
            "A Map's hashCode() should be the sum of those of its entries.",
            expectedHashCode,
            getMap().hashCode());
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      @MapFeature.Require(ALLOWS_NULL_KEYS)
      public void testHashCode_containingNullKey() {
        Entry<K, V> entryWithNull = entry(null, v3());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/beans/factory/BeanDescFactoryTest.java

        }
    
        /**
         *
         */
        public static class MyBean {
    
            /**
             * @return String
             */
            public String getAaa() {
                return null;
            }
    
            /**
             * @param a
             * @return String
             */
            public String getBbb(final Object a) {
                return null;
            }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/MapHashCodeTester.java

        for (Entry<K, V> entry : getSampleEntries()) {
          expectedHashCode += hash(entry);
        }
        assertEquals(
            "A Map's hashCode() should be the sum of those of its entries.",
            expectedHashCode,
            getMap().hashCode());
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      @MapFeature.Require(ALLOWS_NULL_KEYS)
      public void testHashCode_containingNullKey() {
        Entry<K, V> entryWithNull = entry(null, v3());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

            StringWriter sw = new StringWriter();
            properties.save(sw);
            String msg = sw.toString();
            assertTrue(sw.toString().endsWith(RESULT3), msg);
            List<String> rawValue = properties.getRaw(KEY1);
            assertEquals(2, (Object) rawValue.size());
            assertEquals(KEY1A + " = " + VALUE1, rawValue.get(0));
            assertEquals(VALUE1, rawValue.get(1));
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/kerberos/KerberosPacAuthData.java

        private Pac pac;
    
    
        public KerberosPacAuthData ( byte[] token, Map<Integer, KerberosKey> keys ) throws PACDecodingException {
            this.pac = new Pac(token, keys);
        }
    
    
        public Pac getPac () {
            return this.pac;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/av/AvFlags.java

         */
        public AvFlags ( int flags ) {
            this(encode(flags));
        }
    
    
        /**
         * 
         * @return flags
         */
        public int getFlags () {
            return SMBUtil.readInt4(this.getRaw(), 0);
        }
    
    
        private static byte[] encode ( int flags ) {
            byte[] raw = new byte[4];
            SMBUtil.writeInt4(flags, raw, 0);
            return raw;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

      private Entry<K, V> a;
      private Entry<K, V> b;
      private Entry<K, V> c;
    
      @Override
      public void setUp() throws Exception {
        super.setUp();
        navigableMap = (NavigableMap<K, V>) getMap();
        entries =
            copyToList(
                getSubjectGenerator()
                    .getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top