glib-2.0 Reference Manual

Synopsis

public class Rand {
    public                              Rand.with_seed            ( uint32              seed ) ;
    public                              Rand.with_seed_array      ( uint32[]            seed,
                                                                    uint                seed_length ) ;
    public                              Rand                      (  ) ;


    public    void                      set_seed                  ( uint32              seed ) ;
    public    void                      set_seed_array            ( uint32[]            seed,
                                                                    uint                seed_length ) ;
    public    bool                      boolean                   (  ) ;
    public    uint32                    next_int                  (  ) ;
    public    int32                     int_range                 ( int32               begin,
                                                                    int32               end ) ;
    public    double                    next_double               (  ) ;
    public    double                    double_range              ( double              begin,
                                                                    double              end ) ;
}

Rand Description

Details

Constructor Details

Rand.with_seed ()
    public                              Rand.with_seed            ( uint32              seed ) ;		

Rand.with_seed_array ()
    public                              Rand.with_seed_array      ( uint32[]            seed,
                                                                    uint                seed_length ) ;		

Rand ()
    public                              Rand                      (  ) ;		

Field Details

Signal Details

Property Details

Method Details

set_seed ()
    public    void                      set_seed                  ( uint32              seed ) ;		

set_seed_array ()
    public    void                      set_seed_array            ( uint32[]            seed,
                                                                    uint                seed_length ) ;		

boolean ()
    public    bool                      boolean                   (  ) ;		

next_int ()
    public    uint32                    next_int                  (  ) ;		

int_range ()
    public    int32                     int_range                 ( int32               begin,
                                                                    int32               end ) ;		

next_double ()
    public    double                    next_double               (  ) ;		

double_range ()
    public    double                    double_range              ( double              begin,
                                                                    double              end ) ;		


Created by Valadoc