Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 135 for bear (0.13 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. maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationRequest.java

    /**
     * A request to configure a bean from some configuration in the POM or similar.
     *
     */
    public interface BeanConfigurationRequest {
    
        /**
         * Gets the bean to configure. Eventually, a valid request must have a bean set.
         *
         * @return The bean to configure, or {@code null} if none.
         */
        Object getBean();
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/session/scope/SessionScopeProxyTest.java

            MySingletonBean bean = container.lookup(MySingletonBean.class);
            assertNotNull(bean);
            assertNotNull(bean.anotherBean);
            assertSame(bean.anotherBean.getClass(), AnotherBean.class);
            assertNotNull(bean.myBean);
            assertNotSame(bean.myBean.getClass(), MySessionScopedBean.class);
    
            assertThrows(OutOfScopeException.class, () -> bean.myBean.getSession());
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Apr 23 12:52:20 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorPathTest.java

            SomeBean bean = new SomeBean();
    
            Xpp3Dom config = toConfig("<file>test</file>");
    
            DefaultBeanConfigurationRequest request = new DefaultBeanConfigurationRequest();
            request.setBean(bean).setConfiguration(config);
    
            configurator.configureBean(request);
    
            assertEquals(Paths.get("test"), bean.file);
        }
    
        @Test
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/MathTesting.java

              return x.negate();
            }
          };
    
      /*
       * This list contains values that attempt to provoke overflow in integer operations. It contains
       * positive values on or near 2^N for N near multiples of 8 (near byte boundaries).
       */
      static final ImmutableSet<Integer> POSITIVE_INTEGER_CANDIDATES;
    
      static final Iterable<Integer> NEGATIVE_INTEGER_CANDIDATES;
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/TempFileCreator.java

          int jellyBean =
              (int) Class.forName("android.os.Build$VERSION_CODES").getField("JELLY_BEAN").get(null);
          /*
           * I assume that this check can't fail because JELLY_BEAN will be present only if we're
           * running under Jelly Bean or higher. But it seems safest to check.
           */
          if (version < jellyBean) {
            return new ThrowingCreator();
          }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 12.5K 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