code
stringlengths
10
174k
nl
stringlengths
3
129k
@HLEFunction(nid=0x2A3D44FF,version=150) public int sceKernelGetCallbackCount(@CheckArgument("checkCallbackID") int uid){ SceKernelCallbackInfo callback=getCallbackInfo(uid); if (log.isDebugEnabled()) { log.debug(String.format("sceKernelGetCallbackCount returning count=%d",callback.getNotifyCount())); } ret...
Return the current notifyCount for a specific callback
public long count(){ return xStats.count(); }
Returns the number of pairs in the dataset.
protected void installPreviousButtonListeners(Component c){ installButtonListeners(c,previousButtonHandler); }
Installs the necessary listeners on the previous button, <code>c</code>, to update the <code>JSpinner</code> in response to a user gesture.
public void addDescription(String description){ String desc=getDescription(); if (desc == null) setDescription(description); else setDescription(desc + " | " + description); }
Add to Description
public String toString(){ final String TAB=" "; return "External ( " + "socket = " + this.socket + TAB+ "monitor = "+ this.monitor+ TAB+ "readBuffer = "+ this.readBuffer+ TAB+ "ascii = "+ this.ascii+ TAB+ "lineEndBuffer = "+ this.lineEndBuffer+ TAB+ "first = "+ this.first+ TAB+ "shabang = "+ this.shabang+ TAB+ " )"...
Constructs a <code>String</code> with all attributes in name = value format.
public void addPreBuiltClassifier(Classifier c){ m_preBuiltClassifiers.add(c); }
Add a prebuilt classifier to the list for use in the ensemble
public void close(){ try { this.out.close(); } catch ( IOException e) { e.printStackTrace(); } }
Closes this file for writing.
private static int polarCompare(Coordinate o,Coordinate p,Coordinate q){ double dxp=p.x - o.x; double dyp=p.y - o.y; double dxq=q.x - o.x; double dyq=q.y - o.y; int orient=CGAlgorithms.computeOrientation(o,p,q); if (orient == CGAlgorithms.COUNTERCLOCKWISE) return 1; if (orient == CGAlgorithms.CLOCKWISE)...
Given two points p and q compare them with respect to their radial ordering about point o. First checks radial ordering. If points are collinear, the comparison is based on their distance to the origin. <p> p < q iff <ul> <li>ang(o-p) < ang(o-q) (e.g. o-p-q is CCW) <li>or ang(o-p) == ang(o-q) && dist(o,p) < dist(o,q) ...
private static boolean isEmpty(IContainer container){ if (container instanceof IBlock) { IBlock block=(IBlock)container; return block.getInstructions().isEmpty() || block.contains(AFlag.RETURN); } else if (container instanceof IRegion) { IRegion region=(IRegion)container; for ( IContainer bloc...
Check if container not contains instructions, don't count one 'return' instruction (it will be removed later).
public static void clearKeyboardFocus(final Stage stage){ if (stage != null) { stage.setKeyboardFocus(null); } }
Null-safe method for clearing keyboard focus.
public void testJobNotFailedOverWithStaticProjection() throws Exception { failed.set(false); routed.set(false); try { Ignite ignite1=startGrid(NODE1); Ignite ignite2=startGrid(NODE2); Ignite ignite3=startGrid(NODE3); assert ignite1 != null; assert ignite2 != null; assert ignite3 != null; ...
Tests that in case of failover our predicate is intersected with projection (logical AND is performed).
public byte[] lindex(final byte[] key,final long index){ checkIsInMulti(); client.lindex(key,index); return client.getBinaryBulkReply(); }
Return the specified element of the list stored at the specified key. 0 is the first element, 1 the second and so on. Negative indexes are supported, for example -1 is the last element, -2 the penultimate and so on. <p> If the value stored at key is not of list type an error is returned. If the index is out of range a ...
public SearchScrollRequest scroll(String keepAlive){ return scroll(new Scroll(TimeValue.parseTimeValue(keepAlive,null,getClass().getSimpleName() + ".keepAlive"))); }
If set, will enable scrolling of the search request for the specified timeout.
public boolean hasMyomerBooster(){ for ( Mounted mEquip : getMisc()) { MiscType mtype=(MiscType)mEquip.getType(); if (mtype.hasFlag(MiscType.F_MASC) && !mEquip.isInoperable()) { return true; } } return false; }
does this protomech mount a myomer booster?
public boolean requestReceived(TOMMessage request,boolean fromClient,ServerCommunicationSystem cs){ if (controller.getStaticConf().isBFT() && !verifier.isValidRequest(request.getContent())) return false; request.receptionTime=System.nanoTime(); int clientId=request.getSender(); boolean accounted=false; Clie...
Notifies the ClientsManager that a new request from a client arrived. This method updates the ClientData of the client request.getSender().
private void addException(Segment segment){ if (segment.inIncludeSegments()) { int p=binarySearchExceptionSegments(segment); this.exceptionSegments.add(-(p + 1),segment); } }
Adds a segment as an exception. An exception segment is defined as a segment to exclude from what would otherwise be considered a valid segment of the timeline. An exception segment can not be contained inside an already excluded segment. This is verified inside this method, and if so, no action will occur (the propo...
public FFT(int timeSize,float sampleRate){ super(timeSize,sampleRate); if ((timeSize & (timeSize - 1)) != 0) throw new IllegalArgumentException("FFT: timeSize must be a power of two."); buildReverseTable(); buildTrigTables(); }
Constructs an FFT that will accept sample buffers that are <code>timeSize</code> long and have been recorded with a sample rate of <code>sampleRate</code>. <code>timeSize</code> <em>must</em> be a power of two. This will throw an exception if it is not.
public Builder byYearDay(Integer... yearDays){ return byYearDay(Arrays.asList(yearDays)); }
Adds one or more BYYEARDAY rule parts.
public void remove(LogLine object){ if (mOriginalValues != null) { synchronized (mLock) { mOriginalValues.remove(object); } } else { mObjects.remove(object); } if (mNotifyOnChange) notifyDataSetChanged(); }
Removes the specified object from the array.
public static void log(String msg,Object... args){ StringBuffer sb=new StringBuffer(); sb.append(MessageFormat.format("[{0,number,#}] ",System.currentTimeMillis())); sb.append(MessageFormat.format(msg,args)); doLog(sb.toString()); }
Stores the message in the circular buffer.
@Override public boolean equals(final Object obj){ if (obj == null) { return false; } if (this == obj) { return true; } if (obj instanceof Size) { Size other=(Size)obj; return mWidth == other.mWidth && mHeight == other.mHeight; } return false; }
Check if this size is equal to another size. <p> Two sizes are equal if and only if both their widths and heights are equal. </p> <p> A size object is never equal to any other type of object. </p>
public void addConnectingSocket(Socket socket,InetAddress addr){ synchronized (connectingSockets) { connectingSockets.put(socket,new ConnectingSocketInfo(addr)); } }
keep track of a socket that is trying to connect() for shutdown purposes
public void addImage(BufferedImage img,BufferedImage height,int x,int y){ ChunkImage chunk=new ChunkImage(); chunk.image=img; chunk.height_map=height; chunk.x=x; chunk.y=y; synchronized (chunks) { chunks.add(chunk); } redrawChunk(chunk); }
Add a chunk image to the preview.
public void applyProperties(){ for ( ParameterType type : allParameterTypes) { String value=allParameterValues.getProperty(type.getKey()); ParameterService.setParameterValue(type,value); } }
Applies the properties without saving them.
protected void calculatePartialsPartialsPruning(double[] partials1,double[] matrices1,double[] partials2,double[] matrices2,double[] partials3,int[] matrixMap){ double sum1, sum2; int u=0; int v=0; for (int k=0; k < patternCount; k++) { int w=matrixMap[k] * matrixSize; for (int i=0; i < stateCount; i++)...
Calculates partial likelihoods at a node when both children have partials.
private void renderImage(){ panel.clear(); if (presentation.getImageResource() != null) { Image img=new Image(presentation.getImageResource()); img.setStyleName(toolbarResources.toolbar().iconButtonIcon()); panel.add(img); } else if (presentation.getSVGResource() != null) { SVGImage image=new S...
Redraw icon.
public <E extends GenericEvent>Event waitFor(@NonNull List<Class<? extends E>> eventClasses,long timeout,@NonNull TimeUnit unit) throws InterruptedException { while (true) { Event curEvent=eventQueue.poll(timeout,unit); if (curEvent == null) return null; for ( Class<? extends GenericEvent> curEvent...
Wait for events of the specified event class to appear in the queue. If the event was dispatched before this is called, it will return immediately. Events that do not match the specified event class are discarded
public static void run(Options options) throws Exception { boolean isPub=options.get(OPT_PUB); DevelopmentProvider tp=new DevelopmentProvider(); Topology top; if (isPub) { PublisherApp publisher=new PublisherApp(tp,options); top=publisher.buildAppTopology(); } else { SubscriberApp subscriber=new ...
Build and run the publisher or subscriber application.
void loginByIdInsecure() throws Exception { System.out.println("Half Secure Systems Inc. - login by id"); String id=input("User ID?"); String password=input("Password?"); try { PreparedStatement prep=conn.prepareStatement("SELECT * FROM USERS WHERE " + "ID=" + id + " AND PASSWORD=?"); prep.setString(1,p...
Simulate a login using an insecure method.
public int describeContents(){ return 0; }
Implement the Parcelable interface
public synchronized void unreport(int id){ ThreadPosition tp=array.remove(id); if (tp == null) { } else { if (tp.after == null) { tail=tp.before; } else { tp.after.before=tp.before; } if (tp.before == null) { head=tp.after; } else { tp.before.after=tp.after; } ...
Remove a particular task from the reported position array.
@DSComment("From safe class list") @DSSafe(DSCat.SAFE_LIST) @DSGenerator(tool_name="Doppelganger",tool_version="2.0",generated_on="2013-12-30 12:56:27.817 -0500",hash_original_method="7130CA0E46A667075374433A3B5D2D85",hash_generated_method="C3B932323D38DDFF2F46EAA9B5DA6CB9") public int lastIndexOf(String subString,int ...
Searches for the index of the specified character. The search for the character starts at the specified offset and moves towards the beginning.
protected boolean isValidConnection(IBlockState ownState,IBlockState neighbourState,IBlockAccess world,BlockPos ownPos,EnumFacing neighbourDirection){ return neighbourState.getBlock() instanceof BlockPipeBase; }
Is the neighbouring block a valid connection for this pipe?
@Override public void close(){ }
Close the operator. Does nothing in this case.
public ClientMessage sendMessage(byte[] body,Map<String,Object> properties){ ClientMessage message=createMessage(body); sendMessage(message); return message; }
Create a new ClientMessage with the specified body and and properties and send to the server
ConcurrentSkipListMap.Node<K,V> loNode(Comparator<? super K> cmp){ if (lo == null) return m.findFirst(); else if (loInclusive) return m.findNear(lo,GT | EQ,cmp); else return m.findNear(lo,GT,cmp); }
Returns lowest node. This node might not be in range, so most usages need to check bounds.
public pre addElement(String hashcode,Element element){ addElementToRegistry(hashcode,element); return (this); }
Adds an Element to the element.
private void readObject(java.io.ObjectInputStream in) throws NotSerializableException { throw new NotSerializableException("Not serializable."); }
Throws NotSerializableException, since NodeChangeEvent objects are not intended to be serializable.
public ClientResponse head(URI url){ return _client.resource(url).head(); }
Get attribute information about resource.
public void addMacroRecord(MacroRecord record){ if (record != null) macroRecords.add(record); }
Adds a macro record to this macro.
protected void startTour(){ hopscotchTour.init(); if (domElementHelper == null) { domElementHelper=new DomElementHelper(); } this.tour=new Tour(tourName); GwtTour.listen("end",new EndFunction()); GwtTour.startTour(tour); inProgress=true; Map<String,String> data=new HashMap<>(); data.put("name",tou...
Starts the tour. If will start to listen on the end action.
public synchronized void start(){ if (log.isInfoEnabled()) { log.info("Starting EsperIO HTTP Adapter for engine URI '" + engineURI + "'"); } EPServiceProviderSPI engineSPI=(EPServiceProviderSPI)EPServiceProviderManager.getProvider(engineURI); for ( Request request : config.getRequests()) { EventType ev...
Start the DDS endpoint.
private void showFeedback(String message){ if (myHost != null) { myHost.showFeedback(message); } else { System.out.println(message); } }
Used to communicate feedback pop-up messages between a plugin tool and the main Whitebox user-interface.
public void doHealthStatus(HttpServletRequest req,HttpServletResponse resp) throws IOException { if (log.isInfoEnabled()) { log.info(WITHOUT_JINI_MSG); } }
Basic server health info
@AfterClass public static void tearDownClass() throws Exception { }
Cleanup after testing.
public static boolean addSmeltingRecipe(ItemStack aInput,ItemStack aOutput){ aOutput=GT_OreDictUnificator.get(true,aOutput); if (aInput == null || aOutput == null || GT_Utility.getContainerItem(aInput,false) != null) return false; if (!GregTech_API.sRecipeFile.get(ConfigCategories.Machines.smelting,aInput,true)...
Just simple Furnace smelting. Unbelievable how Minecraft fails at making a simple ItemStack->ItemStack mapping...
protected void storeState(){ partialBufferHelper.storeState(); for ( SubstitutionModelDelegate substitutionModelDelegate : substitutionModelDelegates) { substitutionModelDelegate.storeState(); } if (useScaleFactors || useAutoScaling) { scaleBufferHelper.storeState(); System.arraycopy(scaleBufferInd...
Stores the additional state other than model components
public static String serializeDigestResponse(Map<String,String> paramMap){ StringBuilder sb=new StringBuilder("Digest "); boolean prefixComma=false; for ( Map.Entry<String,String> entry : paramMap.entrySet()) { if (!prefixComma) { prefixComma=true; } else { sb.append(", "); } sb.appe...
Serialize a parameter map into a digest response. This is used as the "Authorization" header in the request. All parameters in the supplied map will be added to the header.
public boolean isPhraseHighlight(){ return phraseHighlight; }
return whether phraseHighlight or not.
protected void enu2ecef(double ecefVector[],double latitude,double longitude,double enuVector[]){ double temp[][]=new double[3][3]; double clat=Math.cos(latitude); double slat=Math.sin(latitude); double clon=Math.cos(longitude); double slon=Math.sin(longitude); temp[0][0]=-slon; temp[0][1]=-clon * slat; ...
Internal conversion routine.
public SerialLight(String systemName,String userName){ super(systemName,userName); initializeLight(systemName); }
Create a Light object, with both system and user names. <P> 'systemName' was previously validated in SerialLightManager
@SuppressWarnings("unchecked") @Override public void eSet(int featureID,Object newValue){ switch (featureID) { case N4mfPackage.REQUIRED_RUNTIME_LIBRARIES__REQUIRED_RUNTIME_LIBRARIES: getRequiredRuntimeLibraries().clear(); getRequiredRuntimeLibraries().addAll((Collection<? extends RequiredRuntimeLibraryDependency...
<!-- begin-user-doc --> <!-- end-user-doc -->
public void stop(){ stopTime=System.currentTimeMillis(); running=false; }
Stop the timer.
@Override public void onDestroyed(CameraView cv) throws Exception { stop(); }
Public because Java interfaces are intrinsically public. This method is not part of the class' API and should not be used by third-party developers.
private void processImport(DetailAST aAST){ final FullIdent name=FullIdent.createFullIdentBelow(aAST); if ((name != null) && !name.getText().endsWith(".*")) { imports.add(name); } }
Collects the details of imports.
public void remove(){ throw new UnsupportedOperationException(); }
Operation is not supported.
public final GVector interpolateToSelf(GVector v,double alpha){ if (v.length != length) { throw new MatrixSizeException(); } for (int i=0; i < length; i++) { values[i]+=(v.values[i] - values[i]) * alpha; } return this; }
Linearly interpolates this vector to the target vector and places result in this vector. result = this + (target-this)*alpha. The target vector needs to be equal sized.
private void close(){ if (getSupportFragmentManager().getBackStackEntryCount() > 0) { getSupportFragmentManager().popBackStack(); } else { finish(); } }
Closes the fragments embedded in this activity, if there are no fragments on the backstack, it finishes the activity
public static FetchBulkEntriesResponse send(InternalDistributedMember recipient,PartitionedRegion r,HashMap<Integer,HashSet> bucketKeys,HashSet<Integer> bucketIds,String regex,boolean allowTombstones) throws ForceReattemptException { Assert.assertTrue(recipient != null,"FetchBulkEntriesMessage NULL reply message"); ...
Sends a PartitionedRegion message to fetch all the entries for a bucketId
public FireworkEffectBuilder trail(boolean trail){ this.trail=trail; return this; }
Set whether the firework effect should have a trail.
protected void checkDimensions() throws Exception { if (getFilters().length != getRanges().length) { throw new IllegalArgumentException("Number of filters (= " + getFilters().length + ") "+ "and ranges (= "+ getRanges().length+ ") don't match!"); } }
checks whether the dimensions of filters and ranges fit together.
public void ifJump(String jumpLabel) throws IOException { writeJump(jumpLabel,IF); }
SWFActions interface
protected boolean afterSave(boolean newRecord,boolean success){ if (newRecord) { MRole[] roles=MRole.getOf(getCtx(),"IsManual='N'"); for (int i=0; i < roles.length; i++) { MProcessAccess pa=new MProcessAccess(this,roles[i].getAD_Role_ID()); pa.saveEx(); } } else if (is_ValueChanged("IsAct...
After Save
public Attributes(int size){ map=new HashMap<>(size); }
Constructs a new, empty Attributes object with the specified initial size.
public WbXmlElement addAttribute(WbXmlAttribute attribute){ this.attributes.add(attribute); return this; }
Add a new attribute to the list of attributes.
public Object runSafely(Catbert.FastStack stack) throws Exception { boolean matchPasses=getBool(stack); String technique=getString(stack); MediaNode node=getMediaNode(stack); node.setFiltering(VFSFactory.getInstance().getFilter(technique,matchPasses)); return null; }
Sets the filtering techniques used by the specified MediaNode hierarchy. This effects all levels of the hierarchy. Filters can either be inclusive or exclusive. This method will clear all other filters and set this as the only filter. Valid filtering technique names are: Directories, Pictures, Videos, Music, DVD, BluRa...
public Matrix4f m03(float m03){ this.m03=m03; this._properties(0); return this; }
Set the value of the matrix element at column 0 and row 3
private static boolean isInHorizontalTargetZone(float x,float y,float handleXStart,float handleXEnd,float handleY,float targetRadius){ if (x > handleXStart && x < handleXEnd && Math.abs(y - handleY) <= targetRadius) { return true; } return false; }
Determines if the specified coordinate is in the target touch zone for a horizontal bar handle.
private String markdownBlockquote(String value){ return "> " + value.replace("\n","\n> "); }
Blockquotes a string in Markdown format.
static int mergeBasicConstraints(X509Certificate cert,int maxPathLength){ int pathLenConstraint=cert.getBasicConstraints(); if (!X509CertImpl.isSelfIssued(cert)) { maxPathLength--; } if (pathLenConstraint < maxPathLength) { maxPathLength=pathLenConstraint; } return maxPathLength; }
Merges the specified maxPathLength with the pathLenConstraint obtained from the certificate.
public void invokeMethodSynchronously(HDSApiFactory hdsApiFactory,String asyncMessageId,HDSJob job) throws Exception { if (asyncMessageId != null) { try { waitForAsyncHDSJob(job.getStorageSystemURI(),asyncMessageId,job,hdsApiFactory); } catch ( Exception ex) { log.error("Exception occurred whi...
Makes a call to Hicommand DM and returns the response back to the caller. If the HDS call is a asynchronous, it waits for the HDS job to complete before returning. This is done to allow callers to make consecutive asynchronous calls without the need for a workflow. <em>This function should be used for asynchronous HDS ...
private boolean isVowel(char ch){ return VOWELS.indexOf(ch) != -1; }
Determines whether or not a character is a vowel or not
private void returnData(Object ret){ if (myHost != null) { myHost.returnData(ret); } }
Used to communicate a return object from a plugin tool to the main Whitebox user-interface.
protected <T extends KeySpec>T engineGetKeySpec(Key key,Class<T> keySpec) throws InvalidKeySpecException { BigInteger p, q, g, x, y; if (key != null) { if (keySpec == null) { throw new NullPointerException("keySpec == null"); } if (key instanceof DSAPrivateKey) { DSAPrivateKey privateKey=(DS...
This method returns a specification for the supplied key. The specification will be returned in the form of an object of the type specified by keySpec.
public GetContainerLogsParams withContainer(@NotNull String container){ requireNonNull(container); this.container=container; return this; }
Adds container to this parameters.
public Boolean isIPVersion6(){ return ipVersion6; }
Ruft den Wert der ipVersion6-Eigenschaft ab.
@Override public Object eGet(int featureID,boolean resolve,boolean coreType){ switch (featureID) { case UmplePackage.TRACE_LEVEL___TRACE_LEVEL_1: return getTrace_level_1(); } return super.eGet(featureID,resolve,coreType); }
<!-- begin-user-doc --> <!-- end-user-doc -->
@SuppressWarnings("unchecked") public T withIndex(long index){ response.index=Assert.argNot(index,index < 0,"index cannot be negative"); return (T)this; }
Sets the response index.
private void updateProgress(int progress){ if (myHost != null && progress != previousProgress) { myHost.updateProgress(progress); } previousProgress=progress; }
Used to communicate a progress update between a plugin tool and the main Whitebox user interface.
public void toFile(String filename){ Out out=new Out(filename); out.print(this.toString()); out.close(); }
Writes this failure case to a file.
private void returnData(Object ret){ if (myHost != null) { myHost.returnData(ret); } }
Used to communicate a return object from a plugin tool to the main Whitebox user-interface.
@Override public boolean equals(Object other){ if (other == this) return true; if (other == null) return false; if (!(other instanceof DistributionLocatorId)) return false; final DistributionLocatorId that=(DistributionLocatorId)other; if (this.host != that.host && !(this.host != null && this.host.equal...
Indicates whether some other object is "equal to" this one.
private MavenProject createProjectFromPom(File pom){ Model model=new Model(); try { model=POM_READER.read(new FileReader(pom)); } catch ( Exception e) { throw new IllegalStateException("Caught Exception reading pom.xml",e); } MavenProject project=new MavenProject(model); project.setFile(pom); re...
Creates a MavenProject from a given POM.XML file.
private void processColumnValuesForOneChunk(int chunkCountForSegment) throws IOException { deleteStorePath(); CarbonDictionaryWriterImpl writer=prepareWriter(); writer.write(convertStringListToByteArray(dataSet1)); writer.close(); writer.commit(); long end_offset=CarbonUtil.getFileSize(this.dictionaryFilePa...
this method will test the functionality of writing and reading one dictionary chunk
public void testDoubleMissing() throws IOException { Directory dir=newDirectory(); RandomIndexWriter writer=new RandomIndexWriter(random(),dir); Document doc=new Document(); writer.addDocument(doc); doc=new Document(); doc.add(new DoublePoint("value",-1.3)); doc.add(new StoredField("value",-1.3)); write...
Tests sorting on type double with a missing value
private void showFeedback(String message){ if (myHost != null) { myHost.showFeedback(message); } else { System.out.println(message); } }
Used to communicate feedback pop-up messages between a plugin tool and the main Whitebox user-interface.
public static StringBuilder formatBit(StringBuilder buf,boolean b){ return buf.append(b ? '1' : '0'); }
Format a boolean value as string "1" or "0".
protected void engineSetMode(String mode){ if (!mode.equalsIgnoreCase("ECB")) { throw new IllegalArgumentException("can't support mode " + mode); } }
should never be called.
public static void normalizeRows(float[][] input){ for (int i=0; i < input.length; ++i) { normalize(input[i]); } }
Normalizes each row in a matrix, in place.
@Override protected void beforeExecute(Thread t,Runnable r){ if (isAppendTaskName()) { NamedThreadPoolHelper.changeNameBeforeExecute(t,r); } super.beforeExecute(t,r); }
Changes executing thread name to append the task name if appendTaskName is set to true.
public String rulesMustContainTipText(){ return "Only print rules that contain these items. Provide " + "a comma separated list of attribute names."; }
Returns the tip text for this property
public FunctionAlias findFunction(String functionAlias){ return functions.get(functionAlias); }
Try to find a user defined function with this name. This method returns null if no object with this name exists.
public CDetachAction(final JFrame parent,final IFrontEndDebuggerProvider debugger){ m_parent=Preconditions.checkNotNull(parent,"IE00293: Parent argument can not be null"); m_debugger=Preconditions.checkNotNull(debugger,"IE01532: Debugger argument can not be null"); putValue(Action.SHORT_DESCRIPTION,"Detach"); }
Creates a new detach action.
private WindowsFileAttributes(int fileAttrs,long creationTime,long lastAccessTime,long lastWriteTime,long size,int reparseTag,int volSerialNumber,int fileIndexHigh,int fileIndexLow){ this.fileAttrs=fileAttrs; this.creationTime=creationTime; this.lastAccessTime=lastAccessTime; this.lastWriteTime=lastWriteTime; ...
Initialize a new instance of this class
public static String tranDateTime2Date(String strTime){ try { SimpleDateFormat formatter=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss",Locale.getDefault()); formatter.setTimeZone(timeZone); Date d=formatter.parse(strTime); SimpleDateFormat formatter2=new SimpleDateFormat("yyyy-MM-dd",Locale.getDefault())...
"2014-01-16 18:59:00" => "2014-01-16"
public GroupByClause(){ groupByExpressions=new ArrayList<GroupByClauseExpression>(); }
Ctor - for use to create an expression tree, without child expression. <p> Use add methods to add child expressions to acts upon.
public PacketBYE(){ super(PT_BYE); }
A BYE packet terminates the connection to XBMC.
public void requestContactCapabilities(Set<ContactId> contacts) throws RcsServiceNotRegisteredException, RcsServiceNotAvailableException, RcsGenericException { if (mApi == null) { throw new RcsServiceNotAvailableException(); } if (contacts == null || contacts.isEmpty()) { throw new RcsIllegalArgumentExcep...
Requests capabilities for a group of remote contacts. This method initiates in background new capability requests to the remote contact by sending a SIP OPTIONS. The result of the capability request is sent asynchronously via callback method of the capabilities listener. The parameter contacts supports the following fo...
public InvalidCipherTextException(String message){ super(message); }
create a InvalidCipherTextException with the given message.
public CTraceListWrapper(final TraceList traceList){ m_traceList=traceList; }
Creates a new wrapper object.