Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,714 for privasi (0.14 sec)

  1. guava-testlib/src/com/google/common/collect/testing/SampleElements.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class SampleElements<E extends @Nullable Object> implements Iterable<E> {
      // TODO: rename e3, e4 => missing1, missing2
      private final E e0;
      private final E e1;
      private final E e2;
      private final E e3;
      private final E e4;
    
      public SampleElements(E e0, E e1, E e2, E e3, E e4) {
        this.e0 = e0;
        this.e1 = e1;
        this.e2 = e2;
        this.e3 = e3;
        this.e4 = e4;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class SampleElements<E extends @Nullable Object> implements Iterable<E> {
      // TODO: rename e3, e4 => missing1, missing2
      private final E e0;
      private final E e1;
      private final E e2;
      private final E e3;
      private final E e4;
    
      public SampleElements(E e0, E e1, E e2, E e3, E e4) {
        this.e0 = e0;
        this.e1 = e1;
        this.e2 = e2;
        this.e3 = e3;
        this.e4 = e4;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        public WithExceptionalConstructor() {
          throw new RuntimeException();
        }
    
        private WithExceptionalConstructor(String unused) {}
      }
    
      private static class WithPublicConstant {
        public static final WithPublicConstant INSTANCE = new WithPublicConstant();
      }
    
      private static class ParentClassHasConstant extends WithPublicConstant {}
    
      public static class WithGenericConstant<T> {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Suppliers.java

              + ")";
        }
    
        private static final long serialVersionUID = 0;
      }
    
      @VisibleForTesting
      static class NonSerializableMemoizingSupplier<T extends @Nullable Object> implements Supplier<T> {
        @SuppressWarnings("UnnecessaryLambda") // Must be a fixed singleton object
        private static final Supplier<Void> SUCCESSFULLY_COMPUTED =
            () -> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

      }
    
      // TODO(benyu): migrate all subtyping tests from TypeTokenTest to this class using SubtypeTester.
    
      private interface Outdoor {}
    
      private interface Indoor {}
    
      private interface Grocery {}
    
      private interface Electronics {}
    
      private interface ConsumerFacing<T> {}
    
      private static class Mall<T> {
        class Shop<ProductT> {}
    
        abstract class Retailer<ProductT> extends Shop<ProductT>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 20.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

          }
        };
      }
    
      private static <T> ImmutableMultiset<T> multiset(T value, int count) {
        return multiset(ImmutableMap.of(value, count));
      }
    
      private static <T> ImmutableMultiset<T> multiset(T value1, int count1, T value2, int count2) {
        return multiset(ImmutableMap.of(value1, count1, value2, count2));
      }
    
      private static <T> ImmutableMultiset<T> multiset(Map<T, Integer> counts) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

      }
    
      private class CountingSameThreadExecutor implements Executor {
        int runCount = 0;
    
        @Override
        public void execute(Runnable command) {
          command.run();
          runCount++;
        }
      }
    
      private final class MockCallback implements FutureCallback<String> {
        @Nullable private String value = null;
        @Nullable private Throwable failure = null;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/RegularImmutableMultiset.java

      static final RegularImmutableMultiset<Object> EMPTY =
          new RegularImmutableMultiset<>(ObjectCountHashMap.create());
    
      final transient ObjectCountHashMap<E> contents;
      private final transient int size;
    
      @LazyInit @CheckForNull private transient ImmutableSet<E> elementSet;
    
      RegularImmutableMultiset(ObjectCountHashMap<E> contents) {
        this.contents = contents;
        long size = 0;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/LinkedListMultimap.java

          firstNode.nextSibling = null;
          this.count = 1;
        }
      }
    
      @CheckForNull private transient Node<K, V> head; // the head for all keys
      @CheckForNull private transient Node<K, V> tail; // the tail for all keys
      private transient Map<K, KeyList<K, V>> keyToKeyList;
      private transient int size;
    
      /*
       * Tracks modifications to keyToKeyList so that addition or removal of keys invalidates
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 27.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/eventbus/EventBusTest.java

    import junit.framework.TestCase;
    
    /**
     * Test case for {@link EventBus}.
     *
     * @author Cliff Biffle
     */
    public class EventBusTest extends TestCase {
      private static final String EVENT = "Hello";
      private static final String BUS_IDENTIFIER = "test-bus";
    
      private EventBus bus;
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
        bus = new EventBus(BUS_IDENTIFIER);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
Back to top