| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableFileSet.Builder
Builds instances of type
ImmutableFileSet. |
FileSet.Entry| Modifier and Type | Method and Description |
|---|---|
static ImmutableFileSet |
copyOf(FileSet instance)
Creates an immutable copy of a
FileSet value. |
List<FileSet.Entry> |
entries() |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableFileSet that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
entries. |
String |
toString()
Prints the immutable value
FileSet with attribute values. |
ImmutableFileSet |
withEntries(FileSet.Entry... elements)
Copy the current immutable object with elements that replace the content of
entries. |
ImmutableFileSet |
withEntries(Iterable<? extends FileSet.Entry> elements)
Copy the current immutable object with elements that replace the content of
entries. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitbuilder, shouldContainOneMoreExecutablepublic List<FileSet.Entry> entries()
public final ImmutableFileSet withEntries(FileSet.Entry... elements)
entries.elements - The elements to setthis objectpublic final ImmutableFileSet withEntries(Iterable<? extends FileSet.Entry> elements)
entries.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of entries elements to setthis objectpublic boolean equals(Object another)
ImmutableFileSet that have equal attribute values.public int hashCode()
entries.public String toString()
FileSet with attribute values.public static ImmutableFileSet copyOf(FileSet instance)
FileSet value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copyCopyright © 2020. All rights reserved.