1 24 25 package com.mckoi.database.global; 26 27 36 37 public final class StreamableObject { 38 39 42 private byte type; 43 44 47 private long size; 48 49 52 private long id; 53 54 57 public StreamableObject(byte type, long size, long id) { 58 this.type = type; 59 this.size = size; 60 this.id = id; 61 } 62 63 67 public byte getType() { 68 return type; 69 } 70 71 76 public long getSize() { 77 return size; 78 } 79 80 86 public long getIdentifier() { 87 return id; 88 } 89 90 } 91 92 | Popular Tags |