Methods Summary |
---|
public boolean | equals(java.lang.Object o)
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
TemporalLevelEntry that = (TemporalLevelEntry) o;
if (levelIndependentlyDecodable != that.levelIndependentlyDecodable) return false;
if (reserved != that.reserved) return false;
return true;
|
public java.nio.ByteBuffer | get()
ByteBuffer content = ByteBuffer.allocate(1);
content.put((byte) (levelIndependentlyDecodable ? 0x80 : 0x00));
content.rewind();
return content;
|
public int | hashCode()
int result = (levelIndependentlyDecodable ? 1 : 0);
result = 31 * result + (int) reserved;
return result;
|
public boolean | isLevelIndependentlyDecodable()
return levelIndependentlyDecodable;
|
public void | parse(java.nio.ByteBuffer byteBuffer)
final byte b = byteBuffer.get();
levelIndependentlyDecodable = ((b & 0x80) == 0x80);
|
public void | setLevelIndependentlyDecodable(boolean levelIndependentlyDecodable)
this.levelIndependentlyDecodable = levelIndependentlyDecodable;
|
public java.lang.String | toString()
final StringBuilder sb = new StringBuilder();
sb.append("TemporalLevelEntry");
sb.append("{levelIndependentlyDecodable=").append(levelIndependentlyDecodable);
sb.append('}");
return sb.toString();
|