Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 95 for doDifference (0.07 sec)

  1. android/guava/src/com/google/common/collect/Maps.java

          SortedMap<K, ? extends V> sortedLeft = (SortedMap<K, ? extends V>) left;
          return difference(sortedLeft, right);
        }
        return difference(left, right, Equivalence.equals());
      }
    
      /**
       * Computes the difference between two maps. This difference is an immutable snapshot of the state
       * of the maps at the time this method is called. It will never change, even if the maps change at
       * a later time.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Maps.java

          SortedMap<K, ? extends V> sortedLeft = (SortedMap<K, ? extends V>) left;
          return difference(sortedLeft, right);
        }
        return difference(left, right, Equivalence.equals());
      }
    
      /**
       * Computes the difference between two maps. This difference is an immutable snapshot of the state
       * of the maps at the time this method is called. It will never change, even if the maps change at
       * a later time.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/SetOperationsTest.java

        Set<String> enemies = newHashSet("Dick", "Harry", "Tom");
    
        Set<String> goodFriends = Sets.difference(friends, enemies);
        assertEquals(2, goodFriends.size());
    
        ImmutableSet<String> immut = Sets.difference(friends, enemies).immutableCopy();
        HashSet<String> mut = Sets.difference(friends, enemies).copyInto(new HashSet<String>());
    
        enemies.add("Dave");
        assertEquals(1, goodFriends.size());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  4. internal/config/lambda/event/targetidset.go

    func (set TargetIDSet) Union(sset TargetIDSet) TargetIDSet {
    	nset := set.Clone()
    
    	for k := range sset {
    		nset.add(k)
    	}
    
    	return nset
    }
    
    // Difference - returns difference with given set as new set.
    func (set TargetIDSet) Difference(sset TargetIDSet) TargetIDSet {
    	nset := NewTargetIDSet()
    	for k := range set {
    		if _, ok := sset[k]; !ok {
    			nset.add(k)
    		}
    	}
    
    	return nset
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/SetOperationsTest.java

        Set<String> enemies = newHashSet("Dick", "Harry", "Tom");
    
        Set<String> goodFriends = Sets.difference(friends, enemies);
        assertEquals(2, goodFriends.size());
    
        ImmutableSet<String> immut = Sets.difference(friends, enemies).immutableCopy();
        HashSet<String> mut = Sets.difference(friends, enemies).copyInto(new HashSet<String>());
    
        enemies.add("Dave");
        assertEquals(1, goodFriends.size());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  6. pom.xml

    						</difference>
    						<difference>
    							<className>jcifs/Configuration</className>
    							<differenceType>7012</differenceType>
    							<method>java.lang.String getGuestPassword()</method>
    						</difference>
    						<difference>
    							<className>jcifs/SmbResource</className>
    							<differenceType>7012</differenceType>
    							<method>void setFileTimes(long, long, long)</method>
    						</difference>
    					</ignored>
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Sep 26 04:40:32 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. internal/event/rules.go

    		nrules[pattern] = nrules[pattern].Union(targetIDSet)
    	}
    
    	return nrules
    }
    
    // Difference - returns difference with given rules as new rules.
    func (rules Rules) Difference(rules2 Rules) Rules {
    	nrules := make(Rules)
    
    	for pattern, targetIDSet := range rules {
    		if nv := targetIDSet.Difference(rules2[pattern]); len(nv) > 0 {
    			nrules[pattern] = nv
    		}
    	}
    
    	return nrules
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. internal/event/targetidset.go

    func (set TargetIDSet) Union(sset TargetIDSet) TargetIDSet {
    	nset := set.Clone()
    
    	for k := range sset {
    		nset.add(k)
    	}
    
    	return nset
    }
    
    // Difference - returns difference with given set as new set.
    func (set TargetIDSet) Difference(sset TargetIDSet) TargetIDSet {
    	nset := NewTargetIDSet()
    	for k := range set {
    		if _, ok := sset[k]; !ok {
    			nset.add(k)
    		}
    	}
    
    	return nset
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Predicates.not;
    import static com.google.common.collect.Multisets.difference;
    import static com.google.common.collect.Multisets.intersection;
    import static com.google.common.collect.Multisets.sum;
    import static com.google.common.collect.Multisets.union;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Predicates.not;
    import static com.google.common.collect.Multisets.difference;
    import static com.google.common.collect.Multisets.intersection;
    import static com.google.common.collect.Multisets.sum;
    import static com.google.common.collect.Multisets.union;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top