code
stringlengths
10
174k
nl
stringlengths
3
129k
public FocusControl(String focusGroup){ this(1); group=focusGroup; }
Creates a new FocusControl that changes the focus to another item when that item is clicked once.
private void killDirectory(File dir){ if (!dir.isDirectory()) throw new RuntimeException("This function only deletes directories"); File[] files=dir.listFiles(); if (files != null) { for ( File f : files) { if (!f.delete()) Log.e(LOGTAG,"Could not delete " + f.getAbsolutePath()); } } ...
Deletes all files inside a directory, then the directory itself (one level only, no recursion)
public static void write(float lat_1,float lon_1,float lat_2,float lon_2,int lineType,LinkProperties properties,DataOutputStream dos) throws IOException { LinkLine.write(lat_1,lon_1,lat_2,lon_2,lineType,-1,properties,dos); }
Write a line using lat/lon endpoints. The lat/lons are in decimal degrees. .
public boolean isShared(){ return shared; }
Returns true or false depending on whether the Dashboard is shared globally or not.
public boolean isRepeatable(){ for (int i=0; i < parts.length; i++) { if (!parts[i].isRepeatable()) { return false; } } return true; }
Returns <code>true</code> if all parts are repeatable, <code>false</code> otherwise.
@Override public void invalidateDrawable(Drawable who){ invalidateSelf(); }
Drawable.Callback methods
public IElementType parsePackage(){ CharSequence tokenText=yytext(); Matcher m=AMBIGUOUS_PACKAGE_PATTERN.matcher(tokenText); if (m.matches()) { String packageIdentifier=m.group(1); preparsedTokensList.clear(); int packageIdentifierEnd=getTokenStart() + packageIdentifier.length(); CustomToken barew...
Splitting ambiguous package to PACKAGE_IDENTIFIER and IDENTIFIER
private PostgreSQLViewLoader(){ }
Do not instantiate this class.
private boolean applyFilter(){ boolean needsFiltering=collapsed || length(filterText) > 0 || hasLogTypeFilters(); if (needsFiltering) { if (entryLookup != null) { entryLookup.clear(); } useFilteredFromEntries(entries); return true; } return removeFilter(); }
Replaces or removes the current filter
public final AssertSubscriber<T> configureValuesStorage(boolean enabled){ this.valuesStorage=enabled; return this; }
Enable or disabled the values storage. It is enabled by default, and can be disable in order to be able to perform performance benchmarks or tests with a huge amount values.
public int[] keys(){ int[] keys=new int[size()]; int[] k=_set; Object[] values=_values; for (int i=k.length, j=0; i-- > 0; ) { if (isFull(values,i)) { keys[j++]=k[i]; } } return keys; }
returns the keys of the map.
private static String long2Str(long value){ return value < 10 ? "0" + value : Long.toString(value); }
Long2 str.
public NewBarChartAction(final Workspace workspace){ super("Bar Chart",workspace); putValue(SMALL_ICON,ResourceManager.getImageIcon("BarChart.png")); putValue(SHORT_DESCRIPTION,"New Bar Chart"); }
Create a new bar chart component.
public void deliver(List<? extends IOObject> ioObjectList){ Iterator<PortPair> portIterator=getManagedPairs().iterator(); for ( IOObject object : ioObjectList) { PortPair pair=portIterator.next(); IOObject data=pair.inputPort.getAnyDataOrNull(); while (data == null) { data=portIterator.next().inp...
This method is a convenient method for delivering several IOObjects. But keep in mind that you cannot deliver more IObjects than you received first hand. First objects in list will be delivered on the first port. If input ports are not connected or got not delivered an objects unequal null, the corresponding output por...
public void drawItemStack(ItemStack itemStack,int x,int y,RenderItem renderItem,boolean transparent){ GL11.glColor4f(1.0f,1.0f,1.0f,1.0f); int colorOverlay=new Color(139,139,139,160).hashCode(); RenderHelper.enableGUIStandardItemLighting(); renderItem.renderItemAndEffectIntoGUI(itemStack,x,y); GL11.glEnable(G...
Draws a transparent item in the slot
@Override public void paintBorder(Component c,Graphics gr,int x,int y,int width,int height){ if (image == null) return; Graphics2D g=(Graphics2D)gr; int top=imageInsets.top; int left=imageInsets.left; int bottom=imageInsets.bottom; int right=imageInsets.right; int imgWidth=image.getWidth(); int imgHei...
Paints the bevel image for the specified component with the specified position and size.
public Argument(final String primaryForm,final boolean argRequired,final String... parameterNames){ forms.add(primaryForm); paramNames=parameterNames; required=argRequired; }
Contructor to create an argument definition.
public static int encode(byte[] data,OutputStream out) throws IOException { return encoder.encode(data,0,data.length,out); }
Encode the byte data writing it to the given output stream.
private boolean addViewItem(int index,boolean first){ View view=getItemView(index); if (view != null) { if (first) { itemsLayout.addView(view,0); } else { itemsLayout.addView(view); } return true; } return false; }
Adds view for item to items layout
public static MethodHandle unboxCast(Wrapper type){ return unbox(type,3); }
Return a casting unboxer for the given primitive type. Widen or narrow primitive values to the given type, or convert null to zero, as needed. The type of the unboxer is of a form like (Object)int.
@VisibleForTesting List<String> parseKeys(List<String> keys){ List<String> parsedKeys=new ArrayList<String>(); for ( String key : keys) { parsedKeys.addAll(Arrays.asList(StringUtils.split(StringUtils.trim(key),","))); } return parsedKeys; }
This method parses the each value in the List using delimiter ',' and builds a new List;.
public ControlTower(){ setAlwaysOnTop(true); initComponents(); droneConfigWindow=new DroneConfig(this,true); keyboardControlConfigWindow=new KeyboardControlConfig(this,true); controlConfigWindow=new ControlConfig(this,true,controlMap); videoPanel.add(video); jPanel2.add(gauges); initController(); init...
Creates new form ControlTower
public SignatureVisitor visitExceptionType(){ return this; }
Visits the type of a method exception.
@Override public void onPerformSync(Account account,Bundle extras,String authority,ContentProviderClient provider,SyncResult syncResult){ mEventBus.post(new SyncStartedEvent()); if (App.getInstance().getHealthMonitor().isApiUnavailable()) { LOG.e("Abort sync: Buendia API is unavailable."); mEventBus.post(ne...
Not thread-safe but, by default, this will never be called multiple times in parallel.
public final int yystate(){ return zzLexicalState; }
Returns the current lexical state.
public void destroy(){ super.destroy(); }
Destruction of the servlet. <br>
@Override public Range findRangeBounds(XYDataset dataset){ return findRangeBounds(dataset,true); }
Returns the range of values the renderer requires to display all the items from the specified dataset.
public static CommandResult execCommand(List<String> commands,boolean isRoot,boolean isNeedResultMsg){ return execCommand(commands == null ? null : commands.toArray(new String[]{}),isRoot,isNeedResultMsg); }
execute shell commands
public SkuListView(final String id,final Collection<ProductSku> skus,final ProductSku currentSku,final boolean productView){ super(id); this.currentSku=currentSku; this.productView=productView; skusToShow=new ArrayList<ProductSku>(skus); }
Construct sku list view.
public ISicresAbstractDocumentVO search(ISicresAbstractDocumentVO document,String path,ContentServiceSoapBindingStub contentRepository,RepositoryServiceSoapBindingStub repository) throws Exception { Reference reference=new Reference(STORE,document.getId(),path); Content[] readResult=contentRepository.read(new Predi...
Metodo que busca un contenido y devuelve sus byte[] y el metadato FileName de este
public static String parseJobHashBody(String s){ return s == null ? PINLATER_JOB_HASH_DEFAULT_BODY : s; }
Functions to parse the values from redis hash. If it is null, returns the default value.
public void changeHighlight(Object tag,int p0,int p1) throws BadLocationException { Document doc=component.getDocument(); if (tag instanceof LayeredHighlightInfo) { LayeredHighlightInfo lhi=(LayeredHighlightInfo)tag; if (lhi.width > 0 && lhi.height > 0) { component.repaint(lhi.x,lhi.y,lhi.width,lhi.he...
Changes a highlight.
public AccessArrayNode(NodeClass<? extends AccessArrayNode> c,Stamp stamp,ValueNode array){ super(c,stamp); this.array=array; }
Creates a new AccessArrayNode.
public String toString(){ return this.timelineTrackBO.toString(); }
A method that returns a string representation of a Timeline Track object
public StreamingConfig updateStreamingConfig(StreamingConfig desc) throws IOException { if (desc.getUuid() == null || desc.getName() == null) { throw new IllegalArgumentException("SteamingConfig Illegal."); } String name=desc.getName(); if (!streamingMap.containsKey(name)) { throw new IllegalArgumentExc...
Update CubeDesc with the input. Broadcast the event into cluster
public static PropertyInfoUpdate configureFtps(ConnectEmcFtps ftps){ PropertyInfoUpdate propInfo=new PropertyInfoUpdate(); propInfo.addProperty("system_connectemc_transport",FTPS_TRANSPORT); if (ftps.getSafeEncryption() != null) { propInfo.addProperty("system_connectemc_encrypt",(ftps.getSafeEncryption())); ...
Build the FTPS Transport Configuration section
public Object runSafely(Catbert.FastStack stack) throws Exception { return Boolean.valueOf(java.util.Arrays.asList(stack.getUIMgrSafe().getVideoFrame().getPCRestrictions()).contains(getString(stack))); }
Returns true if the specified rating is in the list that is under parental control
public boolean retainEntries(TFloatFloatProcedure procedure){ boolean modified=false; byte[] states=_states; float[] keys=_set; float[] values=_values; for (int i=keys.length; i-- > 0; ) { if (states[i] == FULL && !procedure.execute(keys[i],values[i])) { removeAt(i); modified=true; } } ...
Retains only those entries in the map for which the procedure returns a true value.
private static List<String> rdfOpenTags(String s) throws IOException { String withoutSpaces=Pattern.compile("^\\s+",Pattern.MULTILINE).matcher(s).replaceAll(""); List<String> rdfLines=new ArrayList<String>(); for ( String l : IOUtils.readLines(new StringReader(withoutSpaces))) { if (l.startsWith("<rdf:")) { ...
Extract lines that start an rdf element so basic assertions can be made.
@SuppressWarnings("rawtypes") public SPOPredicate(final String relationName,final IVariableOrConstant<IV> s,final IVariableOrConstant<IV> p,final IVariableOrConstant<IV> o,final boolean optional){ super(new IVariableOrConstant[]{s,p,o},new NV(Annotations.RELATION_NAME,new String[]{relationName}),new NV(Annotations.OP...
Partly specified ctor. The context will be <code>null</code>. No constraint is specified. No expander is specified.
public void createOrUpdateConfig(Object objToPersist,String lockName,String siteId,String configKInd,String configId,String ConfigKey) throws Exception { InterProcessLock lock=acquireLock(lockName); try { if (lock != null) { Configuration config=coordinator.queryConfiguration(siteId,configKInd,configId); ...
Creates or updates a new entry of the specified type in coordinator. If siteId is not null, the config is in zk site specific area. Otherwise in global area
public boolean isCleanSession(){ return cleanSession; }
Gets whether it's a clean session
public Block(NetworkParameters params,byte[] payloadBytes,MessageSerializer serializer,int length) throws ProtocolException { super(params,payloadBytes,0,serializer,length); }
Construct a block object from the Bitcoin wire format.
public String globalInfo(){ return "Generates random instances based on a Bayes network."; }
Returns a string describing this data generator.
@Override public void bindViewHolder(BasePlanViewHolder basePlanViewHolder,int position){ basePlanViewHolder.baseCost.setText(Currency.localize(basePlan.getBaseCost(),false)); basePlanViewHolder.addonCost.setText(Currency.localize(basePlan.getAddonCost(),false)); }
Get the base and addon cost of the basePlan and sets it to the corresponding TextViews in the ViewHolder
@Override public boolean isActive(){ return amIActive; }
Used by the Whitebox GUI to tell if this plugin is still running.
@AfterBatch public void afterDeliver(){ SegmentStream nodeStream=_nodeStream; if (nodeStream != null) { if (_isBlobDirty) { _isBlobDirty=false; nodeStream.fsync(Result.ignore()); } else { nodeStream.flush(Result.ignore()); } } }
Flushes the stream after a batch of writes. If the writes included a blob write, the segment must be fsynced because the blob is not saved in the journal.
public static boolean isStatic(int flags){ return (flags & STATIC) != 0; }
Returns whether the given flags includes the "static" modifier. Applicable to types, methods, fields, and initializers.
protected Category(Wikipedia wiki,long id) throws WikiPageNotFoundException { this.wiki=wiki; catDAO=new CategoryDAO(wiki); createCategory(id); }
Creates a category object.
private void addNode(Node node) throws SyncException { Short nodeId=node.getNodeId(); if (allNodes.get(nodeId) != null) { throw new SyncException("Error adding node " + node + ": a node with that ID already exists"); } allNodes.put(nodeId,node); Short domainId=node.getDomainId(); List<Node> localDomain=...
Add a new node to the cluster
public CommonDialogWindow createUpdateSoftwareModuleWindow(final Long baseSwModuleId){ this.baseSwModuleId=baseSwModuleId; resetComponents(); populateValuesOfSwModule(); createWindow(); return window; }
Create window for update software module.
@Override public boolean eIsSet(int featureID){ switch (featureID) { case MappingPackage.FAULT_SOURCE__PROPERTY: return property != null; } return super.eIsSet(featureID); }
<!-- begin-user-doc --> <!-- end-user-doc -->
public static double interp(int scale,double val,double dist[]){ switch (scale) { case Constants.LINEAR_SCALE: return linearInterp(val,dist[0],dist[dist.length - 1]); case Constants.LOG_SCALE: return logInterp(val,dist[0],dist[dist.length - 1]); case Constants.SQRT_SCALE: return sqrtInterp(val,dist[0],dist[dist.l...
Interpolates a value within a range using a specified scale, returning the fractional position of the value within that scale.
public JobManagerException(){ super(); }
Creates new <code>JobManagerException</code> without detail message.
@Override protected Object resolve(final Object obj){ final BigdataValue val=(BigdataValue)obj; final IV iv=val.getIV(); iv.setValue(val); return obj; }
Cache the BigdataValue on its IV (cross-link).
private void updateNotification(int notificationId,int mediaType,String url){ if (doesNotificationExist(notificationId) && !doesNotificationNeedUpdate(notificationId,mediaType)) { return; } destroyNotification(notificationId); if (mediaType != MEDIATYPE_NO_MEDIA) { createNotification(notificationId,medi...
Updates the extisting notification or creates one if none exist for the provided notificationId and mediaType.
public int size(){ return mSize; }
Returns the number of elements in the heap.
@Override public boolean isActive(){ return amIActive; }
Used by the Whitebox GUI to tell if this plugin is still running.
public int nextFontRunIndex(CodePointIterator iter){ int cp=iter.next(); int fontIndex=1; if (cp != CodePointIterator.DONE) { fontIndex=getFontIndex(cp); while ((cp=iter.next()) != CodePointIterator.DONE) { if (getFontIndex(cp) != fontIndex) { iter.prev(); break; } } } ...
Determines the font index for the code point at the current position in the iterator, then advances the iterator to the first code point that has a different index or until the iterator is DONE, and returns the font index.
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.
public boolean equals(Object other){ if (_set.equals(other)) { return true; } else if (other instanceof Set) { Set that=(Set)other; if (that.size() != _set.size()) { return false; } else { Iterator it=that.iterator(); for (int i=that.size(); i-- > 0; ) { Object val=it.n...
Compares this set with another set for equality of their stored entries.
public List<Payment> createPaymentsToAuthorize(final CustomerOrder order,final boolean forceSinglePaymentIn,final Map params,final String transactionOperation){ Assert.notNull(order,"Customer order expected"); final boolean forceSinglePayment=forceSinglePaymentIn || params.containsKey("forceSinglePayment"); final...
Create list of payment to authorize.
public void start(GridKernalContext ctx) throws IgniteCheckedException { this.ctx=ctx; clockSync=ctx.clockSync(); log=ctx.log(GridClockServer.class); try { int startPort=ctx.config().getTimeServerPortBase(); int portRange=ctx.config().getTimeServerPortRange(); int endPort=portRange == 0 ? startPort ...
Starts server.
public WOrderReceiptIssue(){ Env.setContext(Env.getCtx(),form.getWindowNo(),"IsSOTrx","Y"); try { fillPicks(); jbInit(); dynInit(); pickcombo.addEventListener(Events.ON_CHANGE,this); } catch ( Exception e) { throw new AdempiereException(e); } }
Initialize Panel
public SIPHeader parse() throws ParseException { if (debug) dbg_enter("RSeqParser.parse"); RSeq rseq=new RSeq(); try { headerName(TokenTypes.RSEQ); rseq.setHeaderName(SIPHeaderNames.RSEQ); String number=this.lexer.number(); try { rseq.setSeqNumber(Long.parseLong(number)); } catch ( ...
parse the String message
public static boolean isExternalStorageWritable(){ return Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState()); }
Check if external storage is writable or not
private void pulse(){ primaryThread=Thread.currentThread(); server.getSessionRegistry().pulse(); for (Iterator<GlowTask> it=tasks.values().iterator(); it.hasNext(); ) { GlowTask task=it.next(); switch (task.shouldExecute()) { case RUN: if (task.isSync()) { task.run(); } else { asy...
Adds new tasks and updates existing tasks, removing them if necessary. <br> todo: Add watchdog system to make sure ticks advance
public String randomSeedTipText(){ return "Seed for the random number generator."; }
Returns the tip text for this property
public AbstractTreeNode(TreeNode<?> parent,T data,TreeStructure treeStructure,EventBus eventBus){ this.parent=parent; this.data=data; this.treeStructure=treeStructure; this.eventBus=eventBus; cachedChildren=new ArrayList<>(); }
Creates new node with the specified parent and associated data.
public mxRectangle(mxRectangle rect){ this(rect.getX(),rect.getY(),rect.getWidth(),rect.getHeight()); }
Constructs a copy of the given rectangle.
public AsyncServletStreamServerConfigurationImpl(ServletContainerAdapter servletContainerAdapter){ this.servletContainerAdapter=servletContainerAdapter; }
Defaults to port '0', ephemeral.
private void arrangeFramesCascading(){ JInternalFrame[] allFrames=getAllFrames(); if (allFrames.length == 0) { return; } manager.setNormalSize(); Insets insets=getInsets(); int x=insets.left; int y=insets.top; int frameOffset=0; for (int i=allFrames.length - 1; i >= 0; i--) { Point p=SwingUtil...
Cascade all internal frames
private int measureShort(int measureSpec){ int result; int specMode=MeasureSpec.getMode(measureSpec); int specSize=MeasureSpec.getSize(measureSpec); if (specMode == MeasureSpec.EXACTLY) { result=specSize; } else { result=(int)(2 * mRadius + getPaddingTop() + getPaddingBottom() + 1); if (specMode ...
Determines the height of this view
public static EdgeListGraphSingleConnections serializableInstance(){ return new EdgeListGraphSingleConnections(); }
Generates a simple exemplar of this class to test serialization.
@SuppressWarnings("unchecked") public void extractPath(){ if (states != null) return; final int newPrefixLength=varState.depth() + 1; final int length=original.states.length + newPrefixLength - varPosition - 1; states=new State[length]; State<S> newState=varState; for (int i=newPrefixLength - 1; i >= 0 &&...
This method is counter-intuitive. In the case of multiple recombinations along a single path, the parent pointers are invalid. So we need to sum transition costs into each node on the lattice path.
public static File storeVideoInExternalDirectory(Context context,Response response,String videoName){ final File file=getVideoStorageDir(videoName); if (file != null) { try { final InputStream inputStream=response.getBody().in(); final OutputStream outputStream=new FileOutputStream(file); IOUt...
Stores the Video in External Downloads directory in Android.
private void showSignInPage(){ setContentView(R.layout.signin_welcome); Button button=(Button)findViewById(R.id.sign_in); button.setOnClickListener(this); }
Shows the sign in page.
public void writeHeapDump(PrintWriter out) throws IOException { throw new ConfigException(L.l("HeapDump requires Resin Professional")); }
Writes a text value of the heap dump to an output stream.
public void start(){ TaskService.singleton().spawn(getFuture()); }
Start the worker thread.
public ComplexDecimator(int rate){ mDecimationRate=rate; }
Constructs a new Decimator object with the specified decimation rate.
private void scroll(int row){ int rows=data.getRows(); if (rows < 1) { return; } if (row < 0) { data.setFirst(0); } else if (row >= count()) { data.setFirst(count() - 1); } else { data.setFirst(row - (row % rows)); } }
<p>Scroll to the page that contains the specified row number.</p>
public String toString(){ StringBuffer sb=new StringBuffer("MReportTree[ElementType="); sb.append(m_ElementType).append(",TreeType=").append(m_TreeType).append(",").append(m_tree).append("]"); return sb.toString(); }
String Representation
public String extractConsumerNonce(String returnTo,String opUrl){ if (DEBUG) _log.debug("Extracting consumer nonce..."); String nonce=null; String signature=null; URL returnToUrl; try { returnToUrl=new URL(returnTo); } catch ( MalformedURLException e) { _log.error("Invalid return_to: " + returnT...
Extracts the consumer-side nonce from the return_to parameter in authentication response from a OpenID 1.1 Provider.
public void clear(float r,float g,float b,float a){ this.clear(r,g,b,a,1.0D); }
Clears the buffer with depth = 1.0 <p><b>Note:</b> Binds the FBO
public void testVaryingFsync() throws Exception { long[] fsyncIntervals={20,100,500,2000}; int[] bufferSizes={65536,524288}; int run=0; for ( long fsync : fsyncIntervals) { for ( int buffer : bufferSizes) { run++; File logDir=prepareLogDir("testVaryingFsync"); DiskLog log=new DiskLog()...
Test the effect of varying fsync intervals from 20 to 2000ms and using buffer sizes from 64k to 512k.
public boolean checkNand(String flag1,String flag2){ if (isSet(flag1) && isSet(flag2)) { setParseMessage("Only one of " + LONG_FLAG_PREFIX + flag1+ " or "+ LONG_FLAG_PREFIX+ flag2+ " can be set"); return false; } return true; }
Checks neither flag is set, or only one flag or the other is set, but not both. Sets the parse message on failure.
public boolean changeExecuted(){ return fChangeExecuted; }
Returns <code>true</code> if the change has been executed. Otherwise <code> false</code> is returned.
private void init(DerValue encoding) throws Asn1Exception, RealmException, KrbApErrException, IOException { if (((encoding.getTag() & (byte)0x1F) != (byte)0x16) || (encoding.isApplication() != true) || (encoding.isConstructed() != true)) { throw new Asn1Exception(Krb5.ASN1_BAD_ID); } DerValue der, subDer; d...
Initializes an KRBCred object.
public void testTxLocalPessimisticRepeatableRead() throws Exception { checkTx(LOCAL,PESSIMISTIC,REPEATABLE_READ); }
Test TRANSACTIONAL LOCAL cache with PESSIMISTIC/REPEATABLE_READ transaction.
@Override public Object eInvoke(int operationID,EList<?> arguments) throws InvocationTargetException { switch (operationID) { case N4JSPackage.TEMPLATE_LITERAL___GET_VALUE_AS_STRING: return getValueAsString(); } return super.eInvoke(operationID,arguments); }
<!-- begin-user-doc --> <!-- end-user-doc -->
private void handlePhiInsns(){ for ( PhiInsn insn : phiInsns) { processPhiInsn(insn); } }
Handles all phi instructions, trying to map them to a common register.
@Override public synchronized void clear(){ for ( CacheElement ce : list) { Bitmap b=super.get(ce.key); if (b != null && ce.recycleable) { b.recycle(); } } list.clear(); super.clear(); }
Overrides clear() to also clear the LRU list.
@DSComment("From safe class list") @DSSafe(DSCat.SAFE_LIST) @DSGenerator(tool_name="Doppelganger",tool_version="2.0",generated_on="2013-12-30 12:56:18.122 -0500",hash_original_method="6F91201558DE19CA8BB7D7C8218AE116",hash_generated_method="C1453933B6DCD4B8D289D21A9ACAC6E5") public StringBuffer insert(int index,double ...
Inserts the string representation of the specified into this buffer double at the specified offset.
public static void main(String[] args) throws FloodlightModuleException { try { System.setProperty("org.restlet.engine.loggerFacadeClass","org.restlet.ext.slf4j.Slf4jLoggerFacade"); CmdLineSettings settings=new CmdLineSettings(); CmdLineParser parser=new CmdLineParser(settings); try { parser.par...
Main method to load configuration and modules
public TypeMismatchException(String msg,Throwable cause){ super(msg,cause); }
Construct an instance of TypeMismatchException
public T caseN4ClassDeclaration(N4ClassDeclaration object){ return null; }
Returns the result of interpreting the object as an instance of '<em>N4 Class Declaration</em>'. <!-- begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
public HeaderRowBehindStartRowException(){ super(MESSAGE); }
Creates an exception indicating that the desired start row was not found in the data set.
@Override public boolean canUpdate(){ return false; }
The fishtrap does not update on it's own, instead it relies on the block for processing.
public boolean isDeleted(){ return isDeleted; }
Returns whether this position has been deleted or not.
public final boolean mustBeAbstract(Environment env){ if (isAbstract()) { return true; } collectInheritedMethods(env); Iterator methods=getMethods(); while (methods.hasNext()) { MemberDefinition method=(MemberDefinition)methods.next(); if (method.isAbstract()) { return true; } } retu...
Check to see if a class must be abstract. This method replaces isAbstract(env)