Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
fpc-src / usr / share / fpcsrc / 3.0.0 / tests / webtbs / uw25132.pp
Size: Mime:
unit uw25132;

{$ifdef fpc}
  {$mode delphi}
{$endif}

interface

type
  TIterator<TElement> = class(TObject)
  public
    function    GetValue(): Integer; virtual; abstract;
  end;

  TCollectionIterator = class(TIterator<TObject>)
  public  
    function    GetValue(): Integer; override;
  end;

implementation

{ TCollectionIterator }

function TCollectionIterator.GetValue(): Integer; 
begin
  Result := 1;
end;

end.