Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for WrappedSet (0.22 sec)

  1. android/guava-tests/test/com/google/common/graph/InvalidatableSetTest.java

    public final class InvalidatableSetTest {
      Set<Integer> wrappedSet;
      Set<Integer> copyOfWrappedSet;
      InvalidatableSet<Integer> setToTest;
    
      @Before
      public void createSets() {
        wrappedSet = new HashSet<>();
        wrappedSet.add(1);
        wrappedSet.add(2);
        wrappedSet.add(3);
    
        copyOfWrappedSet = ImmutableSet.copyOf(wrappedSet);
        setToTest =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/InvalidatableSetTest.java

    public final class InvalidatableSetTest {
      Set<Integer> wrappedSet;
      Set<Integer> copyOfWrappedSet;
      InvalidatableSet<Integer> setToTest;
    
      @Before
      public void createSets() {
        wrappedSet = new HashSet<>();
        wrappedSet.add(1);
        wrappedSet.add(2);
        wrappedSet.add(3);
    
        copyOfWrappedSet = ImmutableSet.copyOf(wrappedSet);
        setToTest =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/AbstractSetMultimap.java

          Collection<E> collection) {
        return unmodifiableSet((Set<E>) collection);
      }
    
      @Override
      Collection<V> wrapCollection(@ParametricNullness K key, Collection<V> collection) {
        return new WrappedSet(key, (Set<V>) collection);
      }
    
      // Following Javadoc copied from SetMultimap.
    
      /**
       * {@inheritDoc}
       *
       * <p>Because a {@code SetMultimap} has unique values for a given key, this method returns a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/AbstractSetMultimap.java

          Collection<E> collection) {
        return unmodifiableSet((Set<E>) collection);
      }
    
      @Override
      Collection<V> wrapCollection(@ParametricNullness K key, Collection<V> collection) {
        return new WrappedSet(key, (Set<V>) collection);
      }
    
      // Following Javadoc copied from SetMultimap.
    
      /**
       * {@inheritDoc}
       *
       * <p>Because a {@code SetMultimap} has unique values for a given key, this method returns a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Multimaps.java

          } else if (collection instanceof SortedSet) {
            return new WrappedSortedSet(key, (SortedSet<V>) collection, null);
          } else if (collection instanceof Set) {
            return new WrappedSet(key, (Set<V>) collection);
          } else {
            return new WrappedCollection(key, collection, null);
          }
        }
    
        // can't use Serialization writeMultimap and populateMultimap methods since
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 86.3K bytes
    - Viewed (0)
Back to top