/external/guava/guava-tests/test/com/google/common/collect/ |
FilteredMultimapTest.java | 44 Multimap<String, Integer> unfiltered = HashMultimap.create(); local 45 unfiltered.put("foo", 55556); 46 unfiltered.put("badkey", 1); 47 return Multimaps.filterEntries(unfiltered, ENTRY_PREDICATE); 58 Multimap<String, Integer> unfiltered = HashMultimap.create(); local 59 unfiltered.put("foo", 55556); 60 unfiltered.put("badkey", 1); 61 Multimap<String, Integer> filtered = Multimaps.filterKeys(unfiltered, KEY_PREDICATE); 74 Multimap<String, Integer> unfiltered = HashMultimap.create(); local 75 unfiltered.put("foo", 55556) 84 Multimap<String, Integer> unfiltered = HashMultimap.create(); local [all...] |
MultimapsFilterEntriesAsMapTest.java | 46 Multimap<String, Integer> unfiltered = HashMultimap.create(); local 47 unfiltered.put("zero", 55556); 48 unfiltered.put("one", 55556); 49 unfiltered.put("badkey", 1); 50 return Multimaps.filterEntries(unfiltered, PREDICATE);
|
Collections2Test.java | 93 List<String> unfiltered = newArrayList(); 94 unfiltered.add("yyy"); 95 Collections.addAll(unfiltered, elements); 96 unfiltered.add("zzz"); 97 return Collections2.filter(unfiltered, NOT_YYY_ZZZ); 115 List<String> unfiltered = newArrayList(); 116 Collections.addAll(unfiltered, elements); 117 return Collections2.filter(unfiltered, NOT_YYY_ZZZ); 135 List<String> unfiltered = newLinkedList(); 136 unfiltered.add("yyy") [all...] |
FilteredCollectionsTest.java | 76 C unfiltered = createUnfiltered(contents); local 77 C filtered = filter(unfiltered, EVEN); 80 for (Integer i : unfiltered) { 96 C unfiltered = createUnfiltered(contents); local 97 C filterThenAdd = filter(unfiltered, EVEN); 98 unfiltered.add(4); 166 C unfiltered = createUnfiltered(contents); local 167 C filtered1 = filter(unfiltered, EVEN); 186 C unfiltered = createUnfiltered(contents); local 187 C filtered1 = filter(unfiltered, EVEN) 329 NavigableSet<Integer> unfiltered = createUnfiltered(filtered); local 338 NavigableSet<Integer> unfiltered = createUnfiltered(filtered); local 348 NavigableSet<Integer> unfiltered = createUnfiltered(filtered); local 358 NavigableSet<Integer> unfiltered = createUnfiltered(filtered); local [all...] |
MapsTest.java | 1349 Map<String, Integer> unfiltered = createUnfiltered(); local 1362 Map<String, Integer> unfiltered = createUnfiltered(); local 1377 Map<String, Integer> unfiltered = createUnfiltered(); local 1390 assertEquals(ImmutableMap.of(), unfiltered); local 1395 Map<String, Integer> unfiltered = createUnfiltered(); local 1410 Map<String, Integer> unfiltered = createUnfiltered(); local 1425 Map<String, Integer> unfiltered = createUnfiltered(); local 1441 Map<String, Integer> unfiltered = createUnfiltered(); local 1457 Map<String, Integer> unfiltered = createUnfiltered(); local 1476 Map<String, Integer> unfiltered = createUnfiltered(); local 1495 Map<String, Integer> unfiltered = createUnfiltered(); local 1506 Map<String, Integer> unfiltered = createUnfiltered(); local 1548 SortedMap<String, Integer> unfiltered = createUnfiltered(); local 1560 SortedMap<String, Integer> unfiltered = createUnfiltered(); local [all...] |
SetsTest.java | 213 Set<String> unfiltered = Sets.newLinkedHashSet(); 214 unfiltered.add("yyy"); 215 Collections.addAll(unfiltered, elements); 216 unfiltered.add("zzz"); 217 return Sets.filter(unfiltered, Collections2Test.NOT_YYY_ZZZ); 235 Set<String> unfiltered = Sets.newLinkedHashSet(); 236 unfiltered.add("yyy"); 237 unfiltered.addAll(ImmutableList.copyOf(elements)); 238 unfiltered.add("zzz"); 239 return Sets.filter(unfiltered, Collections2Test.LENGTH_1) [all...] |
/external/lzma/Java/Tukaani/src/org/tukaani/xz/ |
SimpleInputStream.java | 25 private int unfiltered = 0; field in class:SimpleInputStream 83 if (pos + filtered + unfiltered == FILTER_BUF_SIZE) { 85 filtered + unfiltered); 95 int inSize = FILTER_BUF_SIZE - (pos + filtered + unfiltered); 96 inSize = in.read(filterBuf, pos + filtered + unfiltered, 100 // Mark the remaining unfiltered bytes to be ready 103 filtered = unfiltered; 104 unfiltered = 0; 107 unfiltered += inSize; 108 filtered = simpleFilter.code(filterBuf, pos, unfiltered); [all...] |
SimpleOutputStream.java | 23 private int unfiltered = 0; field in class:SimpleOutputStream 59 // Copy more unfiltered data into filterBuf. 60 int copySize = Math.min(len, FILTER_BUF_SIZE - (pos + unfiltered)); 61 System.arraycopy(buf, off, filterBuf, pos + unfiltered, copySize); 64 unfiltered += copySize; 67 int filtered = simpleFilter.code(filterBuf, pos, unfiltered); 68 assert filtered <= unfiltered; 69 unfiltered -= filtered; 81 // If end of filterBuf was reached, move the pending unfiltered 84 if (pos + unfiltered == FILTER_BUF_SIZE) [all...] |
/external/guava/guava/src/com/google/common/collect/ |
FilteredEntrySetMultimap.java | 34 FilteredEntrySetMultimap(SetMultimap<K, V> unfiltered, Predicate<? super Entry<K, V>> predicate) { 35 super(unfiltered, predicate); 39 public SetMultimap<K, V> unfiltered() { method in class:FilteredEntrySetMultimap 40 return (SetMultimap<K, V>) unfiltered; 60 return Sets.filter(unfiltered().entries(), entryPredicate());
|
FilteredKeyMultimap.java | 40 final Multimap<K, V> unfiltered; field in class:FilteredKeyMultimap 43 FilteredKeyMultimap(Multimap<K, V> unfiltered, Predicate<? super K> keyPredicate) { 44 this.unfiltered = checkNotNull(unfiltered); 49 public Multimap<K, V> unfiltered() { method in class:FilteredKeyMultimap 50 return unfiltered; 69 if (unfiltered.containsKey(key)) { 79 return containsKey(key) ? unfiltered.removeAll(key) : unmodifiableEmptyCollection(); 83 if (unfiltered instanceof SetMultimap) { 97 return Sets.filter(unfiltered.keySet(), keyPredicate) [all...] |
FilteredKeyListMultimap.java | 34 FilteredKeyListMultimap(ListMultimap<K, V> unfiltered, Predicate<? super K> keyPredicate) { 35 super(unfiltered, keyPredicate); 39 public ListMultimap<K, V> unfiltered() { method in class:FilteredKeyListMultimap 40 return (ListMultimap<K, V>) super.unfiltered();
|
FilteredKeySetMultimap.java | 36 FilteredKeySetMultimap(SetMultimap<K, V> unfiltered, Predicate<? super K> keyPredicate) { 37 super(unfiltered, keyPredicate); 41 public SetMultimap<K, V> unfiltered() { method in class:FilteredKeySetMultimap 42 return (SetMultimap<K, V>) unfiltered;
|
FilteredSetMultimap.java | 29 SetMultimap<K, V> unfiltered(); method in interface:FilteredSetMultimap
|
FilteredMultimap.java | 31 Multimap<K, V> unfiltered(); method in interface:FilteredMultimap
|
Collections2.java | 60 * Returns the elements of {@code unfiltered} that satisfy a predicate. The 61 * returned collection is a live view of {@code unfiltered}; changes to one 73 * {@code unfiltered} is. 78 * it may be faster to copy {@code Iterables.filter(unfiltered, predicate)} 90 Collection<E> unfiltered, Predicate<? super E> predicate) { 91 if (unfiltered instanceof FilteredCollection) { 94 return ((FilteredCollection<E>) unfiltered).createCombined(predicate); 98 checkNotNull(unfiltered), checkNotNull(predicate)); 135 final Collection<E> unfiltered; field in class:Collections2.FilteredCollection 138 FilteredCollection(Collection<E> unfiltered, [all...] |
Sets.java | 719 * Returns the elements of {@code unfiltered} that satisfy a predicate. The 720 * returned set is a live view of {@code unfiltered}; changes to one affect 731 * {@code unfiltered} is. 736 * to copy {@code Iterables.filter(unfiltered, predicate)} and use the copy. 746 Set<E> unfiltered, Predicate<? super E> predicate) { 747 if (unfiltered instanceof SortedSet) { 748 return filter((SortedSet<E>) unfiltered, predicate); 750 if (unfiltered instanceof FilteredSet) { 753 FilteredSet<E> filtered = (FilteredSet<E>) unfiltered; 757 (Set<E>) filtered.unfiltered, combinedPredicate) [all...] |
FilteredEntryMultimap.java | 47 final Multimap<K, V> unfiltered; field in class:FilteredEntryMultimap 50 FilteredEntryMultimap(Multimap<K, V> unfiltered, Predicate<? super Entry<K, V>> predicate) { 51 this.unfiltered = checkNotNull(unfiltered); 56 public Multimap<K, V> unfiltered() { method in class:FilteredEntryMultimap 57 return unfiltered; 109 return (unfiltered instanceof SetMultimap) 121 return filterCollection(unfiltered.get(key), new ValuePredicate(key)); 126 return filterCollection(unfiltered.entries(), predicate); 150 Iterator<Entry<K, Collection<V>>> entryIterator = unfiltered.asMap().entrySet().iterator() [all...] |
FilteredMultimapValues.java | 63 for (Iterator<Entry<K, V>> unfilteredItr = multimap.unfiltered().entries().iterator(); 76 return Iterables.removeIf(multimap.unfiltered().entries(), 84 return Iterables.removeIf(multimap.unfiltered().entries(),
|
Maps.java | [all...] |
Multimaps.java | [all...] |
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
MapsTest.java | 1041 Map<String, Integer> unfiltered = createUnfiltered(); local 1054 Map<String, Integer> unfiltered = createUnfiltered(); local 1069 Map<String, Integer> unfiltered = createUnfiltered(); local 1082 assertEquals(ImmutableMap.of(), unfiltered); local 1087 Map<String, Integer> unfiltered = createUnfiltered(); local 1102 Map<String, Integer> unfiltered = createUnfiltered(); local 1117 Map<String, Integer> unfiltered = createUnfiltered(); local 1133 Map<String, Integer> unfiltered = createUnfiltered(); local 1149 Map<String, Integer> unfiltered = createUnfiltered(); local 1168 Map<String, Integer> unfiltered = createUnfiltered(); local 1187 Map<String, Integer> unfiltered = createUnfiltered(); local 1198 Map<String, Integer> unfiltered = createUnfiltered(); local 1240 SortedMap<String, Integer> unfiltered = createUnfiltered(); local 1252 SortedMap<String, Integer> unfiltered = createUnfiltered(); local [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
Maps.java | [all...] |
Multimaps.java | [all...] |
Platform.java | 135 SortedSet<E> unfiltered, Predicate<? super E> predicate) { 136 return Sets.filterSortedIgnoreNavigable(unfiltered, predicate); 140 SortedMap<K, V> unfiltered, Predicate<? super Map.Entry<K, V>> predicate) { 141 return Maps.filterSortedIgnoreNavigable(unfiltered, predicate);
|
Sets.java | 683 * Returns the elements of {@code unfiltered} that satisfy a predicate. The 684 * returned set is a live view of {@code unfiltered}; changes to one affect 695 * {@code unfiltered} is. 700 * to copy {@code Iterables.filter(unfiltered, predicate)} and use the copy. 710 Set<E> unfiltered, Predicate<? super E> predicate) { 711 if (unfiltered instanceof SortedSet) { 712 return filter((SortedSet<E>) unfiltered, predicate); 714 if (unfiltered instanceof FilteredSet) { 717 FilteredSet<E> filtered = (FilteredSet<E>) unfiltered; 721 (Set<E>) filtered.unfiltered, combinedPredicate) [all...] |