Searched refs:mElements (Results 1 – 5 of 5) sorted by relevance
167 private TreeMap<Long, Pinnable<E>> mElements; field in ConcurrentSharedRingBuffer189 mElements = new TreeMap<Long, Pinnable<E>>(); in ConcurrentSharedRingBuffer()237 existingElement = mElements.get(newKey); in swapLeast()256 mElements.put(newKey, p); in swapLeast()304 mElements.remove(toSwapEntry.first); in swapLeast()315 mElements.put(newKey, toSwap); in swapLeast()342 if (mElements.isEmpty()) { in tryPin()346 entry = mElements.get(key); in tryPin()384 Pinnable<E> element = mElements.get(key); in release()428 if (mElements.isEmpty()) { in tryPinGreatest()[all …]
31 private final ArrayDeque<T> mElements; field in SlidingWindow37 mElements = new ArrayDeque<>(mMaxSize); in SlidingWindow()42 if (mElements.size() == mMaxSize) { in add()43 mElements.removeFirst(); in add()45 mElements.addLast(sample); in add()55 return mElements.iterator(); in iterator()60 return mElements.stream(); in stream()65 return mElements.size(); in size()
88 Elements mElements; field in SafeParcelProcessor159 PackageElement parcelablePackage = mElements.getPackageOf(parcelableClass); in ParcelableClass()197 mElements = processingEnv.getElementUtils(); in init()202 mStringType = mElements.getTypeElement("java.lang.String").asType(); in init()203 mListType = mElements.getTypeElement("java.util.List").asType(); in init()204 mArrayListType = mElements.getTypeElement("java.util.ArrayList").asType(); in init()205 mSetType = mElements.getTypeElement("java.util.Set").asType(); in init()206 mHashSetType = mElements.getTypeElement("java.util.HashSet").asType(); in init()207 mBigIntegerType = mElements.getTypeElement("java.math.BigInteger").asType(); in init()208 mBigDecimalType = mElements.getTypeElement("java.math.BigDecimal").asType(); in init()[all …]
54 private final Map<Constants.ANQPElementType, ANQPElement> mElements; field in AnqpEvent58 mElements = elements; in AnqpEvent()72 return mElements; in getElements()
43 private final SparseArray<T> mElements = new SparseArray<>(); field in DiagnosticEventBuilder.DefaultedArray62 mElements.put(index, element); in set()68 return mElements.get(index, mDefaultValue); in get()76 mElements.clear(); in clear()