Class AssociatedArtifactList
java.lang.Object
no.unit.nva.model.associatedartifacts.AssociatedArtifactList
- All Implemented Interfaces:
Iterable<AssociatedArtifact>,Collection<AssociatedArtifact>,List<AssociatedArtifact>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAssociatedArtifactList(List<AssociatedArtifact> artifacts) AssociatedArtifactList(AssociatedArtifact... artifacts) -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(int index, AssociatedArtifact element) booleanadd(AssociatedArtifact associatedArtifact) booleanaddAll(int index, Collection<? extends AssociatedArtifact> c) booleanaddAll(Collection<? extends AssociatedArtifact> c) voidclear()booleanbooleancontainsAll(Collection<?> c) static AssociatedArtifactListempty()booleanget(int index) inthashCode()intbooleanisEmpty()booleaniterator()intlistIterator(int index) remove(int index) booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) set(int index, AssociatedArtifact element) intsize()subList(int fromIndex, int toIndex) Object[]toArray()<T> T[]toArray(T[] a) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
replaceAll, sort, spliterator
-
Field Details
-
NULL_OBJECT_MUST_BE_SINGLETON_IN_LIST
- See Also:
-
-
Constructor Details
-
AssociatedArtifactList
-
AssociatedArtifactList
-
-
Method Details
-
empty
-
size
public int size()- Specified by:
sizein interfaceCollection<AssociatedArtifact>- Specified by:
sizein interfaceList<AssociatedArtifact>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<AssociatedArtifact>- Specified by:
isEmptyin interfaceList<AssociatedArtifact>
-
contains
- Specified by:
containsin interfaceCollection<AssociatedArtifact>- Specified by:
containsin interfaceList<AssociatedArtifact>
-
iterator
- Specified by:
iteratorin interfaceCollection<AssociatedArtifact>- Specified by:
iteratorin interfaceIterable<AssociatedArtifact>- Specified by:
iteratorin interfaceList<AssociatedArtifact>
-
toArray
- Specified by:
toArrayin interfaceCollection<AssociatedArtifact>- Specified by:
toArrayin interfaceList<AssociatedArtifact>
-
toArray
public <T> T[] toArray(T[] a) - Specified by:
toArrayin interfaceCollection<AssociatedArtifact>- Specified by:
toArrayin interfaceList<AssociatedArtifact>
-
add
- Specified by:
addin interfaceCollection<AssociatedArtifact>- Specified by:
addin interfaceList<AssociatedArtifact>
-
add
- Specified by:
addin interfaceList<AssociatedArtifact>
-
remove
- Specified by:
removein interfaceCollection<AssociatedArtifact>- Specified by:
removein interfaceList<AssociatedArtifact>
-
remove
- Specified by:
removein interfaceList<AssociatedArtifact>
-
containsAll
- Specified by:
containsAllin interfaceCollection<AssociatedArtifact>- Specified by:
containsAllin interfaceList<AssociatedArtifact>
-
addAll
- Specified by:
addAllin interfaceCollection<AssociatedArtifact>- Specified by:
addAllin interfaceList<AssociatedArtifact>
-
addAll
- Specified by:
addAllin interfaceList<AssociatedArtifact>
-
removeAll
- Specified by:
removeAllin interfaceCollection<AssociatedArtifact>- Specified by:
removeAllin interfaceList<AssociatedArtifact>
-
retainAll
- Specified by:
retainAllin interfaceCollection<AssociatedArtifact>- Specified by:
retainAllin interfaceList<AssociatedArtifact>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<AssociatedArtifact>- Specified by:
clearin interfaceList<AssociatedArtifact>
-
equals
- Specified by:
equalsin interfaceCollection<AssociatedArtifact>- Specified by:
equalsin interfaceList<AssociatedArtifact>- Overrides:
equalsin classObject
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceCollection<AssociatedArtifact>- Specified by:
hashCodein interfaceList<AssociatedArtifact>- Overrides:
hashCodein classObject
-
get
- Specified by:
getin interfaceList<AssociatedArtifact>
-
set
- Specified by:
setin interfaceList<AssociatedArtifact>
-
indexOf
- Specified by:
indexOfin interfaceList<AssociatedArtifact>
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<AssociatedArtifact>
-
listIterator
- Specified by:
listIteratorin interfaceList<AssociatedArtifact>
-
listIterator
- Specified by:
listIteratorin interfaceList<AssociatedArtifact>
-
subList
- Specified by:
subListin interfaceList<AssociatedArtifact>
-
isPublishable
public boolean isPublishable()
-