code
stringlengths
10
174k
nl
stringlengths
3
129k
boolean isLeader(){ return leader; }
Check if the member is the group leader.
public static VOUserSubscription toVOUserSubscription(Subscription subscription,PlatformUser user,LocalizerFacade facade){ return toVOUserSubscription(subscription,user,facade,PerformanceHint.ALL_FIELDS); }
Converts the given domain object to a value object containing the identifying attributes.
public IDComponent(String name,int id){ this.name=name; this.id=id; }
Constructs ID component with given entity name and id. The combination of name and id must be unique.
public Ribbon(Geo x,Geo gc,double radius){ Geo v=x.crossNormalize(gc); Rotation r=new Rotation(v,radius); Geo left=r.rotate(x); point=new Geo[]{left,x,x.add(x.subtract(left))}; }
Create a Ribbon at the point x along the great circle who's normal is gc, and radius is the distance apart in radians.
@Override protected void register(PackagerFactory packagerFactory){ }
Register packager. Doesn't register anything.
public boolean allMembersPresent(){ if (!isFull()) { return false; } for (int i=0; i < eveningActivityNodes.length; i++) { if (!eveningActivityNodes[i].isReadyToShop()) { return false; } } return true; }
Checks if all members of the group have found their way to the meeting point
public boolean isEndOfMibViewValue(){ return (tag == SnmpDataTypeEnums.errEndOfMibViewTag); }
Checks if this <CODE>SnmpNull</CODE> object corresponds to an <CODE>endOfMibView</CODE> value.
public static boolean hasAndroidMarket(Context activity){ final PackageManager packageManager=activity.getPackageManager(); List<PackageInfo> packages=packageManager.getInstalledPackages(PackageManager.GET_UNINSTALLED_PACKAGES); for ( PackageInfo packageInfo : packages) { if (packageInfo.packageName.equals(G...
Indicates whether this is a Google certified device which means that it has Android market etc.
public void show(PopupVPosition vAlign,PopupHPosition hAlign,double initOffsetX,double initOffsetY){ offsetX=0; offsetY=0; Node tempSource=this.source; Bounds bound=tempSource.localToParent(tempSource.getBoundsInLocal()); offsetX=bound.getMinX() + initOffsetX; offsetY=bound.getMinY() + initOffsetY; if (po...
show the popup according to the specified position with a certain offset
public boolean useNewStorage(){ return newStorageButton.getSelection(); }
Should new storage be used.
private List<MockRequest> makeRequests(int count){ Request.Priority[] allPriorities=Request.Priority.values(); Random random=new Random(); List<MockRequest> requests=new ArrayList<MockRequest>(); for (int i=0; i < count; i++) { MockRequest request=new MockRequest(); Request.Priority priority=allPrioriti...
Make a list of requests with random priorities.
private void buildGui(){ final Box toolBarsBox=Box.createVerticalBox(); addNorth(toolBarsBox); final XToolBar infoBar=new XToolBar(); toolBarsBox.add(infoBar); infoBar.add(new XLabel("<html>On this page you can view and install the available <b>Official</b> external modules." + " <b><font color='red'>Restart ...
Builds the GUI of the page.
@Override void doConstrainedViterbiInsideScores(Grammar grammar,boolean level0grammar){ short[] numSubStatesArray=grammar.numSubStates; for (int diff=1; diff <= length; diff++) { for (int start=0; start < (length - diff + 1); start++) { int end=start + diff; final int lastState=(level0grammar) ? 1 :...
Fills in the iScore array of each category over each span of length 2 or more.
@Inject public LdapSynchronizer(ConnectionFactory connFactory,Provider<EntityManager> emProvider,LdapEntrySelector selector,UserDao userDao,ProfileDao profileDao,LdapUserIdNormalizer idNormalizer,EntityListenerInjectionManagerInitializer jpaInitializer,@Named("ldap.sync.period_ms") long syncPeriodMs,@Named("ldap.sync.i...
Creates an instance of synchronizer.
public Builder withGlobalIndex(long index){ request.globalIndex=Assert.argNot(index,index < 0,"global index must not be negative"); return this; }
Sets the request global index.
public ClearCacheRequest(Cache cache,Runnable callback){ super(Method.GET,null,null); mCache=cache; mCallback=callback; }
Creates a synthetic request for clearing the cache.
static public ImplHelper.FieldDesc findField(String fieldName,ImplHelper.FieldDesc[] fields){ for ( ImplHelper.FieldDesc f : fields) { if (f.name.equals(fieldName)) { return f; } } return null; }
Find the field description specified by fieldName in array of field description fields
public String current(){ return urls.get(index.get()); }
Get the current url
public void create(){ receiveImageData(iServer.createImage(proj,scaleToWidth,scaleToHeight)); }
Start the ImageServer on it's creative journey.
public static void printToFile(File file,String message){ printToFile(file,message,false); }
Prints to a file. If the file does not exist, rewrites the file; does not append.
@Override public Vote notConnected(){ return new BooleanVote(false); }
if we cant connect to the node
public void readFromNode(Node d){ super.readFromNode(d); TargetNamespace=DOMUtils.getStringAttribute(d,"TargetNamespace"); NamedNodeMap attribs=d.getAttributes(); for (int i=0; i < attribs.getLength(); i++) { Node attrib=attribs.item(i); String ns=attrib.getNodeName(); String nv=attrib.getNodeValue(...
Reads content from a XML DOM
private void installDefaults(){ setFont(UIManager.getFont("InternalFrame.titleFont")); closeButtonToolTip=UIManager.getString("InternalFrame.closeButtonToolTip"); iconButtonToolTip=UIManager.getString("InternalFrame.iconButtonToolTip"); restoreButtonToolTip=UIManager.getString("InternalFrame.restoreButtonToolTi...
Install defaults, update the Synth Style.
public ByteSendPacket send(byte[] bytes){ return send(bytes,null); }
Send byte array to queue
public void verifyOrThrow(Sha256Hash sigHash,ECDSASignature signature) throws SignatureException { if (!ECKey.verify(sigHash.getBytes(),signature,getPubKey())) throw new SignatureException(); }
Verifies the given R/S pair (signature) against a hash using the public key, and throws an exception if the signature doesn't match
public static Node invokeExpression(String expression,QuerySolution initialBinding,Dataset dataset){ if (dataset == null) { dataset=ARQFactory.get().getDataset(ModelFactory.createDefaultModel()); } Query query=ARQFactory.get().createExpressionQuery(expression); try (QueryExecution qexec=ARQFactory.get().cre...
Calls a SPARQL expression and returns the result, using some initial bindings.
@Override public final double hackcofm(){ double mq=0.0; MathVector tmpPos=new MathVector(); MathVector tmpv=new MathVector(); for (int i=0; i < NSUB; i++) { Node r=subp[i]; if (r != null) { double mr=r.hackcofm(); mq=mr + mq; tmpv.multScalar(r.pos,mr); tmpPos.addition(tmpv); ...
Descend tree finding center of mass coordinates
public NodeEndpoint(final Deserializer deserializer){ this.protocol=deserializer.readString("protocol"); this.host=getNonNormalizedHost(deserializer.readString("host")); this.normalizedHost=getNormalizedHost(this.host); this.port=deserializer.readInt("port"); this.url=this.createUrl(); }
Deserializes a node endpoint.
static public SerialSensorManager instance(){ if (_instance == null) { _instance=new SerialSensorManager(); } return _instance; }
static function returning the SerialSensorManager instance to use.
private MovieChooserModel(){ setName(BUNDLE.getString("chooser.nothingfound")); combinedName=name; }
create the empty search result.
public static CharSequence comments(String comments){ return Html.fromHtml(comments.replace("\n","<br />")); }
Get the formatted review.
protected void upheap(){ int i=m_heap[0].index; MyHeapElement temp; while (i > 1 && m_heap[i].distance > m_heap[i / 2].distance) { temp=m_heap[i]; m_heap[i]=m_heap[i / 2]; i=i / 2; m_heap[i]=temp; } }
performs upheap operation for the heap to maintian its properties.
protected void handlePostExecution(Logger log){ handleException(log); SolrCore.postDecorateResponse(null,solrRequest,solrResponse); if (log.isInfoEnabled() && solrResponse.getToLog().size() > 0) { log.info(solrResponse.getToLogAsString(solrCore.getLogId())); } }
Deal with an exception on the SolrResponse, fill in response header info, and log the accumulated messages on the SolrResponse.
public void highlight(OMGraphic omg){ Debug.output("highlight(" + omg.getClass().getName() + ")"); }
Fleeting change of appearance.
public static void requestUpdateOf(IJavaProject project){ ClasspathContainerInitializer initializer=JavaCore.getClasspathContainerInitializer(CONTAINER_PATH.toString()); try { initializer.requestClasspathContainerUpdate(CONTAINER_PATH,project,null); } catch ( CoreException e) { throw new GradlePluginsRu...
Updates the content of the Gradle classpath container asynchronously on the target project. <p/> This method finds the Gradle classpath container on the project and requests the content update.
@Inject public void initializeTokenTypes(ContentAssistTokenTypeMapper mapper,N4JSGrammarAccess grammarAccess){ BitSet bits=new BitSet(); bits.set(mapper.getInternalTokenType(grammarAccess.getReturnStatementAccess().getReturnKeyword_1())); bits.set(mapper.getInternalTokenType(grammarAccess.getThrowStatementAccess(...
Initializes some local fields from the given grammarAcess and the given mapper. Public for testing purpose.
public void testGetKey(){ DefaultPieDataset d=new DefaultPieDataset(); d.setValue("A",1.0); d.setValue("B",2.0); assertEquals("A",d.getKey(0)); assertEquals("B",d.getKey(1)); boolean pass=false; try { d.getKey(-1); } catch ( IndexOutOfBoundsException e) { pass=true; } assertTrue(pass); p...
Some checks for the getKey(int) method.
void m2(){ Iterable i=java.util.Collections.EMPTY_LIST; empty(i); }
Method invocation, unchecked, inferred arguments inferred: Exception - should fail
private void handleHashtag(Intent intent){ AppLog.v(this,"handleHashtag()"); try { setSharedTexts(null,intent.getData().toString().split("/")[3]); } catch ( Exception e) { AppLog.e(this,e.toString()); } openDiasporaUrl(urls.getNewPostUrl()); }
Handle hashtag clicks. Open the new-post-url and inject the clicked hashtag into the post-editor
public Connection(String clientHandle,String clientId,String host,int port,Context context,MqttAndroidClient client,boolean tlsConnection){ this.clientHandle=clientHandle; this.clientId=clientId; this.host=host; this.port=port; this.context=context; this.client=client; this.tlsConnection=tlsConnection; ...
Creates a connection object with the server information and the client hand which is the reference used to pass the client around activities
public void addSubjectAlternativeName(int tag,String name) throws IOException { GeneralName alt_name=new GeneralName(tag,name); if (subjectAltNames == null) { subjectAltNames=new ArrayList[9]; } if (subjectAltNames[tag] == null) { subjectAltNames[tag]=new ArrayList<GeneralName>(); } subjectAltNames[...
Adds a subject alternative name to the respective criterion.
public String globalInfo(){ return "Converts String attributes into a set of attributes representing " + "word occurrence (depending on the tokenizer) information from the " + "text contained in the strings. The set of words (attributes) is "+ "determined by the first batch filtered (typically training data)."; }
Returns a string describing this filter.
public Object runSafely(Catbert.FastStack stack) throws Exception { if (stack.getUIMgrSafe() == null) return null; PseudoMenu currUI=stack.getUIMgrSafe().getCurrUI(); if (currUI != null) currUI.refresh(); return null; }
Re-evaluates and redraws all UI elements on the current menu
public static ExistsQueryBuilder existsQuery(String name){ return new ExistsQueryBuilder(name); }
A filter to filter only documents where a field exists in them.
protected InlineAssociationEnd_Impl(){ super(); }
<!-- begin-user-doc --> <!-- end-user-doc -->
public static boolean isClassFileName(String filename){ return ResourceUtils.endsWith(filename,".class"); }
Answers whether the file has a <code>.class</code> extension.
public void incEventsReceived(){ this.stats.incInt(eventsReceivedId,1); }
Increments the number of events received by 1.
public ResultChangedEvent(Object source,String url,String user,String pw,String query){ super(source); m_URL=url; m_User=user; m_Password=pw; m_Query=query; }
constructs the event
void perform(ContentHandler handler,SectionState state){ state.addChildMode(getModeUsage(),handler); }
Perform this action.
public YearMonthDay withMinimumValue(){ return setCopy(getMinimumValue()); }
Returns a new YearMonthDay with this field set to the minimum value for this field. <p> The YearMonthDay attached to this property is unchanged by this call.
public static MethodAnnotation fromVisitedMethod(PreorderVisitor visitor){ String className=visitor.getDottedClassName(); MethodAnnotation result=new MethodAnnotation(className,visitor.getMethodName(),visitor.getMethodSig(),visitor.getMethod().isStatic()); SourceLineAnnotation srcLines=SourceLineAnnotation.fromVi...
Factory method to create a MethodAnnotation from the method the given visitor is currently visiting.
public boolean isSetVersionedValue(){ return this.versionedValue != null; }
Returns true if field versionedValue is set (has been assigned a value) and false otherwise
private long completedSize(long target){ if (completed) { return thisNodeSize; } else { SliceTask<P_IN,P_OUT> left=leftChild; SliceTask<P_IN,P_OUT> right=rightChild; if (left == null || right == null) { return thisNodeSize; } else { long leftSize=left.completedSize(target); r...
Compute the number of completed elements in this node. <p> Computation terminates if all nodes have been processed or the number of completed elements is greater than or equal to the target size.
public List<Command> returnCommandObjects(Operation operation,Map<String,Object> keyMap) throws BaseCollectionException, IllegalAccessException, InvocationTargetException { final List<Command> commandList=new ArrayList<Command>(); final int maxCommands=getMaxLength(operation,keyMap); for (int commandIndex=0; comm...
Return Command Objects based on the operation passed in.
public ExecOptionPermissionCollection(){ permissions=new Hashtable<>(11); all_allowed=false; }
Create an empty ExecOptionPermissionCollection.
public void addListener(final ITrackingResultsListener listener){ m_listeners.addListener(listener); }
Adds a new listener object that is notified about changes in the register tracking result.
public void writeWallet(Wallet wallet,OutputStream output) throws IOException { Protos.Wallet walletProto=walletToProto(wallet); walletProto.writeTo(output); }
Formats the given wallet (transactions and keys) to the given output stream in protocol buffer format.<p> Equivalent to <tt>walletToProto(wallet).writeTo(output);</tt>
@Override public boolean isValid(){ return leftGas != null && rightGas != null; }
If this is a valid ChemicalPair
public boolean isApplication(){ return APPLICATION.equals(value); }
Determines if the value is set to "application".
private void viewAbout(){ HelpAbout about=new HelpAbout(); about.createAndShowGui(m_frame); }
view the Help About dialog
@Override public boolean allowGameImages(){ return false; }
Not possible with the current policies of the Google Play Store.
boolean hideNamespace(String namespace,String namespaces){ if (namespace == null || namespace.equals("")) { return false; } else if (namespaces.indexOf(":" + namespace + ":") != -1) { return (namespaces.indexOf(":" + namespace + ":true:") != -1); } else if (namespace.equals("public")) { return f...
Hides a name space from the documentation if its present on the namespaces string.
public static void formatUid(PrintWriter pw,int uid){ if (uid < Process.FIRST_APPLICATION_UID) { pw.print(uid); } else { pw.print('u'); pw.print(getUserId(uid)); final int appId=getAppId(uid); if (appId >= Process.FIRST_ISOLATED_UID && appId <= Process.LAST_ISOLATED_UID) { pw.print('i'); ...
Generate a text representation of the uid, breaking out its individual components -- user, app, isolated, etc.
private static TungstenProperties loadSecurityPropertiesFromFile(String propertiesFileLocation) throws ConfigurationException { TungstenProperties securityProps=null; FileInputStream securityConfigurationFileInputStream=null; if (propertiesFileLocation == null && ClusterConfiguration.getClusterHome() == null) { ...
Loads Security related properties from a file. File location = {clusterhome}/conf/security.properties
private void expandPopulation(){ log.info("Starting the population expansion procedure..."); double weightFactor=0; String message="Please enter the weight factor. Household weights (ie, expansion factors)\n" + "will be multiplied by this value. For example, to generate a full population,\n" + "enter '1.0'. To ge...
A function for expanding the population by a given factor. USE BEFORE CREATING TRIPS.
public FileUpload(HttpServletRequest request){ super(); try { m_error=upload(request); } catch ( Exception e) { log.log(Level.SEVERE,"FileUpload",e); m_error=e.getLocalizedMessage(); if (m_error == null || m_error.length() == 0) m_error=e.toString(); } }
Upload File from requesr
public void add(Term term){ add(new Term[]{term}); }
Add a single term at the next position in the phrase.
public static int[] join(int[]... arrays){ if (arrays.length == 0) { return new int[0]; } if (arrays.length == 1) { return arrays[0]; } int length=0; for ( int[] array : arrays) { length+=array.length; } int[] result=new int[length]; length=0; for ( int[] array : arrays) { System.a...
Join <code>int</code> arrays.
public static void register(PageContext pc){ if (pc == null) return; Thread.currentThread().setContextClassLoader(((ConfigImpl)pc.getConfig()).getClassLoaderEnv()); pcThreadLocal.set(pc); }
register a pagecontext for he current thread
private boolean parseNewline(){ index++; Node lastChild=block.getLastChild(); if (lastChild != null && lastChild instanceof Text && ((Text)lastChild).getLiteral().endsWith(" ")) { Text text=(Text)lastChild; String literal=text.getLiteral(); Matcher matcher=FINAL_SPACE.matcher(literal); int spaces=...
Parse a newline. If it was preceded by two spaces, return a hard line break; otherwise a soft line break.
public static ActorSystem createAndGetActorSystem(){ if (actorSystem == null || actorSystem.isTerminated()) { actorSystem=ActorSystem.create(PcConstants.ACTOR_SYSTEM,conf); } return actorSystem; }
Create and get actor system.
private void layoutComponents(){ setLayout(new GridBagLayout()); setBorder(new CompoundBorder(new TitledBorder(DISPLAY_NAME),new EmptyBorder(6,6,6,6))); setToolTipText(DESCRIPTION); GridBagConstraints c=new GridBagConstraints(); c.anchor=GridBagConstraints.WEST; c.fill=GridBagConstraints.HORIZONTAL; c.gri...
Layout components.
public synchronized OMGraphicList prepare(){ if (cache == null) { Debug.message("dted",getName() + "|DTEDFrameCacheLayer can't add anything to map because the DTEDFrameCache has not been set."); } Projection projection=getProjection(); if (projection == null) { Debug.output("DTED Layer needs to be added...
Prepares the graphics for the layer. This is where the getRectangle() method call is made on the dted. <p> Occasionally it is necessary to abort a prepare call. When this happens, the map will set the cancel bit in the LayerThread, (the thread that is running the prepare). If this Layer needs to do any cleanups during ...
public JSONArray put(int index,Collection<Object> value) throws JSONException { this.put(index,new JSONArray(value)); return this; }
Put a value in the JSONArray, where the value will be a JSONArray which is produced from a Collection.
private static PublicKey generatePublicKey(String encodedPublicKey){ try { byte[] decodedKey=Base64.decode(encodedPublicKey); KeyFactory keyFactory=KeyFactory.getInstance(KEY_FACTORY_ALGORITHM); return keyFactory.generatePublic(new X509EncodedKeySpec(decodedKey)); } catch ( NoSuchAlgorithmException e)...
Generates a PublicKey instance from a string containing the Base64-encoded public key.
private XMPPInputOutputStream maybeGetCompressionHandler(){ if (compressionMethods != null) { for ( XMPPInputOutputStream handler : compressionHandlers) { if (!handler.isSupported()) continue; String method=handler.getCompressionMethod(); if (compressionMethods.contains(method)) r...
Returns the compression handler that can be used for one compression methods offered by the server.
public Option(){ super(); }
Instantiates a new option.
public void print(double dnum){ print(String.valueOf(dnum)); }
Prints the string representation of the specified double to the target.
@Override public StateConnection service() throws IOException { try { ConnectionProtocol request=requestOrCreate(); if (request == null) { log.warning("Unexpected empty request: " + this); return StateConnection.CLOSE; } StateConnection next=request.service(); if (next != StateConnecti...
Service a HTTP request.
public static AsyncResult forMessage(Message m,Object r,Throwable ex){ AsyncResult ret; ret=new AsyncResult(m.obj,r,ex); m.obj=ret; return ret; }
Saves and sets m.obj
protected byte[] engineDoFinal(byte[] input,int inputOffset,int inputLen) throws IllegalBlockSizeException, BadPaddingException { return core.doFinal(input,inputOffset,inputLen); }
Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation. The data is encrypted or decrypted, depending on how this cipher was initialized. <p>The first <code>inputLen</code> bytes in the <code>input</code> buffer, starting at <code>inputOffset</code>, and any input bytes that may hav...
public static void restoreProperties(){ synchronized (defaultProperties) { if (needToRestoreProperties) { java.lang.System.setProperties((java.util.Properties)defaultProperties.clone()); needToRestoreProperties=false; } } }
Restore to their original values all the properties that have been modified during test execution
public AccountHeaderBuilder withOnAccountHeaderSelectionViewClickListener(AccountHeader.OnAccountHeaderSelectionViewClickListener onAccountHeaderSelectionViewClickListener){ this.mOnAccountHeaderSelectionViewClickListener=onAccountHeaderSelectionViewClickListener; return this; }
set a onSelection listener for the selection box
public AnnotationVisitor visitParameterAnnotation(int parameter,String desc,boolean visible){ if (mv != null) { return mv.visitParameterAnnotation(parameter,desc,visible); } return null; }
Visits an annotation of a parameter this method.
protected int match_bitap(String text,String pattern,int loc){ assert (Match_MaxBits == 0 || pattern.length() <= Match_MaxBits) : "Pattern too long for this application."; Map<Character,Integer> s=match_alphabet(pattern); double score_threshold=Match_Threshold; int best_loc=text.indexOf(pattern,loc); if (best...
Locate the best instance of 'pattern' in 'text' near 'loc' using the Bitap algorithm. Returns -1 if no match found.
public void restoreComponentTreeStructure(TreeStructure treeStructure,UIComponent component){ Iterator kids=treeStructure.getChildren(); while (kids.hasNext()) { TreeStructure kid=(TreeStructure)kids.next(); UIComponent child=kid.createComponent(); component.getChildren().add(child); restoreComponen...
Reconstitutes the component tree from TreeStructure hierarchy
@Override public void deletePage(int pageID){ try { super.deletePage(pageID); countWrite(); byte[] array=pageToByteArray(null); long offset=((long)(header.getReservedPages() + pageID)) * (long)pageSize; file.seek(offset); file.write(array); } catch ( IOException e) { throw new RuntimeE...
Deletes the node with the specified id from this file.
@Override public Date valueDate(final Date fixingDate){ QL.require(isValidFixingDate(fixingDate),"Fixing date " + fixingDate + " is not valid"); return this.target.advance(fixingDate,fixingDays,TimeUnit.Days); }
Date calculations
public void removeSupportedExtensions(){ updateSupportedExtensions(); }
Remove supported extensions
private List<ServiceUser> mapToServiceUsers(List<User> users){ List<ServiceUser> list=new ArrayList<ServiceUser>(); for ( User user : users) { list.add(UserMapper.toServiceUser(user)); } return list; }
Transforms a list of user entities into service user entities.
public AndroidAuthenticator(Context context,Account account,String authTokenType){ this(context,account,authTokenType,false); }
Creates a new authenticator.
private void writeObject(java.io.ObjectOutputStream s) throws java.io.IOException { s.defaultWriteObject(); s.writeDouble(get()); }
Saves the state to a stream (that is, serializes it).
public static Set<PackingPlan.ContainerPlan> buildContainerPlans(Map<Integer,List<InstanceId>> containerInstances,Map<String,Long> ramMap,Resource instanceDefaults,double paddingPercentage){ Set<PackingPlan.ContainerPlan> containerPlans=new HashSet<>(); for ( Integer containerId : containerInstances.keySet()) { ...
Estimate the per instance and topology resources for the packing plan based on the ramMap, instance defaults and paddingPercentage.
public BasicRace(String appName){ RaceGUI basicGUI=new RaceGUI(appName); controlPanel=basicGUI.getControlPanel(); controlPanel.addListener(this); track=basicGUI.getTrack(); animator=new Animator(RACE_TIME,this); }
Creates a new instance of BasicRace
public void endVisit(MemberRef node){ }
End of visit the given type-specific AST node. <p> The default implementation does nothing. Subclasses may reimplement. </p>
public ChangePropertiesCommand(final TFSRepository repository,final String[] paths,final PropertyValue[] values){ this(repository,paths,values,RecursionType.NONE,LockLevel.UNCHANGED,PendChangesOptions.NONE,null); }
Pends property changes that set the given values on each given path.
public MalformedURIException(String p_msg){ super(p_msg); }
Constructs a <code>MalformedURIException</code> with the specified detail message.
public MutableByte(final Number value){ super(); this.value=value.byteValue(); }
Constructs a new MutableByte with the specified value.
public long nextLong(){ return nextLong(items); }
Return the next value, skewed by the Zipfian distribution. The 0th item will be the most popular, followed by the 1st, followed by the 2nd, etc. (Or, if min != 0, the min-th item is the most popular, the min+1th item the next most popular, etc.) If you want the popular items scattered throughout the item space, use Scr...
public void run(){ boolean done=false; String str; int res; boolean logged=false; boolean waitpass=false; try { in=new BufferedReader(new InputStreamReader(client.getInputStream())); out=new PrintWriter(client.getOutputStream(),true); out.println("220 tatooine FTP server (SunOS 5.8) ready."); ...
Handles the protocol exchange with the client.