camelCase
This commit is contained in:
parent
a614141425
commit
3466044eaa
1 changed files with 4 additions and 4 deletions
|
@ -25,20 +25,20 @@ class WirePointer {
|
||||||
return this.buffer.getLong(this.buffer_offset * 8) == 0;
|
return this.buffer.getLong(this.buffer_offset * 8) == 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int offset_and_kind() {
|
public int offsetAndKind() {
|
||||||
return this.buffer.getInt(this.buffer_offset * 8);
|
return this.buffer.getInt(this.buffer_offset * 8);
|
||||||
}
|
}
|
||||||
|
|
||||||
public byte kind() {
|
public byte kind() {
|
||||||
return (byte) (this.offset_and_kind() & 3);
|
return (byte) (this.offsetAndKind() & 3);
|
||||||
}
|
}
|
||||||
|
|
||||||
public WordPointer target() {
|
public WordPointer target() {
|
||||||
return new WordPointer(buffer,
|
return new WordPointer(buffer,
|
||||||
this.buffer_offset + 1 + (this.offset_and_kind() >> 2));
|
this.buffer_offset + 1 + (this.offsetAndKind() >> 2));
|
||||||
}
|
}
|
||||||
|
|
||||||
public int inlineCompositeListElementCount() {
|
public int inlineCompositeListElementCount() {
|
||||||
return this.offset_and_kind() >> 2;
|
return this.offsetAndKind() >> 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue