Class ClassFiles
java.lang.Object
org.springframework.core.test.tools.ClassFiles
-
Method Summary
Modifier and TypeMethodDescriptionReturn a newClassFilesinstance that merges classes from another iterable ofClassFilesinstances.Return a newClassFilesinstance that merges classes from another array ofClassFileinstances.booleanGet theClassFilewith the given class name.inthashCode()booleanisEmpty()Returnstrueif this collection is empty.iterator()static ClassFilesnone()Return aClassFilesinstance with no items.static ClassFilesFactory method that can be used to create aClassFilesinstance containing the specified classes.stream()Stream theClassFileinstances contained in this collection.toString()Methods inherited from interface Iterable
forEach, spliterator
-
Method Details
-
none
Return aClassFilesinstance with no items.- Returns:
- the empty instance
-
of
Factory method that can be used to create aClassFilesinstance containing the specified classes.- Parameters:
ClassFiles- the classes to include- Returns:
- a
ClassFilesinstance
-
and
Return a newClassFilesinstance that merges classes from another array ofClassFileinstances.- Parameters:
classFiles- the instances to merge- Returns:
- a new
ClassFilesinstance containing merged content
-
and
Return a newClassFilesinstance that merges classes from another iterable ofClassFilesinstances.- Parameters:
classFiles- the instances to merge- Returns:
- a new
ClassFilesinstance containing merged content
-
iterator
-
stream
-
isEmpty
public boolean isEmpty()Returnstrueif this collection is empty.- Returns:
- if this collection is empty
-
get
-
equals
-
hashCode
-
toString
-