All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sf.mmm.code.api.node.CodeNodeItemContainerFlatWithName Maven / Gradle / Ivy

There is a newer version: 1.0.0-beta7
Show newest version
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0
 * http://www.apache.org/licenses/LICENSE-2.0 */
package net.sf.mmm.code.api.node;

import net.sf.mmm.code.api.item.CodeItem;
import net.sf.mmm.code.api.item.CodeItemWithName;

/**
 * {@link CodeNodeItemContainerHierarchical} containing {@link CodeItemWithName#getName() named}
 * {@link CodeItem}s of a particular type.
 *
 * @author Joerg Hohwiller (hohwille at users.sourceforge.net)
 * @param  the type of the contained {@link CodeItem}s.
 * @since 1.0.0
 */
public abstract interface CodeNodeItemContainerFlatWithName extends CodeNodeItemContainerFlat, CodeNodeItemContainerWithName {

  @Override
  default I get(String name) {

    return getDeclared(name);
  }

  @Override
  CodeNodeItemContainerFlatWithName copy();

}