-
Notifications
You must be signed in to change notification settings - Fork 0
/
ListTag.java
139 lines (71 loc) · 2.68 KB
/
ListTag.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
package de.cubeside.nmsutils.nbt;
import java.util.UUID;
public interface ListTag extends Cloneable {
int size();
boolean isEmpty();
TagType getElementType();
CompoundTag getCompound(int index);
CompoundTag addCompound();
CompoundTag addCompound(int index);
CompoundTag setCompound(int index);
ListTag getList(int index);
ListTag addList();
ListTag addList(int index);
ListTag setList(int index);
byte getByte(int index);
byte getByte(int index, byte defaultValue);
boolean addByte(byte v);
boolean addByte(int index, byte v);
boolean setByte(int index, byte v);
short getShort(int index);
short getShort(int index, short defaultValue);
boolean addShort(short v);
boolean addShort(int index, short v);
boolean setShort(int index, short v);
int getInt(int index);
int getInt(int index, int defaultValue);
boolean addInt(int v);
boolean addInt(int index, int v);
boolean setInt(int index, int v);
long getLong(int index);
long getLong(int index, long defaultValue);
boolean addLong(long v);
boolean addLong(int index, long v);
boolean setLong(int index, long v);
float getFloat(int index);
float getFloat(int index, float defaultValue);
boolean addFloat(float v);
boolean addFloat(int index, float v);
boolean setFloat(int index, float v);
double getDouble(int index);
double getDouble(int index, double defaultValue);
boolean addDouble(double v);
boolean addDouble(int index, double v);
boolean setDouble(int index, double v);
byte[] getByteArray(int index);
byte[] getByteArray(int index, byte[] defaultValue);
boolean addByteArray(byte[] v);
boolean addByteArray(int index, byte[] v);
boolean setByteArray(int index, byte[] v);
int[] getIntArray(int index);
int[] getIntArray(int index, int[] defaultValue);
boolean addIntArray(int[] v);
boolean addIntArray(int index, int[] v);
boolean setIntArray(int index, int[] v);
long[] getLongArray(int index);
long[] getLongArray(int index, long[] defaultValue);
boolean addLongArray(long[] v);
boolean addLongArray(int index, long[] v);
boolean setLongArray(int index, long[] v);
String getString(int index);
String getString(int index, String defaultValue);
boolean addString(String v);
boolean addString(int index, String v);
boolean setString(int index, String v);
UUID getUUID(int index);
UUID getUUID(int index, UUID defaultValue);
boolean addUUID(UUID v);
boolean addUUID(int index, UUID v);
boolean setUUID(int index, UUID v);
public ListTag clone();
}