Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for bear (0.14 sec)

  1. guava/src/com/google/common/base/Optional.java

     *
     * <p>This class is not intended as a direct analogue of any existing "option" or "maybe" construct
     * from other programming environments, though it may bear some similarities.
     *
     * <p>An instance of this class is serializable if its reference is absent or is a serializable
     * object.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Optional.java

     *
     * <p>This class is not intended as a direct analogue of any existing "option" or "maybe" construct
     * from other programming environments, though it may bear some similarities.
     *
     * <p>An instance of this class is serializable if its reference is absent or is a serializable
     * object.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 13K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableMultiset.java

       * multisets ("constant multisets"). Example:
       *
       * <pre>{@code
       * public static final ImmutableMultiset<Bean> BEANS =
       *     new ImmutableMultiset.Builder<Bean>()
       *         .addCopies(Bean.COCOA, 4)
       *         .addCopies(Bean.GARDEN, 6)
       *         .addCopies(Bean.RED, 8)
       *         .addCopies(Bean.BLACK_EYED, 10)
       *         .build();
       * }</pre>
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

        links = null;
        return result;
      }
    
      /*
       * For discussion of the safety of the following methods for operating on predecessors and
       * successors, see the comments near the end of CompactHashMap, noting that the methods here call
       * link(), which is defined at the end of this file.
       */
    
      private int getPredecessor(int entry) {
        return ((int) (link(entry) >>> 32)) - 1;
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/MultisetsImmutableEntryTest.java

        assertEquals("bar x 2", entry("bar", 2).toString());
      }
    
      public void testToStringNull() {
        assertEquals("null", entry(NE, 1).toString());
        assertEquals("null x 2", entry(NE, 2).toString());
      }
    
      public void testEquals() {
        assertEquals(control("foo", 1), entry("foo", 1));
        assertEquals(control("bar", 2), entry("bar", 2));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/RegularImmutableTableTest.java

      private static final ImmutableSet<Cell<Character, Integer, String>> CELLS =
          ImmutableSet.of(
              Tables.immutableCell('a', 1, "foo"),
              Tables.immutableCell('b', 1, "bar"),
              Tables.immutableCell('a', 2, "baz"));
    
      private static final ImmutableSet<Character> ROW_SPACE = ImmutableSet.of('a', 'b');
    
      private static final ImmutableSet<Integer> COLUMN_SPACE = ImmutableSet.of(1, 2);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ObjectArraysTest.java

        String[] result = ObjectArrays.concat("foo", new String[] {"bar"});
        assertThat(result).asList().containsExactly("foo", "bar").inOrder();
      }
    
      public void testPrependTwoElements() {
        String[] result = ObjectArrays.concat("foo", new String[] {"bar", "baz"});
        assertThat(result).asList().containsExactly("foo", "bar", "baz").inOrder();
      }
    
      public void testAppendZeroElements() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/net/InternetDomainNameTest.java

              "",
              " ",
              "127.0.0.1",
              "::1",
              "13",
              "abc.12c",
              "foo-.com",
              "_bar.quux",
              "foo+bar.com",
              "foo!bar.com",
              ".foo.com",
              "..bar.com",
              "baz..com",
              "..quiffle.com",
              "fleeb.com..",
              ".",
              "..",
              "...",
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        multimap.put(new DerivedComparable("bar"), new DerivedComparable("b"));
        multimap.put(new DerivedComparable("bar"), new DerivedComparable("a"));
        multimap.put(new DerivedComparable("bar"), new DerivedComparable("r"));
        assertThat(multimap.keySet())
            .containsExactly(new DerivedComparable("bar"), new DerivedComparable("foo"))
            .inOrder();
        assertThat(multimap.values())
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

        multiset.add("foo", 2);
        multiset.add("bar");
        assertEquals(3, multiset.size());
        assertEquals(2, multiset.count("foo"));
        assertEquals("[foo x 2, bar]", multiset.toString());
      }
    
      public void testCreateFromIterable() {
        Multiset<String> multiset = TreeMultiset.create(Arrays.asList("foo", "bar", "foo"));
        assertEquals(3, multiset.size());
        assertEquals(2, multiset.count("foo"));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 12.9K bytes
    - Viewed (0)
Back to top