Last change
on this file since 15215 was
15189,
checked in by pkimmesw, 8 years ago
|
#2665 Fixed small issues, testet benchmark suite, added INX Expressions
|
File size:
380 bytes
|
Line | |
---|
1 | using System.Collections.Generic;
|
---|
2 |
|
---|
3 | namespace HeuristicLab.Problems.ProgramSynthesis.Push.Data.Pool {
|
---|
4 | using System;
|
---|
5 |
|
---|
6 | [Serializable]
|
---|
7 | public class PooledList<T> : List<T>, IPooledObject {
|
---|
8 | public Guid Id { get; private set; }
|
---|
9 |
|
---|
10 | void IPooledObject.Init() {
|
---|
11 | Id = Guid.NewGuid();
|
---|
12 | }
|
---|
13 |
|
---|
14 | void IPooledObject.Reset() {
|
---|
15 | Clear();
|
---|
16 | }
|
---|
17 | }
|
---|
18 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.