package SPVM::HashEntry {
  has key : public string;
  has val : public object;
  has next_entry : public SPVM::HashEntry;
    
  sub new : SPVM::HashEntry ($key : string, $val : object, $next_entry : SPVM::HashEntry) {
    my $self = new SPVM::HashEntry;
    $self->{key} = $key;
    $self->{val} = $val;
    $self->{next_entry} = $next_entry;
    return $self;
  }
}
