returns the renderer time up to which the renderer has read samples from the current { @ link sample stream } , in microseconds , or { @ link c # time end of source } if the renderer has read the current { @ link sample stream } to the end this method may be called when the renderer is in the following states : { @ link # state enabled } , { @ link # state started }


suppress the default retry policy for the storage , useful in unit tests to test negative cases without waiting forever

void suppress retry policy ( ) { suppress retry policy = true ; }


sets the current directory for the new jvm

public j v m builder pwd ( file path pwd ) { this pwd = pwd ; return this ; }


public void attribute integer test ( ) { / / todo : test attribute integer }


creates and adds a new save data object to the save data list

public save data create save data ( ) { save data save data = new save data ( this ) ; data add ( save data ) ; return save data ; }


fills the cache with bitmaps for the given dataset

protected void fill ( i line data set set , boolean draw circle hole , boolean draw transparent circle hole ) { int color count = set get circle color count ( ) ; float circle radius = set get circle radius ( ) ; float circle hole radius = set get circle hole radius ( ) ; for ( int i = 0 ; i < color count ; i + + ) { bitmap config conf = bitmap config argb 4444 ; bitmap circle bitmap = bitmap create bitmap ( ( int ) ( circle radius * 2 1 ) , ( int ) ( circle radius * 2 1 ) , conf ) ; canvas canvas = new canvas ( circle bitmap ) ; circle bitmaps [ i ] = circle bitmap ; m render paint set color ( set get circle color ( i ) ) ; if ( draw transparent circle hole ) { / / begin path for circle with hole m circle path buffer reset ( ) ; m circle path buffer add circle ( circle radius , circle radius , circle radius , path direction cw ) ; / / cut hole in path m circle path buffer add circle ( circle radius , circle radius , circle hole radius , path direction ccw ) ; / / fill in - between canvas draw path ( m circle path buffer , m render paint ) ; } else { canvas draw circle ( circle radius , circle radius , circle radius , m render paint ) ; if ( draw circle hole ) { canvas draw circle ( circle radius , circle radius , circle hole radius , m circle paint inner ) ; } } } }


given a language , gets the best choice from the apps list of supported languages and the systems set of languages

static locale find best matching locale for language ( @ nullable string language ) { final locale locale = language string parse locale ( language ) ; if ( app supports the exact locale ( locale ) ) { return locale ; } else { return find best system locale ( ) ; } }


public static boolean zip files ( final collection < string > src file paths , final string zip file path , final string comment ) throws i o exception { if ( src file paths = = null | | zip file path = = null ) return false ; zip output stream zos = null ; try { zos = new zip output stream ( new file output stream ( zip file path ) ) ; for ( string src file : src file paths ) { if ( ! zip file ( utils bridge get file by path ( src file ) , " " , zos , comment ) ) return false ; } return true ; } finally { if ( zos ! = null ) { zos finish ( ) ; zos close ( ) ; } } }


finds the first index in the { @ code char sequence } that matches the specified character

public static int index of ( final char sequence cs , final char search char , int start ) { if ( cs instanceof string ) { return ( ( string ) cs ) index of ( search char , start ) ; } else if ( cs instanceof ascii string ) { return ( ( ascii string ) cs ) index of ( search char , start ) ; } if ( cs = = null ) { return index not found ; } final int sz = cs length ( ) ; for ( int i = start < 0 ? 0 : start ; i < sz ; i + + ) { if ( cs char at ( i ) = = search char ) { return i ; } } return index not found ; }


copy vertices from the given float array , taking into account the offset and length it is assumed the vertices are in x , y order and define a convex polygon it is assumed that the exterior is the the right of each edge

public void set ( float [ ] vertices , int offset , int len ) { jni set ( addr , vertices , offset , len ) ; }


find all elements within the current context using the given mechanism when using xpath be aware that webdriver follows standard conventions : a search prefixed with " " will search the entire document , not just the children of this current node use " " to limit your search to the children of this web element this method is affected by the ' implicit wait ' times in force at the time of execution when implicitly waiting , this method will return as soon as there are more than 0 items in the found collection , or will return an empty list if the timeout is reached see < a href = " https : w 3c github iowebdriver # find - elements - from - element " > w3c web driver specification for more details

list < web element > find elements ( by by ) ;


post fakeouterboolean test serialization of outer boolean types

default response entity < boolean > fake outer boolean serialize ( @ api param ( value = " input boolean as post body " ) @ valid @ request body ( required = false ) boolean body ) { return new response entity < > ( http status not implemented ) ; }


returns the local environment of this frame

immutable map < string , object > get locals ( ) ;


immediately stops a request within a filter or route with specified status code note : when using this don ' t catch exceptions of type halt exception , or if catched , re - throw otherwise halt will not work

public static halt exception halt ( int status ) { throw get instance ( ) halt ( status ) ; }


set the value of the ' { @ code tabindex } ' attribute may be a runtime expression

public void set tabindex ( string tabindex ) { this tabindex = tabindex ; }


string to string ( final integer n ) { return n = = null ? null : integer to string ( n , radix ) ; }


public static void set invitation token ( final request context request context , final string invitation token ) { request context get flow scope ( ) put ( " acceptto invitation token " , invitation token ) ; }


verifies that if we delete a function from the listing that is currently being shown in a comparison provider , it will be removed from that comparison provider

public void test delete function from listing ( ) { set < function > functions = compare functions test utility get functions as set ( foo , bar ) ; provider = compare functions ( functions ) ; assert equals ( provider get model ( ) get source functions ( ) size ( ) , 2 ) ; assert true ( provider get model ( ) get source functions ( ) contains ( foo ) ) ; assert true ( provider get model ( ) get source functions ( ) contains ( bar ) ) ; address addr = program 1 get address factory ( ) get address ( " 1 0 0 1 8cf " ) ; program location loc = new program location ( program 1 , addr ) ; cb plugin go to ( loc ) ; docking action if delete action = get action ( function plugin , " delete function " ) ; perform action ( delete action , cb plugin get provider ( ) get action context ( null ) , true ) ; wait for swing ( ) ; assert equals ( provider get model ( ) get source functions ( ) size ( ) , 1 ) ; assert true ( provider get model ( ) get source functions ( ) contains ( bar ) ) ; }


public void set completion list visible ( boolean visible ) { if ( visible ) { if ( completion window = = null ) { build completion window ( ) ; } else if ( completion window get owner ( ) ! = window utilities window for component ( focus ) ) { destroy completion window ( ) ; build completion window ( ) ; } completion window set visible ( true ) ; } else if ( completion window ! = null ) { completion window set visible ( false ) ; } }


return true if this number only object is equal to o

public boolean equals ( object o ) { if ( this = = o ) { return true ; } if ( o = = null | | get class ( ) ! = o get class ( ) ) { return false ; } number only number only = ( number only ) o ; return objects equals ( this just number , number only just number ) ; }


public void capital snake test ( ) { / / todo : test capital snake }


increments the size of the stream ' s flow control window by the given delta in the case of a { @ link http 2 remote flow controller } this is called upon receipt of a { @ code window update } frame from the remote endpoint to mirror the changes to the window size for a { @ link http 2 local flow controller } this can be called to request the expansion of the window size published by this endpoint it is up to the implementation , however , as to when a { @ code window update } is actually sent

void increment window size ( http 2 stream stream , int delta ) throws http 2 exception ;