Home
last modified time | relevance | path

Searched refs:firstEntry (Results 1 – 25 of 77) sorted by relevance

1234

/external/guava/android/guava/src/com/google/common/collect/
DObjectCountLinkedHashMap.java63 private transient int firstEntry; field in ObjectCountLinkedHashMap
90 firstEntry = ENDPOINT; in init()
98 return (firstEntry == ENDPOINT) ? -1 : firstEntry; in firstIndex()
132 firstEntry = succ; in setSucceeds()
172 this.firstEntry = ENDPOINT; in clear()
DCompactLinkedHashMap.java83 private transient int firstEntry; field in CompactLinkedHashMap
106 this.firstEntry = ENDPOINT; in init()
151 firstEntry = succ; in setSucceeds()
203 return firstEntry; in firstEntryIndex()
216 this.firstEntry = ENDPOINT; in clear()
DCompactLinkedHashSet.java115 private transient int firstEntry; field in CompactLinkedHashSet
131 this.firstEntry = ENDPOINT; in init()
171 firstEntry = succ; in setSucceeds()
213 return firstEntry; in firstEntryIndex()
236 this.firstEntry = ENDPOINT; in clear()
DAbstractNavigableMap.java44 public Entry<K, V> firstEntry() { in firstEntry() method in AbstractNavigableMap
68 Entry<K, V> entry = firstEntry(); in firstKey()
101 return tailMap(key, true).firstEntry(); in ceilingEntry()
107 return tailMap(key, false).firstEntry(); in higherEntry()
DForwardingNavigableMap.java133 return tailMap(key, true).firstEntry(); in standardCeilingEntry()
161 return tailMap(key, false).firstEntry(); in standardHigherEntry()
179 public Entry<K, V> firstEntry() { in firstEntry() method in ForwardingNavigableMap
180 return delegate().firstEntry(); in firstEntry()
198 Entry<K, V> entry = firstEntry(); in standardFirstKey()
DLinkedHashMultimap.java324 private ValueSetLink<K, V> firstEntry; field in LinkedHashMultimap.ValueSet
329 this.firstEntry = this; in ValueSet()
350 return firstEntry; in getSuccessorInValueSet()
360 firstEntry = entry; in setSuccessorInValueSet()
366 ValueSetLink<K, V> nextEntry = firstEntry; in iterator()
452 for (ValueSetLink<K, V> entry = firstEntry; in rehashIfNecessary()
493 for (ValueSetLink<K, V> entry = firstEntry; in clear()
DDescendingImmutableSortedMultiset.java40 public Entry<E> firstEntry() { in firstEntry() method in DescendingImmutableSortedMultiset
46 return forward.firstEntry(); in lastEntry()
DSortedMultisets.java82 return getElementOrThrow(multiset().firstEntry()); in first()
110 return getElementOrNull(multiset().tailMultiset(e, CLOSED).firstEntry()); in ceiling()
115 return getElementOrNull(multiset().tailMultiset(e, OPEN).firstEntry()); in higher()
DUnmodifiableSortedMultiset.java73 public Entry<E> firstEntry() { in firstEntry() method in UnmodifiableSortedMultiset
74 return delegate().firstEntry(); in firstEntry()
/external/proguard/src/proguard/gui/
DClassPathPanel.java267 ClassPathEntry firstEntry = (ClassPathEntry)listModel.get(index); in getFiltersFrom() local
269 filterDialog.setFilter(firstEntry.getFilter()); in getFiltersFrom()
270 filterDialog.setApkFilter(firstEntry.getApkFilter()); in getFiltersFrom()
271 filterDialog.setJarFilter(firstEntry.getJarFilter()); in getFiltersFrom()
272 filterDialog.setAarFilter(firstEntry.getAarFilter()); in getFiltersFrom()
273 filterDialog.setWarFilter(firstEntry.getWarFilter()); in getFiltersFrom()
274 filterDialog.setEarFilter(firstEntry.getEarFilter()); in getFiltersFrom()
275 filterDialog.setZipFilter(firstEntry.getZipFilter()); in getFiltersFrom()
/external/guava/guava/src/com/google/common/collect/
DCompactLinkedHashSet.java117 private transient int firstEntry; field in CompactLinkedHashSet
133 this.firstEntry = ENDPOINT; in init()
173 firstEntry = succ; in setSucceeds()
215 return firstEntry; in firstEntryIndex()
243 this.firstEntry = ENDPOINT; in clear()
DCompactLinkedHashMap.java88 private transient int firstEntry; field in CompactLinkedHashMap
111 this.firstEntry = ENDPOINT; in init()
156 firstEntry = succ; in setSucceeds()
208 return firstEntry; in firstEntryIndex()
277 this.firstEntry = ENDPOINT; in clear()
DAbstractNavigableMap.java42 public @Nullable Entry<K, V> firstEntry() { in firstEntry() method in AbstractNavigableMap
63 Entry<K, V> entry = firstEntry(); in firstKey()
93 return tailMap(key, true).firstEntry(); in ceilingEntry()
98 return tailMap(key, false).firstEntry(); in higherEntry()
DForwardingNavigableMap.java134 return tailMap(key, true).firstEntry(); in standardCeilingEntry()
162 return tailMap(key, false).firstEntry(); in standardHigherEntry()
180 public Entry<K, V> firstEntry() { in firstEntry() method in ForwardingNavigableMap
181 return delegate().firstEntry(); in firstEntry()
199 Entry<K, V> entry = firstEntry(); in standardFirstKey()
DLinkedHashMultimap.java328 private ValueSetLink<K, V> firstEntry; field in LinkedHashMultimap.ValueSet
333 this.firstEntry = this; in ValueSet()
354 return firstEntry; in getSuccessorInValueSet()
364 firstEntry = entry; in setSuccessorInValueSet()
370 ValueSetLink<K, V> nextEntry = firstEntry; in iterator()
412 for (ValueSetLink<K, V> entry = firstEntry; in forEach()
466 for (ValueSetLink<K, V> entry = firstEntry; in rehashIfNecessary()
507 for (ValueSetLink<K, V> entry = firstEntry; in clear()
DDescendingImmutableSortedMultiset.java40 public Entry<E> firstEntry() { in firstEntry() method in DescendingImmutableSortedMultiset
46 return forward.firstEntry(); in lastEntry()
DSortedMultisets.java82 return getElementOrThrow(multiset().firstEntry()); in first()
110 return getElementOrNull(multiset().tailMultiset(e, CLOSED).firstEntry()); in ceiling()
115 return getElementOrNull(multiset().tailMultiset(e, OPEN).firstEntry()); in higher()
DUnmodifiableSortedMultiset.java73 public Entry<E> firstEntry() { in firstEntry() method in UnmodifiableSortedMultiset
74 return delegate().firstEntry(); in firstEntry()
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/
DSortedMapInterfaceTest.java69 Entry<K, V> firstEntry = iterator.next(); in testTailMapWriteThrough() local
78 subMap.put(firstEntry.getKey(), value); in testTailMapWriteThrough()
96 Entry<K, V> firstEntry = iterator.next(); in testTailMapRemoveThrough() local
101 assertNull(subMap.remove(firstEntry.getKey())); in testTailMapRemoveThrough()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/metadata/dvbsi/
DAppInfoTableDecoderTest.java46 Metadata.Entry firstEntry = metadata.get(0); in decode_typical() local
47 assertThat(firstEntry).isInstanceOf(AppInfoTable.class); in decode_typical()
48 assertThat(((AppInfoTable) firstEntry).controlCode) in decode_typical()
50 assertThat(((AppInfoTable) firstEntry).url).isEqualTo("http://example.com/path/foo"); in decode_typical()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DSortedMapInterfaceTest.java69 Entry<K, V> firstEntry = iterator.next(); in testTailMapWriteThrough() local
78 subMap.put(firstEntry.getKey(), value); in testTailMapWriteThrough()
96 Entry<K, V> firstEntry = iterator.next(); in testTailMapRemoveThrough() local
101 assertNull(subMap.remove(firstEntry.getKey())); in testTailMapRemoveThrough()
/external/proguard/src/proguard/
DConfigurationChecker.java63 ClassPathEntry firstEntry = programJars.get(0); in check() local
64 if (firstEntry.isOutput()) in check()
66 throw new IOException("The output jar [" + firstEntry.getName() + in check()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DUnmodifiableSortedMultiset.java69 public Entry<E> firstEntry() { in firstEntry() method in UnmodifiableSortedMultiset
70 return delegate().firstEntry(); in firstEntry()
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DMultisetNavigationTester.java94 assertNull(sortedMultiset.firstEntry()); in testEmptyMultisetFirst()
112 assertNull(sortedMultiset.tailMultiset(e0(), type).firstEntry()); in testEmptyMultisetNearby()
134 assertEquals(a, sortedMultiset.firstEntry()); in testSingletonMultisetFirst()
150 assertEquals(a, sortedMultiset.tailMultiset(e0(), CLOSED).firstEntry()); in testSingletonMultisetNearby()
167 assertEquals(a, sortedMultiset.firstEntry()); in testFirst()
207 assertEquals(a, sortedMultiset.tailMultiset(a.getElement(), CLOSED).firstEntry()); in testCeiling()
208 assertEquals(c, sortedMultiset.tailMultiset(b.getElement(), CLOSED).firstEntry()); in testCeiling()
209 assertEquals(c, sortedMultiset.tailMultiset(c.getElement(), CLOSED).firstEntry()); in testCeiling()
215 assertEquals(c, sortedMultiset.tailMultiset(a.getElement(), OPEN).firstEntry()); in testHigher()
216 assertEquals(c, sortedMultiset.tailMultiset(b.getElement(), OPEN).firstEntry()); in testHigher()
[all …]
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/google/
DMultisetNavigationTester.java94 assertNull(sortedMultiset.firstEntry()); in testEmptyMultisetFirst()
112 assertNull(sortedMultiset.tailMultiset(e0(), type).firstEntry()); in testEmptyMultisetNearby()
134 assertEquals(a, sortedMultiset.firstEntry()); in testSingletonMultisetFirst()
150 assertEquals(a, sortedMultiset.tailMultiset(e0(), CLOSED).firstEntry()); in testSingletonMultisetNearby()
167 assertEquals(a, sortedMultiset.firstEntry()); in testFirst()
207 assertEquals(a, sortedMultiset.tailMultiset(a.getElement(), CLOSED).firstEntry()); in testCeiling()
208 assertEquals(c, sortedMultiset.tailMultiset(b.getElement(), CLOSED).firstEntry()); in testCeiling()
209 assertEquals(c, sortedMultiset.tailMultiset(c.getElement(), CLOSED).firstEntry()); in testCeiling()
215 assertEquals(c, sortedMultiset.tailMultiset(a.getElement(), OPEN).firstEntry()); in testHigher()
216 assertEquals(c, sortedMultiset.tailMultiset(b.getElement(), OPEN).firstEntry()); in testHigher()
[all …]

1234