Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for bear (0.16 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/src/com/google/common/collect/CompactLinkedHashSet.java

        this.predecessor = null;
        this.successor = 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
       * requirePredecessors() and requireSuccessors(), which are defined at the end of this file.
       */
    
      private int getPredecessor(int entry) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/LongMath.java

               * technique previously used by BigIntegerMath: maintain separate numerator and
               * denominator accumulators, multiplying the fraction into result when near overflow.
               */
              for (int i = 2; i <= k; i++, n--) {
                if (numeratorBits + nBits < Long.SIZE - 1) {
                  // It's definitely safe to multiply into numerator and denominator.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  7. .github/ISSUE_TEMPLATE/feature_enhancement_request.yaml

    
            Before we make significant changes to existing features in Guava, we really want to be sure
            that it's for a use case that actually comes up in the real world. We want to hear the
            real-world use case so the community can discuss and debate whether this feature is actually
            the *best* way to address the real use case, or whether or not a different approach might be
            more appropriate.
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top