summaryrefslogtreecommitdiff
path: root/base/src/main/java/bjc/utils/components/IComponentRepository.java
diff options
context:
space:
mode:
authorbjculkin <bjculkin@mix.wvu.edu>2018-02-12 22:45:04 -0500
committerbjculkin <bjculkin@mix.wvu.edu>2018-02-12 22:45:04 -0500
commitdf94066e3af02ff02d5ab4d033a3d603f743234c (patch)
tree168a1edaf58d386c175ffb601e9d4da8e13d31e2 /base/src/main/java/bjc/utils/components/IComponentRepository.java
parentae51c587c53f7ca311e556e3cbd0c5566d6c2843 (diff)
Formatting pass
Diffstat (limited to 'base/src/main/java/bjc/utils/components/IComponentRepository.java')
-rw-r--r--base/src/main/java/bjc/utils/components/IComponentRepository.java19
1 files changed, 8 insertions, 11 deletions
diff --git a/base/src/main/java/bjc/utils/components/IComponentRepository.java b/base/src/main/java/bjc/utils/components/IComponentRepository.java
index 099693f..8ecd446 100644
--- a/base/src/main/java/bjc/utils/components/IComponentRepository.java
+++ b/base/src/main/java/bjc/utils/components/IComponentRepository.java
@@ -10,15 +10,14 @@ import bjc.utils.funcdata.IMap;
* @author ben
*
* @param <ComponentType>
- * The type of components contained in this repository.
+ * The type of components contained in this repository.
*/
public interface IComponentRepository<ComponentType extends IDescribedComponent> {
/**
* Get all of the components this repository knows about.
*
- * @return
- * A map from component name to component, containing all of the
- * components in the repositories.
+ * @return A map from component name to component, containing all of the
+ * components in the repositories.
*/
public IMap<String, ComponentType> getAll();
@@ -26,18 +25,17 @@ public interface IComponentRepository<ComponentType extends IDescribedComponent>
* Get a component with a specific name.
*
* @param name
- * The name of the component to retrieve.
+ * The name of the component to retrieve.
*
- * @return
- * The named component, or null if no component with that name exists.
+ * @return The named component, or null if no component with that name
+ * exists.
*/
public ComponentType getByName(String name);
/**
* Get a list of all the registered components.
*
- * @return
- * A list of all the registered components.
+ * @return A list of all the registered components.
*/
public default IList<ComponentType> getList() {
return getAll().valueList();
@@ -46,8 +44,7 @@ public interface IComponentRepository<ComponentType extends IDescribedComponent>
/**
* Get the source from which these components came.
*
- * @return
- * The source from which these components came.
+ * @return The source from which these components came.
*/
public String getSource();
}