Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1601 - 1610 of 3,909 for Extend (0.07 sec)

  1. android/guava/src/com/google/common/graph/PredecessorsFunction.java

     *
     * <pre>{@code
     * someGraphAlgorithm(startNode, MyNode::getParents);
     * }</pre>
     *
     * <p>If you have some other mechanism for returning the predecessors of a node, or one that doesn't
     * return a {@code Iterable<? extends N>}, then you can use a lambda to perform a more general
     * transformation:
     *
     * <pre>{@code
     * someGraphAlgorithm(startNode, node -> ImmutableList.of(node.mother(), node.father()));
     * }</pre>
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/AbstractIteratorTest.java

    import junit.framework.TestCase;
    
    /**
     * Unit test for {@code AbstractIterator}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    public class AbstractIteratorTest extends TestCase {
    
      public void testDefaultBehaviorOfNextAndHasNext() {
    
        // This sample AbstractIterator returns 0 on the first call, 1 on the
        // second, then signals that it's reached the end of the data
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

     * tested in {@link FuturesTest}.
     */
    @ElementTypesAreNonnullByDefault
    @GwtCompatible(emulated = true)
    public class FluentFutureTest extends TestCase {
      public void testFromFluentFuture() {
        FluentFuture<String> f = FluentFuture.from(SettableFuture.<String>create());
        assertThat(FluentFuture.from(f)).isSameInstanceAs(f);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

    import java.util.concurrent.ExecutionException;
    
    /**
     * Unit tests for {@link Futures#transformAsync(ListenableFuture, AsyncFunction, Executor)}.
     *
     * @author Nishant Thakkar
     */
    public class FuturesTransformAsyncTest extends AbstractChainedListenableFutureTest<String> {
      protected static final int SLOW_OUTPUT_VALID_INPUT_DATA = 2;
      protected static final int SLOW_FUNC_VALID_INPUT_DATA = 3;
      private static final String RESULT_DATA = "SUCCESS";
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/AbstractCompositeHashFunction.java

     * {@linkplain #makeHash(Hasher[])} that constructs the final {@code HashCode}.
     *
     * @author Dimitris Andreou
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    abstract class AbstractCompositeHashFunction extends AbstractHashFunction {
    
      @SuppressWarnings("Immutable") // array not modified after creation
      final HashFunction[] functions;
    
      AbstractCompositeHashFunction(HashFunction... functions) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  6. build-logic/documentation/src/test/resources/org/gradle/test/GroovyClass.groovy

    package org.gradle.test
    
    /**
     * This is a groovy class.
     */
    class GroovyClass extends A implements CombinedInterface, JavaInterface {
        /**
         * A groovy property.
         */
        CombinedInterface groovyProp
    
        /**
         * A read-only groovy property.
         */
        final String readOnlyGroovyProp
    
        /**
         * An array property.
         */
        def String[] arrayProp
    
        private def ignoreMe1;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 915 bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

    /**
     * Automatically runs sanity checks against top level classes in the same package of the test that
     * extends {@code AbstractPackageSanityTests}. Currently sanity checks include {@link
     * NullPointerTester}, {@link EqualsTester} and {@link SerializableTester}. For example:
     *
     * <pre>
     * public class PackageSanityTests extends AbstractPackageSanityTests {}
     * </pre>
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  8. apache-maven/src/main/appended-resources/licenses/EPL-2.0.txt

    other Contributor ("Indemnified Contributor") against any losses,
    damages and costs (collectively "Losses") arising from claims, lawsuits
    and other legal actions brought by a third party against the Indemnified
    Contributor to the extent caused by the acts or omissions of such
    Commercial Contributor in connection with its distribution of the Program
    in a commercial product offering. The obligations in this section do not
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Jun 04 06:45:16 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/AbstractService.java

      @WeakOuter
      private final class IsStartableGuard extends Guard {
        IsStartableGuard() {
          super(AbstractService.this.monitor);
        }
    
        @Override
        public boolean isSatisfied() {
          return state() == NEW;
        }
      }
    
      private final Guard isStoppable = new IsStoppableGuard();
    
      @WeakOuter
      private final class IsStoppableGuard extends Guard {
        IsStoppableGuard() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 20.7K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

    import java.lang.annotation.Retention;
    import java.lang.reflect.Method;
    import java.util.Set;
    import junit.framework.TestCase;
    
    /**
     * @author George van den Driessche
     */
    public class FeatureUtilTest extends TestCase {
      enum ExampleFeature implements Feature<Object> {
        FOO,
        IMPLIES_FOO,
        IMPLIES_IMPLIES_FOO,
        BAR,
        IMPLIES_BAR,
        IMPLIES_IMPLIES_FOO_AND_IMPLIES_BAR;
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top