Package ai.libs.jaicore.components.model
Class ComponentRepository
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<IComponent>
-
- ai.libs.jaicore.components.model.ComponentRepository
-
- All Implemented Interfaces:
IComponentRepository,java.io.Serializable,java.lang.Cloneable,java.lang.Iterable<IComponent>,java.util.Collection<IComponent>,java.util.List<IComponent>,java.util.RandomAccess
public class ComponentRepository extends java.util.ArrayList<IComponent> implements IComponentRepository
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ComponentRepository()ComponentRepository(java.util.Collection<? extends IComponent> components)ComponentRepository(java.util.Collection<? extends IComponent> components, java.util.Collection<? extends IComponentInstanceConstraint> constraints)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)ComponentgetComponent(java.lang.String name)java.util.Collection<IComponentInstanceConstraint>getConstraints()inthashCode()-
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
-
-
-
Constructor Detail
-
ComponentRepository
public ComponentRepository()
-
ComponentRepository
public ComponentRepository(java.util.Collection<? extends IComponent> components)
-
ComponentRepository
public ComponentRepository(java.util.Collection<? extends IComponent> components, java.util.Collection<? extends IComponentInstanceConstraint> constraints)
-
-
Method Detail
-
getComponent
public Component getComponent(java.lang.String name)
- Specified by:
getComponentin interfaceIComponentRepository
-
getConstraints
public java.util.Collection<IComponentInstanceConstraint> getConstraints()
- Specified by:
getConstraintsin interfaceIComponentRepository
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacejava.util.Collection<IComponent>- Specified by:
hashCodein interfacejava.util.List<IComponent>- Overrides:
hashCodein classjava.util.ArrayList<IComponent>
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacejava.util.Collection<IComponent>- Specified by:
equalsin interfacejava.util.List<IComponent>- Overrides:
equalsin classjava.util.ArrayList<IComponent>
-
-