Changeset 15189 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Data/Pool/PooledList.cs
- Timestamp:
- 07/10/17 21:36:03 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Data/Pool/PooledList.cs
r14908 r15189 6 6 [Serializable] 7 7 public class PooledList<T> : List<T>, IPooledObject { 8 public void Reset() { 8 public Guid Id { get; private set; } 9 10 void IPooledObject.Init() { 11 Id = Guid.NewGuid(); 12 } 13 14 void IPooledObject.Reset() { 9 15 Clear(); 10 16 }
Note: See TracChangeset
for help on using the changeset viewer.