input
stringlengths 10
828
| output
stringlengths 5
107
|
|---|---|
public peer group get peer group return peergroup
|
returns the peer group with which this membership service is associated
|
public jxtarequest parameter map decompose authentication result map string string results new hash map string string results put drop box id drop box id results put jxta username jxta username results put signed string signed string results put sign algorithm sign algorithm results put group public key group public key results put authentication authentication jxtarequest parameter map results param map new jxtarequest parameter map results log info decomposing authentication result into map n results param map dump to string return results param map
|
create paramater map from result attributes
|
public void initialise from parameter map jxtarequest parameter map map log info initialising authentication result from map n map dump to string drop box id map get drop box id jxta username map get jxta username signed string map get signed string sign algorithm map get sign algorithm group public key map get group public key authentication map get authentication initialised true
|
initialise this authn token result from supplied parameter map
|
public void add property change listener string property name property change listener listener support add property change listener property name listener
|
add a listener
|
public void remove property change listener string property name property change listener listener support remove property change listener property name listener
|
remove a listener
|
public string get default derived id pgroup string return default derived id pgroup string
|
returns the default derived id pgroup string
|
public void add id ppeer group peer group advertisement id ppeer group adv id ppeer group advs put get string from peer group advertisement id ppeer group adv id ppeer group adv
|
adds an id ppeer group adv
|
public peer group advertisement get id ppeer group string id ppeer group id string return id ppeer group advs get id ppeer group id string
|
returns the id ppeer group adv
|
public void map actor string operation instance id actor actor peer id peer id try hash map actor peer id actor peer idmap get actor peer idmap operation instance id if actor peer idmap contains key actor actor peer idmap put actor peer id log finer mapped actor actor get actor id to peer id peer id to uri to string else throw new actor config exception the peer id for this actor has already been set and must remain the same for the duration of the operation execution catch actor config exception ace ace print stack trace
|
map a peer id to an actor
|
public peer id get peer id string operation instance id actor actor hash map actor peer id actor peer idmap get actor peer idmap operation instance id peer id peer id actor peer idmap get actor log finer matched peer id found peer id null peer id to uri to string null return peer id
|
returns the peer id for this actor
|
public peer id get peer id string operation instance id string actor id string actor instance id peer id peer id null hash map actor peer id actor peer idmap get actor peer idmap operation instance id proper actor actor to compare new proper actor actor id actor instance id peer id actor peer idmap get actor to compare log finer matched peer id found peer id null peer id to uri to string null return peer id
|
returns the peer id for the proper actor with actor id
|
public string get channel string return channel string
|
return a string representation of the comms channel
|
public string dump to string string builder builder new string builder set string key set key set builder append jxtarequest parameter map key value dump n for string key key set builder append key append append get key append n builder append end jxtarequest parameter map key value dump return builder to string
|
creates a string illustrating the contents of this jxtarequest parameter map
|
private transition get next transition from condition condition condition transition next transition null list transition next transitions possible next transitions for transition this trans next transitions if this trans get change condition equals condition next transition this trans return next transition
|
where two transitions have identical current states and conditions
|
public profile get top level profile return profile binding get profile
|
returns the top level profile
|
public binding get top level binding return profile binding get binding
|
returns the top level binding for the top level profile
|
public void set http servlet response http servlet response response this response response
|
sets the http servlet response for this redirect dispatcher
|
public state get initial state actor actor condition condition return initial condition states get actor get condition
|
get the state arising from a given condition where the current state is
|
public boolean state processor map set actor actor return state processor maps contains key actor
|
determines whether a state processor map has been set for this actor
|
public executable unit get next executable unit return executable program get executable program position
|
returns next executable unit and increments executable program position
|
public connection matrix get cached connection matrix if constructed matrix null return constructed matrix else return build connection matrix
|
returns a cached connection matrix if one has already been constructed
|
public boolean has next executable unit return executable program size executable program position 1
|
tests to see if there is another executable unit
|
public connection matrix build connection matrix log fine building connection matrix for operation get operation id connection matrix matrix new connection matrix initiating actor try process profile matrix get root node null nested profile get top level profile see note on profile bug below reset processed profiles catch nested operation exception noe noe print stack trace constructed matrix matrix return matrix
|
returns a newly constructed connection matrix
|
public void reset executable unit counter executable program position 1
|
resets the executable unit counter
|
public executable unit get executable unit int position return executable program get position
|
returns the executable unit at the given position in the
|
public int get executable program size return executable program size
|
returns the number of executable units in the executable program
|
public executable program get executable program return executable program
|
returns the executable program
|
public void add executable unit to program executable unit unit executable program add unit
|
adds an executable unit to the executable program for this profile
|
public executable program iterable get program iterable return new executable program iterable
|
returns an iterable that can traverse an executable program
|
public boolean operation instance terminated string operation instance id return terminated operations contains operation instance id
|
provide a mechanism for querying the status of an operation instance
|
public object set supporting info final object new supporting info final object ret val supporting info supporting info new supporting info has supporting info true return ret val
|
sets the supporting information object of this notification
|
protected cy network get network with title final string title final set cy network n set cytoscape get network set cy network net string net title final iterator cy network net it n set iterator while net it has next net net it next net title net get title if title null net title null title equals net title return net return null
|
return an existing cy network with a given name
|
protected void tear down1 final boolean fire events manager reset fire events remove cytoscape networks cytoscape destroy network net1 cytoscape destroy network net1 true
|
what to do after each batch of tests
|
public void hide connector nodes final cy network net final set cy node nodes for net delayed hiding map get net if nodes for net null for cy node node nodes for net heutils log delayed removed heutils to string node remove underlying node node net
|
a hack needed to handle deletion of connector nodes
|
public void hide connector nodes final set cy network nets delayed hiding map key set for cy network net nets hide connector nodes net
|
a hack needed to handle deletion of connector nodes
|
private boolean remove hyper edge uuidassoc final hyper edge he return uuid to he map remove he get identifier null
|
remove a uuid hyper edge association
|
private void add hyper edge uuidassoc final hyper edge he final string uuid he get identifier if uuid null throw new hestructural integrity exception found a null uuid final object obj uuid to he map put uuid he if obj null final string msg attempting to add a hyper edge with the same uuid key final hestructural integrity exception e new hestructural integrity exception msg e print stack trace throw e
|
associates a uuid with a hyper edge
|
public void set supporting info final object obj required supporting info obj
|
set the supoorting information of this change tester
|
private void remove node and edge content final bookkeeping item bk item cleanup all the datastructures for the stuff we contain nodes and edges since the node to edges map will change via various methods called copy nodes for cy node node new array list cy node node to edges map key set prim remove node node false bk item
|
remove all nodes and edges within a hyper edge
|
public int get server revision return serverrevision
|
returns the server revision daap tag b musr b
|
public int get session id return sessionid
|
returns the session id daap tag b mlid b
|
public int get item id return itemid
|
returns the item id daap tag b miid b
|
public string get persistent id return persistentid
|
returns the persistent id daap tag b mper b
|
public string get item name return itemname
|
returns the name of the playlist daap tag b minm b
|
public int get item count return itemcount
|
returns the number of items in the playlist daap tag b mimc b
|
public void set content codes content codes content codes this content codes content codes
|
sets the content codes
|
private string get tag name byte data string tag tag char data 0 tag char data 1 tag char data 2 tag char data 3 return tag
|
returns the tag name for the specified block of data
|
public object get object for key string key return values get key
|
returns the value for the specified daap tag
|
public double get daapprotocol version return daap protocol version
|
returns the daap protocol version daap tag b apro b
|
public short get content code type for string tag for int i 0 i codes size i content code code content code codes get i if code get content code number equals tag return code get content code type return 1
|
returns the content code type for the specified daap tag
|
public byte get update type return updatetype
|
returns the update type daap tag b muty b
|
public song get song at index int index return song songs get index
|
returns song at the specified index
|
public int get timeout interval return timeoutinterval
|
returns the timeout interval in seconds daap tag b mstm b
|
public int get songs count return songs size
|
returns the number of songs
|
public byte get authentication method return authenticationmethod
|
returns the authentication method required by the server daap tag b msau b
|
public byte get item kind return itemkind
|
returns the item kind daap tag b mikd b
|
public array list get songs return songs
|
returns an array list of all of the songs
|
public int get container count return containercount
|
returns the number of containers playlists daap tag b mctc b
|
public string get content code number return contentcodenumber
|
returns the daap tag for the content code daap tag b mcnm b
|
public boolean supports autologout return autologout
|
returns true if the server supports auto logout daap tag b msal b
|
public string get content code name return contentcodename
|
returns the descriptive name of the content code daap tag b mcna b
|
public boolean supports update return update
|
returns true if the server supports update daap tag b msup b
|
public int get update type return updatetype
|
returns the update type daap tag b muty b
|
public boolean supports persistent ids return persistentids
|
returns true if the server supports persistent ids daap tag b mspi b
|
public int get databases count return databases size
|
returns the number of databases
|
public int get playlists count return playlists size
|
returns the number of playlists
|
public database get database at index int index return database databases get index
|
returns the specified database
|
public boolean supports extensions return extensions
|
returns true if the server supports extensions daap tag b msex b
|
public playlist get playlist at index int index return playlist playlists get index
|
returns the plalist at the specified index
|
public array list get databases return databases
|
returns an array list of all databases
|
public array list get playlists return playlists
|
returns an array list of all playlists
|
public boolean supports browse return browse
|
returns true if the server supports browse daap tag b msbr b
|
public boolean supports query return query
|
returns true if the server supports query daap tag b msqy b
|
public boolean supports index return index
|
returns true if the servver supoprts index daap tag b msix b
|
public boolean supports resolve return resolve
|
returns true if the server supports resolve daap tag b msrs b
|
public short get disc count return disccount
|
returns the disc count daap tag b asdc b
|
public int get databases count return databasescount
|
returns the database count daap tag b msdc b
|
public short get disc number return discnumber
|
returns the disc number daap tag b asdn b
|
public byte get data kind return datakind
|
returns the data kind daap tag b asdk b
|
public int get sample rate return samplerate
|
returns the sample rate in hz daap tag b assr b
|
public string to string string buffer md5hash new string buffer int byte counter tmp value byte tmp byte for byte counter 0 byte counter 16 byte counter tmp byte new byte md5 bytes byte counter if tmp byte int value 0 tmp value 256 tmp byte int value else tmp value tmp byte int value if tmp value 16 md5hash append 0 md5hash append integer to hex string tmp value return md5hash to string to upper case
|
returns the authenticate string
|
public short get track count return trackcount
|
returns the track count daap tag b astc b
|
public boolean loginrequired return loginrequired
|
returns the server info response code daap tag b msrv b
|
public short get track number return tracknumber
|
returns the track number daap tag b astn b
|
public byte get user rating return userrating
|
returns the user rating daap tag b asur b
|
public short get year return year
|
returns the year daap tag b asyr b
|
public short get beats per minute return beatsperminute
|
returns the beats per minute daap tag b asbt b
|
public short get bit rate return bitrate
|
returns the bit rate daap tag b asbr b
|
public date get date added return dateadded
|
returns the date the song was added daap tag b asda b
|
public date get date modified return datemodified
|
returns the date the song was last modified daap tag b asdm b
|
public lexico lista tokens new linked list token
|
creates a new instance of lexico
|
public int roll throws dice exception try return int math random faces 1 catch exception e throw new dice exception dice constants fail roll e get message
|
rolls a single time a dice
|
public int roll int times throws dice exception int result 0 for int i 0 i times i result roll return result
|
rolls a dice multiple times
|
public dice result roll int faces dice result result new dice result try result set result dice factory create dice faces roll result set message dice constants success roll catch dice exception e result set message e get message return result
|
this method executes a single dice roll by the number of faces
|
public dice result roll multiple times int faces int times dice result result new dice result try result set result dice factory create dice faces roll times result set message dice constants success roll catch dice exception e result set message e get message return result
|
this method executes a times dice roll by the number of faces
|
public dice result roll dice cup int faces dice result result new dice result try for int face faces result set result result get result dice factory create dice face roll result set message dice constants success roll catch dice exception e result set message e get message return result
|
this method executes a single roll for every dice in the dice cup
|
public dice result roll dice cup multiple times int faces int times dice result result new dice result try for int face faces result set result result get result dice factory create dice face roll times result set message dice constants success roll catch dice exception e result set message e get message return result
|
this method executes a multiple roll for every dice in the dice cup
|
public int roll throws dice exception try int result int math random faces 1 partial results 0 result return result catch exception e throw new dice exception dice constants fail roll e get message
|
rolls a single time a dice
|
public int roll int times throws dice exception partial results new int times int result 0 for int i 0 i times i int pres roll partial results i pres result roll return result
|
rolls a dice multiple times
|
public dice result roll int faces dice result result new dice result try dice d dice factory create dice faces result set result d roll result set faces new int faces result set partial results new int d get partial results result set message dice constants success roll catch dice exception e result set message e get message return result
|
this method executes a single dice roll by the number of faces
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.