Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for sein (0.23 sec)

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

          for (Entry<E> entry : insertionOrder) {
            map.put(entry.getElement(), entry);
          }
    
          Set<E> seen = new HashSet<>();
          List<Entry<E>> order = new ArrayList<>();
          for (E e : gen.order(new ArrayList<E>(map.keySet()))) {
            if (seen.add(e)) {
              order.add(map.get(e));
            }
          }
          return order;
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/StandardTable.java

          while (true) {
            if (entryIterator.hasNext()) {
              Entry<C, V> entry = entryIterator.next();
              if (!seen.containsKey(entry.getKey())) {
                seen.put(entry.getKey(), entry.getValue());
                return entry.getKey();
              }
            } else if (mapIterator.hasNext()) {
              entryIterator = mapIterator.next().entrySet().iterator();
            } else {
              return endOfData();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 29.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/CompactHashMap.java

      // the "short hash".
      //
      // The `keys`, `values`, and `entries` arrays always have the same size as each other. They can be
      // seen as fields of an imaginary `Entry` object like this:
      //
      // class Entry {
      //    int hash;
      //    Entry next;
      //    K key;
      //    V value;
      // }
      //
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 39.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        for (int i = 0; i < nSeededEntries; i++) {
          assertEquals("b" + i, removalNotifications.get("b" + i));
        }
    
        // Each of the values added to the map should either still be there, or have seen a removal
        // notification.
        assertEquals(expectedKeys, Sets.union(cache.asMap().keySet(), removalNotifications.keySet()));
        assertTrue(Sets.intersection(cache.asMap().keySet(), removalNotifications.keySet()).isEmpty());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

            return;
          }
          // Otherwise, it's the first time seeing this lock relationship. Look for
          // a path from the acquiredLock to this.
          Set<LockGraphNode> seen = Sets.newIdentityHashSet();
          ExampleStackTrace path = acquiredLock.findPathTo(this, seen);
    
          if (path == null) {
            // this can be safely acquired after the acquiredLock.
            //
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    like that curious song about the whiting!'
    
      `Oh, as to the whiting,' said the Mock Turtle, `they--you've
    seen them, of course?'
    
      `Yes,' said Alice, `I've often seen them at dinn--' she
    checked herself hastily.
    
      `I don't know where Dinn may be,' said the Mock Turtle, `but
    if you've seen them so often, of course you know what they're
    like.'
    
      `I believe so,' Alice replied thoughtfully.  `They have their
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

       *
       * <p>This class is accessible but not supported in GWT as it references {@link
       * PermittedMetaException}.
       */
      protected final class MultiExceptionListIterator implements ListIterator<E> {
        // TODO: track seen elements when order isn't guaranteed
        // TODO: verify contents afterward
        // TODO: something shiny and new instead of Stack
        // TODO: test whether null is supported (create a Feature)
        /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/HashBiMap.java

          /*
           * If the entry has been removed from the map, we return null, even though that might not be a
           * valid value. That's the best we can do, short of holding a reference to the most recently
           * seen value. And while we *could* do that, we aren't required to: Map.Entry explicitly says
           * that behavior is undefined when the backing map is modified through another API. (It even
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 36.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/CharStreamsTest.java

            new LineProcessor<Integer>() {
              int seen;
    
              @Override
              public boolean processLine(String line) {
                seen++;
                sb.append(line);
                return seen < 2;
              }
    
              @Override
              public Integer getResult() {
                return seen;
              }
            };
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

            new LineProcessor<Integer>() {
              int seen;
    
              @Override
              public boolean processLine(String line) {
                seen++;
                sb.append(line);
                return seen < 2;
              }
    
              @Override
              public Integer getResult() {
                return seen;
              }
            };
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
Back to top