code
stringlengths
10
174k
nl
stringlengths
3
129k
@DSSafe(DSCat.SAFE_OTHERS) @DSGenerator(tool_name="Doppelganger",tool_version="2.0",generated_on="2013-12-30 13:01:06.715 -0500",hash_original_method="32329B6D4EFC7F65437C2D09A5400721",hash_generated_method="7B6C0E97C0EA9A758302804A5C5B251B") @Override public int available() throws IOException { return end - pos; }
Returns the number of bytes available for reading without blocking.
private final int pixel(int x,int y){ if (x < 0 || y < 0 || x >= width || y >= height) { return 0; } return raster[y * width + x]; }
Returns a pixel from the source image
public boolean isEnqueued(){ return (this.queue == ReferenceQueue.ENQUEUED); }
Tells whether or not this reference object has been enqueued, either by the program or by the garbage collector. If this reference object was not registered with a queue when it was created, then this method will always return <code>false</code>.
@Override public void initGui(){ autoMaximize=WurstClient.INSTANCE.files.loadAutoMaximize(); buttonList.clear(); buttonList.add(new GuiButton(0,width / 2 - 100,height / 4 + 144 - 16,200,20,"Back")); buttonList.add(new GuiButton(1,width / 2 - 154,height / 4 + 24 - 16,100,20,"Click Friends: " + (WurstClient.INSTA...
Adds the buttons (and other controls) to the screen in question.
public Instances retrieveInstances() throws Exception { return retrieveInstances(m_Query); }
Makes a database query using the query set through the -Q option to convert a table into a set of instances
public void resetTheme(){ setTheme(originalTheme); }
Resets the theme to what was specified in the board file.
public ExclusivePositionUpdater(String category){ fCategory=category; }
Creates a new updater for the given <code>category</code>.
public String[] allKeys(){ return dict.keySet().toArray(new String[count()]); }
Gets a list of all keys used in this NSDictionary.
private RFC1960SimpleFilter(final String id,final int comparator,final String value){ this.id=id; this.comparator=comparator; this.value=value; }
create a new filter.
protected POInfo initPO(Properties ctx){ POInfo poi=POInfo.getPOInfo(ctx,Table_ID,get_TrxName()); return poi; }
Load Meta Data
protected void clearRegion(Graphics2D g,Rectangle2D r){ g.setColor(getBackground()); g.fill(r); firePrePaint(g); }
Clears the specified region of the display in the display's offscreen buffer.
public void addWarning(String message){ warnings.add(new Warning(message)); }
Adds a parse warning.
@SuppressWarnings("unchecked") private void notifyGraphListeners(GraphEvent ge){ Vector<EventListener> l; synchronized (this) { l=(Vector<EventListener>)m_graphListeners.clone(); } if (l.size() > 0) { for (int i=0; i < l.size(); i++) { ((GraphListener)l.elementAt(i)).acceptGraph(ge); } } }
Notify all graph listeners of a graph event
public int hashCode(){ return this.getName().hashCode(); }
Returns the hash code value for this object. The hash code used is the hash code of the name, that is, <code>getName().hashCode()</code>, where <code>getName</code> is from the Permission superclass.
public boolean hasType(){ return getType() != null; }
Returns whether it has the type for the transaction (can be "Buy", "Sell", "Buy to Cover" or "Sell Short").
public RrdGraphDefTemplate(String xmlString) throws IOException { super(xmlString); }
Creates template object from the string containing XML template code
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 void sequence_AnnotatedExpression_ClassExtendsClause_ClassImplementsList_Members_N4ClassExpression(ISerializationContext context,N4ClassExpression semanticObject){ genericSequencer.createSequence(context,semanticObject); }
Contexts: PrimaryExpression<Yield> returns N4ClassExpression PrimaryExpression returns N4ClassExpression LeftHandSideExpression<Yield> returns N4ClassExpression LeftHandSideExpression returns N4ClassExpression LeftHandSideExpression.ParameterizedCallExpression_1_0<Yield> returns N4ClassExpression LeftHandSideExpression...
@Override public boolean exists(){ return (resolveURL() != null); }
This implementation checks for the resolution of a resource URL.
public boolean isProcessed(){ Object oo=get_Value(COLUMNNAME_Processed); if (oo != null) { if (oo instanceof Boolean) return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; }
Get Processed.
@GET @Path("/{id}/projects") @Produces({MediaType.APPLICATION_XML,MediaType.APPLICATION_JSON}) public ProjectList listProjects(@PathParam("id") URI id){ TenantOrg tenant=getTenantById(id,false); StorageOSUser user=getUserFromContext(); NamedElementQueryResultList projects=new NamedElementQueryResultList(); if (...
List projects the user is authorized to see
public DisabledAlgorithmConstraints(String propertyName){ this(propertyName,new AlgorithmDecomposer()); }
Initialize algorithm constraints with the specified security property.
@Override protected EClass eStaticClass(){ return UmplePackage.eINSTANCE.getPostcondition_(); }
<!-- begin-user-doc --> <!-- end-user-doc -->
public void undeploy(String name,URL apiEndpoint,String org,String space,String email,String password,String namespace){ CloudFoundryOperations operations=appDeployerFactory.getOperations(email,password,apiEndpoint,org,space); operations.applications().delete(DeleteApplicationRequest.builder().name(name).deleteRout...
Undeploy a module
public FacebookOperationCanceledException(Throwable throwable){ super(throwable); }
Constructs a FacebookOperationCanceledException with an inner error.
public String randomSeedTipText(){ return "Sets the random number seed for subsampling."; }
Returns the tip text for this property
public int nextSpanTransition(int start,int limit,Class kind){ int count=mSpanCount; Object[] spans=mSpans; int[] starts=mSpanStarts; int[] ends=mSpanEnds; int gapstart=mGapStart; int gaplen=mGapLength; if (kind == null) { kind=Object.class; } for (int i=0; i < count; i++) { int st=starts[i]; ...
Return the next offset after <code>start</code> but less than or equal to <code>limit</code> where a span of the specified type begins or ends.
public double SumOutlinkAuthorityScore(Page page){ List<String> outLinks=page.getOutlinks(); double authScore=0; for (int i=0; i < outLinks.size(); i++) { Page outLink=pTable.get(outLinks.get(i)); if (outLink != null) { authScore+=outLink.authority; } } return authScore; }
Calculate the Hub score of a page by summing the Authority scores of that page's outlinks.
private void applyLtp(SingleChannelElement sce){ LongTermPrediction ltp=sce.ics.ltp; final int offsets[]=sce.ics.swbOffset; if (sce.ics.windowSequence[0] != EIGHT_SHORT_SEQUENCE) { final float predTime[]=sce.ret; final float predFreq[]=ac.bufMdct; int numSamples=2048; if (ltp.lag < 1024) { n...
Apply the long term prediction
public boolean isExpired(long now){ return this.expired || this.expiryTime < now; }
Indicates whether this timer has expired.
public static Evaluator createEvaluator(String text){ if (isNumeric(text)) { return new IndexEvaluator(text); } else if (text.startsWith("@")) { return new AttributeEvaluator(text); } else if (text.indexOf(IndexEvaluator.FUNC_LAST) != -1) { return new IndexEvaluator(text); } else if (text.i...
Construct an evaluator for a given predicate expression.
public DataWrapper(DataSet dataSet){ setDataModel(dataSet); }
Constructs a data wrapper using a new DataSet as data model.
public void edit(FieldAccess f) throws CannotCompileException { }
Edits a field-access expression (overridable). Field access means both read and write. The default implementation performs nothing.
@DSGenerator(tool_name="Doppelganger",tool_version="2.0",generated_on="2014-09-03 15:00:04.654 -0400",hash_original_method="BF22B7A975DB3BA3F07BF46A35715819",hash_generated_method="F604701E87295F6269AEA64A13C5EBD8") protected Object engineGetParameter(String param) throws InvalidParameterException { if (param == null...
Deprecated method.
private void readObject(java.io.ObjectInputStream s) throws java.io.IOException, ClassNotFoundException { s.defaultReadObject(); int length=s.readInt(); this.longs=new AtomicLongArray(length); for (int i=0; i < length; i++) { set(i,s.readDouble()); } }
Reconstitutes the instance from a stream (that is, deserializes it).
public static boolean isSignedLong(String s){ if (isEmpty(s)) return defaultEmptyOK; try { Long.parseLong(s); return true; } catch ( Exception e) { return false; } }
Returns true if all characters are numbers; first character is allowed to be + or - as well. Does not accept floating point, exponential notation, etc.
public FBUserManager(GDSType gdsType){ super(gdsType); }
Create a new instance of <code>FBMaintenanceManager</code> based on a given GDSType.
public boolean isReadable(long arc){ switch ((int)arc) { case 3: case 2: return true; default : break; } return false; }
Returns true if "arc" identifies a readable scalar object.
@Override public Enumeration<Option> listOptions(){ Vector<Option> newVector=new Vector<Option>(8); newVector.addElement(new Option("\tSet minimum number of instances per leaf " + "(default 2).","M",1,"-M <minimum number of instances>")); newVector.addElement(new Option("\tSet minimum numeric class variance propo...
Lists the command-line options for this classifier.
@Override public Object eGet(int featureID,boolean resolve,boolean coreType){ switch (featureID) { case StextPackage.EVENT_VALUE_REFERENCE_EXPRESSION__VALUE: return getValue(); } return super.eGet(featureID,resolve,coreType); }
<!-- begin-user-doc --> <!-- end-user-doc -->
protected SwapSpaceSpi spi(){ return new FileSwapSpaceSpi(); }
Creates a SwapSpaceSpi.
@Override public boolean isActive(){ return amIActive; }
Used by the Whitebox GUI to tell if this plugin is still running.
synchronized public long routeData(boolean force){ long dataCount=-1l; Node identity=engine.getNodeService().findIdentity(); if (identity != null) { if (force || engine.getClusterService().lock(ClusterConstants.ROUTE)) { try { if (firstTimeCheckForAbandonedBatches) { engine.getOutgoing...
This method will route data to specific nodes.
public void add(ByteString namespace,ByteString key,ByteString value){ if (namespace != null && key != null && value != null) { modifyNamespace(namespace).put(key,value); } }
Add a value to a key within a specified namespace. Nulls are ignored.
protected CCSpriteFrame(CCTexture2D texture,CGRect rect,CGPoint offset){ this(texture,rect,offset,rect.size,false); }
Initializes a CCSpriteFrame with a texture, rect and offset. It is assumed that the frame was not trimmed.
public void testEncodeZigZag() throws Exception { assertEquals(0,CodedOutputStream.encodeZigZag32(0)); assertEquals(1,CodedOutputStream.encodeZigZag32(-1)); assertEquals(2,CodedOutputStream.encodeZigZag32(1)); assertEquals(3,CodedOutputStream.encodeZigZag32(-2)); assertEquals(0x7FFFFFFE,CodedOutputStream.enco...
Test encodeZigZag32() and encodeZigZag64().
public ServerResponseInterface newSIPServerResponse(SIPResponse sipResponse,MessageChannel messageChannel){ SIPTransactionStack theStack=(SIPTransactionStack)messageChannel.getSIPStack(); SIPTransaction tr=(SIPTransaction)((SIPTransactionStack)theStack).findTransaction(sipResponse,false); if (sipStack.isLoggingEn...
Generate a new server response for the stack.
public static byte[] previousLexicographicName(@Nonnull byte[] name){ Preconditions.checkArgument(name.length <= Cell.MAX_NAME_LENGTH,"name is too long"); Preconditions.checkArgument(name.length > 0,"name is empty"); if (name[name.length - 1] == 0) { byte[] ret=new byte[name.length - 1]; System.arraycopy(...
This will return the first byte[] less than the given byte[] lexicographically. <p> If name is the array <code> new byte[] { 0 }</code> an empty byte[] will be returned. <p> This method will throw if the empty byte array is passed. It will also reject arrays with length greater than <code>Cell.MAX_NAME_LENGTH</code>
private CIMObjectPath createInstance(String className,CIMProperty<?>[] properties) throws WBEMException { s_logger.trace("className :{}",className); s_logger.trace("properties :{}",properties); WBEMClient cimClient=_connection.getCimClient(); String interopNS=_connection.getInteropNamespace(); CIMObjectPath p...
Creates an instance in the CIMOM. The instance name is included as one of the properties and/or derived by the CIMOM.
public Separator(){ this(null); }
Creates a new toolbar separator with the default size as defined by the current look and feel.
public void appendProperty(String property,Properties src){ getPropertyHandler().appendProperty(property,src); }
Append the given property into the current properties
public IndexTable(double[] array){ this(DoubleList.unmodifiableView(array,array.length)); }
Creates a new index table based on the given array. The array will not be altered.
@Override void writeStream(OutputStream os,byte[] buffer,int rowOffset) throws IOException { }
Writes the column data to the output stream. Blobs write nothing in this phase, writing the blobs after all the fixed columns.
private void verifyReservedBit2(WebSocketFrame frame) throws WebSocketException { if (frame.getRsv2() == false) { return; } throw new WebSocketException(WebSocketError.UNEXPECTED_RESERVED_BIT,"The RSV2 bit of a frame is set unexpectedly."); }
Verify the RSV2 bit of a frame.
public void replaceFromToWithFrom(int from,int to,AbstractShortList other,int otherFrom){ if (!(other instanceof ShortArrayList)) { super.replaceFromToWithFrom(from,to,other,otherFrom); return; } int length=to - from + 1; if (length > 0) { checkRangeFromTo(from,to,size()); checkRangeFromTo(other...
Replaces a number of elements in the receiver with the same number of elements of another list. Replaces elements in the receiver, between <code>from</code> (inclusive) and <code>to</code> (inclusive), with elements of <code>other</code>, starting from <code>otherFrom</code> (inclusive).
public ApplicationIdVerifier(Set<String> supportedApplicationIds){ this.supportedApplicationIds=Collections.unmodifiableSet(new HashSet<String>(supportedApplicationIds)); }
Constructs a new application ID verifier with the provided set of supported application IDs. If the set is empty, this verifier will support any application ID (including null values).
public SwarmGame(long seed){ super(seed); }
Creates a SwarmGame simulation with the given random number seed.
private void filterOnBehalfUserList(List<PlatformUser> userList){ Iterator<PlatformUser> iterator=userList.iterator(); while (iterator.hasNext()) { PlatformUser onbehalfUser=iterator.next(); if (!getPlatformUsers().contains(onbehalfUser.getMaster().getMasterUser())) { iterator.remove(); } } }
Filter all user which are not belonging to the customer organization.
public void secondLOSHex(BoardViewEvent b,Coords c){ }
Sent when secondLOS is set. The default behavior is to do nothing.
private static void checkNonDebugLabel(final Label label){ Field f=getLabelStatusField(); int status=0; try { status=f == null ? 0 : ((Integer)f.get(label)).intValue(); } catch ( IllegalAccessException e) { throw new Error("Internal error"); } if ((status & 0x01) != 0) { throw new IllegalArgum...
Checks that the given label is not a label used only for debug purposes.
@Override @Transient public boolean isFullTextSearchable(){ return true; }
Override the gisFeature value.<br> Default to true;<br> If this field is set to false, then the object won't be synchronized with the fullText search engine
private static String cleanMethodName(final String methodName){ if (methodName.endsWith("]")) { return methodName.substring(0,methodName.indexOf("[")); } return methodName; }
If using "parameterized test" junit will append an identifier to the end of the method name which prevents it from being found via reflection. This method removes that suffix.
public static boolean areAllTagsEnabled(){ return enableAllTags; }
Checks whether all logging is enabled;
public String branchForInstance(Instance inst){ return m_split.branchForInstance(inst); }
Return the branch that the supplied instance goes down
@Override public boolean isStateless(FacesContext facesContext,String viewId) throws IllegalStateException { if (facesContext.isPostback()) { String compoundId=getStateParamValue(facesContext); if (compoundId != null && "stateless".equals(compoundId)) { return true; } return false; } throw n...
Is stateless.
private boolean isFreshnessLifetimeHeuristic(){ return maxAgeSeconds == -1 && expires == null; }
Returns true if computeFreshnessLifetime used a heuristic. If we used a heuristic to serve a cached response older than 24 hours, we are required to attach a warning.
public void testBogusArguments() throws Exception { IllegalArgumentException expected=expectThrows(IllegalArgumentException.class,null); assertTrue(expected.getMessage().contains("Unknown parameters")); }
Test that bogus arguments result in exception
private static BoundSize[] parseGaps(String s){ BoundSize[] ret=new BoundSize[4]; int ix=startsWithLenient(s,"gaptop",-1,true); if (ix > -1) { s=s.substring(ix).trim(); ret[0]=parseBoundSize(s,true,false); return ret; } ix=startsWithLenient(s,"gapleft",-1,true); if (ix > -1) { s=s.substring(...
Parses gaps.
private boolean checkLongTermRetentionChanged(Boolean paramValue,Boolean vpoolValue){ boolean isModified=false; if (null != vpoolValue) { if (paramValue == null) { isModified=false; } else if (paramValue != vpoolValue) { isModified=true; } } else { if (null != paramValue) { ...
check for any change in LongTermRetention
private void traverseDependents(Token governor,String func,int parent_rankPre){ int rankPre=rank; rank++; List<Dependency> dependents=dependencies.get(governor); if (dependents != null) { for ( Dependency d : dependents) { traverseDependents(d.getDependent(),d.getDependencyType(),rankPre); } ...
Recursively traverse the dependency structure, writing to<br> edge_annotation.tab, rank.tab
public void flashTheControls(){ delayedHide(1000); }
Quickly exposes the controls so that the user knows they're there.
public synchronized void incrementEdge(RVMMethod caller,int bcIndex,RVMMethod callee){ augmentEdge(caller,bcIndex,callee,1); }
Increment the edge represented by the input parameters, creating it if it is not already in the call graph.
public SmbFile(String url,NtlmPasswordAuthentication auth) throws MalformedURLException { this(new URL(null,url,Handler.SMB_HANDLER),auth); }
Constructs an SmbFile representing a resource on an SMB network such as a file or directory.
public Interpreter createInterpreter(Document document,String language){ InterpreterFactory factory=(InterpreterFactory)factories.get(language); if (factory == null) return null; Interpreter interpreter=null; SVGOMDocument svgDoc=(SVGOMDocument)document; try { URL url=new URL(svgDoc.getDocumentURI()); ...
Creates a new interpreter for the specified document and according to the specified language. This method can return null if no interpreter has been found for the specified language.
public void writeBlocks(ByteBuf output) throws Exception { int bitsPerBlock=4; while (palette.size() > 1 << bitsPerBlock) { bitsPerBlock+=1; } long maxEntryValue=(1L << bitsPerBlock) - 1; output.writeByte(bitsPerBlock); Type.VAR_INT.write(output,palette.size()); for ( int mappedId : palette) { Ty...
Write the blocks to a buffer.
private static int compare(String row1,String row2,boolean asc){ int result=row1.compareTo(row2); int returnVal=0; if (result < 0) { returnVal=-1; } else if (result != 0) { returnVal=1; } else { returnVal=0; } return asc ? -returnVal : returnVal; }
Method compare.
public DefaultDragTracker(Figure figure){ anchorFigure=figure; }
Creates a new instance.
public Boolean isIpfixSupported(){ return ipfixSupported; }
Gets the value of the ipfixSupported property.
private int elementRight(int left,XMLStreamReader reader){ int rightIdx=lastIndexOf(xml,'>',reader.getLocation().getCharacterOffset()); int leftIdx=lastIndexOf(xml,'<',rightIdx); while (leftIdx > left) { rightIdx=lastIndexOf(xml,'>',rightIdx - 1); leftIdx=lastIndexOf(xml,'<',rightIdx); } return rightI...
Searches for the element start right bound index. TODO respect element attributes text content while checking '<'
public DefaultPersistenceDelegate(String[] propertyNames){ if (null != propertyNames) { this.propertyNames=propertyNames; } }
Constructs a <code>DefaultPersistenceDelegate</code> instance that supports the persistence of a bean which is constructed with some properties.
private void addHelpLink(RequestAndResponse requestAndResponse,String name) throws IOException { requestAndResponse.println("<div class=\"helpListItem\">&bull; <a onclick=\"replacePaneForLink(event, uiText.pageTitleHelpPage()); return false;\" href=\"/help/" + name.replace(" ","-") + "\">"+ name+ "</a></div>"); }
Adds a link to a help page.
protected void registerSystemConfig(SystemConfig sysConfig){ SingletonRegistry.INSTANCE.registerSingleton(SystemConfig.HERON_SYSTEM_CONFIG,sysConfig); }
Register the given system config
@Override public void buildMimeMessage() throws EmailException { try { if (this.isBoolHasAttachments()) { this.buildAttachments(); } else { this.buildNoAttachments(); } } catch ( MessagingException me) { throw new EmailException(me); } super.buildMimeMessage(); }
Does the work of actually building the email.
public void test_getInstanceLjava_lang_StringLjava_security_Provider() throws Exception { try { KeyManagerFactory.getInstance(null,mProv); fail("NoSuchAlgorithmException or NullPointerException should be thrown (algorithm is null"); } catch ( NoSuchAlgorithmException e) { } catch ( NullPointerException...
Test for <code>getInstance(String algorithm, Provider provider)</code> method Assertions: throws NullPointerException when algorithm is null; throws NoSuchAlgorithmException when algorithm is not correct; throws IllegalArgumentException when provider is null; returns KeyManagerFactory object
@Deprecated public SolrQuery addSortField(String field,ORDER order){ return addValueToParam(CommonParams.SORT,toSortString(field,order)); }
Adds a sort field to the end of the sort string.
public static boolean isPrime(BigInteger n){ for (BigInteger d=new BigInteger("2"); d.compareTo(n.divide(new BigInteger("2"))) <= 0; d=d.add(new BigInteger("1"))) { if (n.remainder(d).compareTo(new BigInteger("0")) == 0) { return false; } } return true; }
Check whether number is prime
@Override public void eUnset(int featureID){ switch (featureID) { case UmplePackage.ASSOCIATION_POSITION___NAME_1: setName_1(NAME_1_EDEFAULT); return; case UmplePackage.ASSOCIATION_POSITION___COORDINATE_1: getCoordinate_1().clear(); return; case UmplePackage.ASSOCIATION_POSITION___COORDINATE_2: getCoordinate_2()....
<!-- begin-user-doc --> <!-- end-user-doc -->
public int nextInt(int min,int max){ if (min >= max) { throw new IllegalArgumentException(String.format("bad range: [%d, %d)",min,max)); } int range=max - min; int ret=nextInt(); ret=Math.abs(ret) % range; return ret + min; }
Returns the next random number in the sequence, bounded by the given bounds.
public final TextBuilder clear(){ _length=0; return this; }
Removes all the characters of this text builder (equivalent to <code>this.delete(start, this.length())</code>).
@Deprecated public static void liftingFromBottom(View view,float baseRotation,int duration){ ViewHelper.setRotationX(view,baseRotation); ViewHelper.setTranslationY(view,view.getHeight() / 3); ViewPropertyAnimator.animate(view).setInterpolator(new AccelerateDecelerateInterpolator()).setDuration(duration).rotationX...
Lifting view
protected Node deepExport(Node n,AbstractDocument d){ GenericProcessingInstruction p; p=(GenericProcessingInstruction)super.deepExport(n,d); p.setTarget(getTarget()); return p; }
Deeply exports this node to the given document.
public JsonObjectRequest(int method,String url,JSONObject jsonRequest,Listener<JSONObject> listener,ErrorListener errorListener){ super(method,url,(jsonRequest == null) ? null : jsonRequest.toString(),listener,errorListener); }
Creates a new request.
public boolean stop(){ if (DEBUG) Log.d(TAG,"stop()"); if (mHandler.getLooper() != Looper.myLooper()) { Log.e(TAG,"stop() called from non-UI thread"); } mHandler.removeMessages(MSG_SERVICE_CONNECTED); boolean mWasRunning=mIsRunning; stopUi(); if (mBoundToService) { if (mService != null) { ...
Stops Face Unlock and unbinds from the service. Called on the UI thread.
public T casePreOrPostCondition_(PreOrPostCondition_ object){ return null; }
Returns the result of interpreting the object as an instance of '<em>Pre Or Post Condition </em>'. <!-- begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
static int rendezvous(String where){ return current(where,VM.activePlan.collectorCount()).rendezvous(); }
Dispatch to the current collector rendezvous object
public void deleteProfile(Profile profile) throws BusinessException, IOException { if (profile.isCommonProfile()) { throw new BusinessException("Delete the profile '" + profile.getName() + ".",ConfigurationInterfaceErrorCodeEnum.COMMON_PROFILE_CAN_NOT_BE_ALTERED); } String id=profile.getId(); Profile local=...
Deletes the existing profile.
@Override public Object eGet(int featureID,boolean resolve,boolean coreType){ switch (featureID) { case FunctionblockPackage.RETURN_TYPE__MULTIPLICITY: return isMultiplicity(); } return super.eGet(featureID,resolve,coreType); }
<!-- begin-user-doc --> <!-- end-user-doc -->
Item(final int index,final Item i){ this.index=index; type=i.type; intVal=i.intVal; longVal=i.longVal; strVal1=i.strVal1; strVal2=i.strVal2; strVal3=i.strVal3; hashCode=i.hashCode; }
Constructs a copy of the given item.
static public InterestRate impliedRate(final double c,final double time,final DayCounter resultDC,final Compounding comp,final Frequency freq){ final double t=time; final double f=freq.toInteger(); QL.require(c > 0.0,"positive compound factor required"); QL.require(t > 0.0,"positive time required"); double ra...
Implied interest rate for a given compound factor at a given time. The resulting InterestRate has the day-counter provided as input.
public TemporalOMGraphicList(){ super(10); }
Construct an TemporalOMGraphicList.