public class IntAllocator

Nested types: IntervalList

Constructor Summary

Flags Name Summary
public IntAllocator(int start, int end)

(undocumented)

Method Summary

Flags Name Summary
public int Allocate()

(undocumented)

public void Free(int id)

(undocumented)

public bool Reserve(int id)

(undocumented)

Constructor Detail

IntAllocator

public IntAllocator(int start, int end)

Parameters
Name Type
start int
end int

Method Detail

Allocate

public int Allocate()

Flags public
Return type int

Free

public void Free(int id)

Flags public
Return type void
Parameters
Name Type
id int

Reserve

public bool Reserve(int id)

Flags public
Return type bool
Parameters
Name Type
id int