| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final boolean | |
| public static final short | |
| private int | |
| private boolean | |
| private short |
| Access | Constructor and Description |
|---|---|
| public | |
| public | StreamPriority(JsonObject json)
References Deprecated
JsonObject is deprecated or references (maybe indirectly) at least one deprecated element.
|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| public int | |
| public short | Returns: An integer value between1 and 256 representing a priority weight
for the stream.
|
| public int | |
| public boolean | |
| public StreamPriority | Returns: a reference to this, so the API can be used fluentlythe new value dependency)Set the priority dependency value. |
| public StreamPriority | Returns: a reference to this, so the API can be used fluentlythe new value exclusive)Set the priority exclusive value. |
| public StreamPriority | Returns: a reference to this, so the API can be used fluentlythe new value weight)Set the priority weight. |
| public JsonObject | toJson()
References Deprecated
JsonObject is deprecated or references (maybe indirectly) at least one deprecated element.
|
| public String |
| DEFAULT_DEPENDENCY | back to summary |
|---|---|
| public static final int DEFAULT_DEPENDENCY | |
| DEFAULT_EXCLUSIVE | back to summary |
|---|---|
| public static final boolean DEFAULT_EXCLUSIVE | |
| DEFAULT_WEIGHT | back to summary |
|---|---|
| public static final short DEFAULT_WEIGHT | |
| dependency | back to summary |
|---|---|
| private int dependency | |
| exclusive | back to summary |
|---|---|
| private boolean exclusive | |
| weight | back to summary |
|---|---|
| private short weight | |
| StreamPriority | back to summary |
|---|---|
| public StreamPriority() | |
| StreamPriority | back to summary |
|---|---|
| public StreamPriority(JsonObject json)
References Deprecated
See corresponding docs for further information. | |
| StreamPriority | back to summary |
|---|---|
| public StreamPriority(StreamPriority other) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getDependency | back to summary |
|---|---|
public int getDependency()
| |
| getWeight | back to summary |
|---|---|
public short getWeight()
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isExclusive | back to summary |
|---|---|
public boolean isExclusive()
| |
| setDependency | back to summary |
|---|---|
| public StreamPriority setDependency(int dependency) Set the priority dependency value.
| |
| setExclusive | back to summary |
|---|---|
| public StreamPriority setExclusive(boolean exclusive) Set the priority exclusive value.
| |
| setWeight | back to summary |
|---|---|
| public StreamPriority setWeight(short weight) Set the priority weight.
| |
| toJson | back to summary |
|---|---|
| public JsonObject toJson()
References Deprecated
See corresponding docs for further information. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |