| Package | Description |
|---|---|
| ch.rasc.darksky.model |
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableDsDataPoint
Immutable implementation of
DsDataPoint. |
| Modifier and Type | Method and Description |
|---|---|
DsDataPoint |
ImmutableDsResponse.currently()
A
DsDataPoint containing the current weather conditions at the requested
location. |
DsDataPoint |
DsResponse.currently()
A
DsDataPoint containing the current weather conditions at the requested
location. |
| Modifier and Type | Method and Description |
|---|---|
List<DsDataPoint> |
ImmutableDsDataBlock.data()
A list of
DsDataPoint instances, ordered by time, which together describe
the weather conditions at the requested location over time. |
List<DsDataPoint> |
DsDataBlock.data()
A list of
DsDataPoint instances, ordered by time, which together describe
the weather conditions at the requested location over time. |
| Modifier and Type | Method and Description |
|---|---|
ImmutableDsDataBlock.Builder |
ImmutableDsDataBlock.Builder.addData(DsDataPoint... elements)
Adds elements to
data list. |
ImmutableDsDataBlock.Builder |
ImmutableDsDataBlock.Builder.addData(DsDataPoint element)
Adds one element to
data list. |
static ImmutableDsDataPoint |
ImmutableDsDataPoint.copyOf(DsDataPoint instance)
Creates an immutable copy of a
DsDataPoint value. |
ImmutableDsResponse.Builder |
ImmutableDsResponse.Builder.currently(DsDataPoint currently)
Initializes the value for the
currently attribute. |
ImmutableDsDataPoint.Builder |
ImmutableDsDataPoint.Builder.from(DsDataPoint instance)
Fill a builder with attribute values from the provided
DsDataPoint instance. |
ImmutableDsResponse |
ImmutableDsResponse.withCurrently(DsDataPoint value)
Copy the current immutable object by setting a value for the
currently attribute. |
ImmutableDsDataBlock |
ImmutableDsDataBlock.withData(DsDataPoint... elements)
Copy the current immutable object with elements that replace the content of
data. |
| Modifier and Type | Method and Description |
|---|---|
ImmutableDsDataBlock.Builder |
ImmutableDsDataBlock.Builder.addAllData(Iterable<? extends DsDataPoint> elements)
Adds elements to
data list. |
ImmutableDsDataBlock.Builder |
ImmutableDsDataBlock.Builder.data(Iterable<? extends DsDataPoint> elements)
Sets or replaces all elements for
data list. |
ImmutableDsDataBlock |
ImmutableDsDataBlock.withData(Iterable<? extends DsDataPoint> elements)
Copy the current immutable object with elements that replace the content of
data. |
Copyright © 2016–2020. All rights reserved.