@Generated(value="org.immutables.processor.ProxyProcessor") public final class Resource extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Resource.Builder
Builds instances of type
Resource. |
| Modifier and Type | Method and Description |
|---|---|
static Resource.Builder |
builder()
Creates a builder for
Resource. |
boolean |
equals(Object another)
This instance is equal to all instances of
Resource that have equal attribute values. |
String |
getHash()
The hash
|
String |
getMode()
The POSIX file mode in an octal representation
|
Integer |
getSize()
The size
|
int |
hashCode()
Computes a hash code from attributes:
hash, mode, size. |
String |
toString()
Prints the immutable value
Resource with attribute values. |
public String getHash()
public String getMode()
public Integer getSize()
public boolean equals(Object another)
Resource that have equal attribute values.public int hashCode()
hash, mode, size.public String toString()
Resource with attribute values.public static Resource.Builder builder()
Resource.
Resource.builder()
.hash(String | null) // nullable hash
.mode(String | null) // nullable mode
.size(Integer | null) // nullable size
.build();
Copyright © 2020. All rights reserved.