This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
| Modifier and Type | Field and Description |
|---|---|
| private final Set | classNames
Record Component accessed by classNames(). the names of classes compiled into memory. |
| private final Class | programClass
Record Component accessed by programClass(). the class instance of the launched program. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Set | classNames()
Record Component getter of classNames.
Record Component the names of classes compiled into memory. |
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public Class | programClass()
Record Component getter of programClass.
Record Component the class instance of the launched program. |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| classNames | back to summary |
|---|---|
| private final Set<String> classNames Record Component accessed by classNames(). the names of classes compiled into memory. | |
| programClass | back to summary |
|---|---|
| private final Class<?> programClass Record Component accessed by programClass(). the class instance of the launched program. | |
| Result | back to summary |
|---|---|
| public Result(Class<?> programClass, Set<String> classNames) | |
| classNames | back to summary |
|---|---|
| public Set Record Component getter of classNames.
| |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| programClass | back to summary |
|---|---|
| public Class Record Component getter of programClass.
| |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |