Home | History | Annotate | Download | only in collect

Lines Matching defs:ancestor

376       @Nullable K key, List<V> list, @Nullable WrappedCollection ancestor) {
378 ? new RandomAccessWrappedList(key, list, ancestor)
379 : new WrappedList(key, list, ancestor);
387 * <p>Full collections, identified by a null ancestor field, contain all
394 * given key. Its ancestor field points to the full wrapped collection with
402 final WrappedCollection ancestor;
406 @Nullable WrappedCollection ancestor) {
409 this.ancestor = ancestor;
411 = (ancestor == null) ? null : ancestor.getDelegate();
418 * <p>For a subcollection, refresh its ancestor and validate that the
419 * ancestor delegate hasn't changed.
422 if (ancestor != null) {
423 ancestor.refreshIfEmpty();
424 if (ancestor.getDelegate() != ancestorDelegate) {
437 * For subcollections, check whether the ancestor collection is empty.
440 if (ancestor != null) {
441 ancestor.removeIfEmpty();
456 * <p>Subcollection add the ancestor's delegate instead.
459 if (ancestor != null) {
460 ancestor.addToMap();
561 return ancestor;
658 @Nullable WrappedCollection ancestor) {
659 super(key, delegate, ancestor);
711 @Nullable WrappedCollection ancestor) {
712 super(key, delegate, ancestor);
857 @Nullable WrappedCollection ancestor) {
858 super(key, delegate, ancestor);