22 namespace Lucene.Net.Analysis.Tokenattributes
39 this.payload = payload;
45 get {
return this.payload; }
46 set { this.payload = value; }
49 public override void Clear()
54 public override System.Object Clone()
59 clone.payload = (
Payload) payload.Clone();
68 public override bool Equals(System.Object other)
78 if (o.payload == null || payload == null)
80 return o.payload == null && payload == null;
83 return o.payload.Equals(payload);
89 public override int GetHashCode()
91 return (payload == null)?0:payload.GetHashCode();