code
stringlengths
10
174k
nl
stringlengths
3
129k
public void addProperty(String name,String value){ Property prop=new Property(); prop.setName(name); prop.setValue(value); getRepeatingExtension(Property.class).add(prop); }
Add a new name-value pair to this entry.
public final boolean deprecation(){ return (getFlags() & F_DEPRECATION) != 0; }
Deprecation warnings are enabled.
public void testMultivariateMIforRandomVariablesRepeatedDataFromFile() throws Exception { ArrayFileReader afr=new ArrayFileReader("demos/data/4randomCols-1.txt"); double[][] data=afr.getDouble2DMatrix(); double[][] data2=new double[data.length + 30][data[0].length]; for (int r=0; r < data.length; r++) { for...
Test the computed multivariate MI against that calculated by Kraskov's own MILCA tool on the same data. This also tests for multithreading with residuals, assuming we're running on a 4 processor machine To run Kraskov's tool (http://www.klab.caltech.edu/~kraskov/MILCA/) for this data, run: ./MIxnyn <dataFile> 2 2 3030...
public static void modifyEclipseProject(Project project,Consumer<EclipseModel> modifier){ ProjectPlugin.getPlugin(project,EclipsePlugin.class); project.afterEvaluate(null); }
Applies the EclipsePlugin and provides the eclipse model for modification.
public static Test suite(){ return (new TestSuite(FormELITCase.class)); }
Return the tests included in this test suite.
public int countEntries(){ int size=0; if (entriesFromStorage == null) return 0; for ( String ofswitch : entriesFromStorage.keySet()) size+=entriesFromStorage.get(ofswitch).size(); return size; }
used for debugging and unittests
public boolean isCritical(){ Object oo=get_Value(COLUMNNAME_IsCritical); if (oo != null) { if (oo instanceof Boolean) return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; }
Get Is Critical Component.
private void addToken(int start,int end,int tokenType){ int so=start + offsetShift; addToken(zzBuffer,start,end,tokenType,so); }
Adds the token specified to the current linked list of tokens.
public Robot() throws AWTException { if (GraphicsEnvironment.isHeadless()) { throw new AWTException("headless environment"); } init(GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice()); }
Constructs a Robot object in the coordinate system of the primary screen. <p>
public static void generateLoadFromStack(final ITranslationEnvironment environment,final long baseOffset,final OperandSize size,final String target,final List<ReilInstruction> instructions) throws IllegalArgumentException { Preconditions.checkNotNull(environment,"Error: Argument environment can't be null"); Precond...
Generates code that loads a value from the stack and puts it into the target.
public static void hideSoftKeyboard(Activity activity){ InputMethodManager inputMethodManager=(InputMethodManager)activity.getSystemService(Activity.INPUT_METHOD_SERVICE); if (activity.getCurrentFocus() != null) { inputMethodManager.hideSoftInputFromWindow(activity.getCurrentFocus().getWindowToken(),0); } }
Hides softkeyboard.
public boolean willFireOn(Calendar test,boolean dayOnly){ test=(Calendar)test.clone(); test.set(Calendar.MILLISECOND,0); if (dayOnly) { test.set(Calendar.HOUR_OF_DAY,0); test.set(Calendar.MINUTE,0); test.set(Calendar.SECOND,0); } Date testTime=test.getTime(); Date fta=getFireTimeAfter(new Date(t...
<p> Determines whether the date and (optionally) time of the given Calendar instance falls on a scheduled fire-time of this trigger. </p> <p> Note that the value returned is NOT validated against the related org.quartz.Calendar (if any) </p>
public List<IMessage> deleteBefore(int index) throws RateLimitException, DiscordException, MissingPermissionsException { return deleteFromRange(0,index + 1); }
Bulk deletes messages in a sub list created from the provided index to the beginning of the list. (Note: Only 100 messages can be deleted at a time).
public void syncUser(String username) throws AuthenticatorException { Debug.logInfo(this.getClass().getName() + " Authenticator syncUser()",module); }
Reads user information and syncs it to OFBiz (i.e. UserLogin, Person, etc)
public void info(String msg){ log(Level.INFO,msg); }
Log an INFO message. <p> If the logger is currently enabled for the INFO message level then the given message is forwarded to all the registered output Handler objects. <p>
protected InlineTagImpl(){ super(); }
<!-- begin-user-doc --> <!-- end-user-doc -->
public ClockPane(int hour,int minute,int second){ this.hour=hour; this.minute=minute; this.second=second; hourHandVisible=minuteHandVisible=secondHandVisible=true; paintClock(); }
Construct a click with specified hour, minute, and second
public ConfigurationSocketAdapter configure(File configFile) throws RuntimeException { if (log.isDebugEnabled()) { log.debug("configuring from file: " + configFile.getName()); } FileInputStream inputStream=null; try { inputStream=new FileInputStream(configFile); ConfigurationSocketAdapterParser.doCo...
Use the ConfigurationSocketAdapter specified in the given application file. The format of the file is defined in <tt>esper-configuration-2.0.xsd</tt>.
@Override public InetAddress addressLocal(){ Socket s=getSocket(); if (s != null) { return s.getLocalAddress(); } else { return null; } }
Returns the server inet address that accepted the request.
public void changeForwarding(List<String> users,boolean enable,String forwardTo,String action) throws IllegalArgumentException, ServiceException, MalformedURLException, IOException { if (users.size() == 0) { throw new IllegalArgumentException(); } GenericEntry entry=new GenericEntry(); if (enable) { ent...
Changes forwarding settings.
public Map<String,Heading> buildHeaders(Heading heading){ Map<String,Heading> headingIndex=new HashMap<String,Heading>(); for (int i=0; i < 100; i++) { col: for ( Column col : heading.columns()) { String[] parentAndKey=parentKey(col.getColumn(),i); if (parentAndKey == null) continue; ...
Builds all the headers (for all the resultsets, top and nested) needed during parsing of the result. This index is used to determine if a field from a result must be added to a resultset or not
public ServicePermissionCollection(){ permissions=new Hashtable(); all_allowed=false; }
Creates an empty ServicePermissions object.
public static boolean isSpace(int c){ return c <= 0x20 && (CHARS[c] & MASK_SPACE) != 0; }
Returns true if the specified character is a space character as defined by production [3] in the XML 1.0 specification.
public BNode removeNode(String nodeId){ if (!nodes.containsKey(nodeId)) { } else { BNode node=nodes.get(nodeId); for ( BNode inputNode : node.getInputNodes()) { node.removeInputNode(inputNode.getId()); } for ( BNode outputNode : node.getOutputNodes()) { outputNode.removeInputNode(...
Removes a node from the network, given its identifier
@Override protected final void beforeSendMessage(IMessageInstance mi) throws AdeException { handleLoggerUnavailable(mi); final LinuxSyslogMessageReader linuxReader=(LinuxSyslogMessageReader)a_adeInputStream.getReader(); final MessageRateStats msgRateStats=MessageRateStats.getMessageRateStatsForSource(mi.getSource...
This is the processing after a message has been read, before sending to Ade for Upload/Analyze.
public static Encoder forName(String contextName) throws NullPointerException, UnsupportedContextException { if (contextName == null) { throw new NullPointerException(); } Encoder encoder=ENCODERS_MAP.get(contextName); if (encoder == null) { throw new UnsupportedContextException(contextName); } retu...
Returns a new instance of an Encoder for the specified context. The returned instance is thread-safe.
public synchronized static void addGlobalUnitConverter(UnitConverter conv){ if (conv == null) throw new NullPointerException(); CONVERTERS.add(conv); }
Adds a global unit converter that can convert from some <code>unit</code> to pixels. <p> This converter will be asked before the platform converter so the values for it (e.g. "related" and "unrelated") can be overridden. It is however not possible to override the built in ones (e.g. "mm", "pixel" or "lp").
protected void createRegistry(int port){ if (rmiRegistry == null) { try { if (logger.isDebugEnabled()) { logger.debug("Starting RMI registry on registryPort: " + port); } rmiRegistry=LocateRegistry.createRegistry(port); } catch ( Throwable e) { throw new ServerRuntimeExcept...
Starts the rmi registry.
public void printWrapped(PrintWriter pw,int width,int nextLineTabStop,String text){ StringBuffer sb=new StringBuffer(text.length()); renderWrappedText(sb,width,nextLineTabStop,text); pw.println(sb.toString()); }
Print the specified text to the specified PrintWriter.
public Path createAuxClasspath(){ if (auxClasspath == null) { auxClasspath=new Path(getProject()); } return auxClasspath.createPath(); }
Path to use for auxclasspath.
public static Optional<String> packageName(String longName){ if (longName.contains(".")) { return Optional.of(longName.substring(0,longName.lastIndexOf("."))); } else { return Optional.empty(); } }
Returns the 'package' part of a long name. This is everything before the last dot.
public String routing(){ return this.routing; }
A comma separated list of routing values to control the shards the search will be executed on.
@ObjectiveCName("isDocAutoDownloadEnabled") public boolean isDocAutoDownloadEnabled(){ return modules.getSettingsModule().isDocAutoDownloadEnabled(); }
Is doc content auto download enabled
private void initializeLight(String systemName){ mBit=SerialAddress.getBitFromSystemName(systemName); setState(OFF); }
Sets up system dependent instance variables and sets system independent instance variables to default values Note: most instance variables are in AbstractLight.java
private void handleDimmerChange(final int idx,final int value,boolean selector){ listener.onDimmerChange(idx,value,selector); }
Handles the dimmer change
public void invoke(RemoteCall call) throws Exception { throw new UnsupportedOperationException(versionComplaint); }
This call is used by the old 1.1 stub protocol and is unsupported since activation requires 1.2 stubs.
public JSONWriter object() throws JSONException { if (this.mode == 'i') { this.mode='o'; } if (this.mode == 'o' || this.mode == 'a') { this.append("{"); this.push(new JSONObject()); this.comma=false; return this; } throw new JSONException("Misplaced object."); }
Begin appending a new object. All keys and values until the balancing <code>endObject</code> will be appended to this object. The <code>endObject</code> method must be called to mark the object's end.
@Ignore("Bug51491") @Test public void test_GatewaySender_Parallel_DistributedRegion(){ cache=new CacheFactory().set(MCAST_PORT,"0").create(); GatewaySenderFactory fact=cache.createGatewaySenderFactory(); fact.setParallel(true); fact.setManualStart(true); GatewaySender sender1=fact.create("NYSender",2); Attr...
Test to validate that distributed region can not have the gateway sender with parallel distribution policy
static final private String rawToBubblebabbleFingerprint(byte[] raw){ final char[] v="aeiouy".toCharArray(); final char[] c="bcdfghklmnprstvzx".toCharArray(); StringBuffer sb=new StringBuffer(); int seed=1; int rounds=(raw.length / 2) + 1; sb.append('x'); for (int i=0; i < rounds; i++) { if (((i + 1) ...
Convert a raw fingerprint to bubblebabble representation.
private void updateProgress(String progressLabel,int progress){ if (myHost != null && ((progress != previousProgress) || (!progressLabel.equals(previousProgressLabel)))) { myHost.updateProgress(progressLabel,progress); } previousProgress=progress; previousProgressLabel=progressLabel; }
Used to communicate a progress update between a plugin tool and the main Whitebox user interface.
public void reduce(Text key,Iterator<ObjectWritable> values,OutputCollector<Text,Route> output,Reporter reporter) throws IOException { String url=key.toString(); Node node=null; List<LinkDatum> outlinkList=new ArrayList<LinkDatum>(); while (values.hasNext()) { ObjectWritable objWrite=values.next(); Obje...
Takes any node that has inlinks and sets up a route for all of its outlinks. These routes will then be followed to a maximum depth inside of the Looper job.
public Builder host(String host){ this.host=host; return this; }
Sets the specified host.
@Override public boolean isResultRequired(ResultProducer rp,Object[] key) throws Exception { if (m_ResultProducer != rp) { throw new Error("Unrecognized ResultProducer calling isResultRequired!"); } if (m_Debug) { System.err.print("Is result required..."); for ( Object element : key) { System...
Always says a result is required. If this is the first call, prints out the header for the Database output.
private void doCommit(final MyLoadStats totals){ if (flush && buffer != null) { buffer.flush(); } if (commitEnum == CommitEnum.Batch) { if (log.isInfoEnabled()) log.info("Commit after batch"); final long beginCommit=System.currentTimeMillis(); database.commit(); totals.commit(); totals...
Helper method for top-level loadXXX() methods. This method flushes the buffer and commits (if there is anything to commit).
public String constructSpecName(String proposition,boolean firstRun){ Spec existingSpec=getSpecByName(proposition); if (existingSpec != null) { if (firstRun) { return constructSpecName(proposition.concat("_1"),false); } else { String oldNumber=proposition.substring(proposition.lastIndexOf("_"))...
Constructs a specification name from the proposition string
public boolean isOneDotSeven(){ return jdkVersion == JDK1_7; }
Checks if is one dot seven.
public static String collapseSequenceOfDots(@NotNull String word){ return word.replaceAll("[.]+","."); }
Replace sequence of dots with single dot.
private boolean hasSearchableColumns(){ boolean retValue=false; m_tableName=MQuery.getZoomTableName(m_columnName); m_keyColumnName=MQuery.getZoomColumnName(m_columnName); if (m_columnName.equals("M_Product_ID") || m_columnName.equals("M_ProductBOM_ID") || m_columnName.equals("C_BPartner_ID")|| m_columnName.equa...
Determines if the lookup has searchable (text) fields.
public static byte[] toBytes(int val){ byte[] b=new byte[4]; for (int i=3; i > 0; i--) { b[i]=(byte)val; val>>>=8; } b[0]=(byte)val; return b; }
Convert an int value to a byte array
private void put122(final int b,final int s1,final int s2){ pool.put12(b,s1).putShort(s2); }
Puts one byte and two shorts into the constant pool.
public String binRangePrecisionTipText(){ return "The number of decimal places for cut points to use when generating bin labels"; }
Returns the tip text for this property
public void initialize(int numVertices){ this.numVertices=numVertices; Dk=new float[numVertices][]; Dk_minus_one=new float[numVertices][]; for (int i=0; i < numVertices; i++) { Dk[i]=new float[numVertices]; Dk_minus_one[i]=new float[numVertices]; } Pk=new int[numVertices][]; Pk_minus_one=new int[n...
Initialization the matrix.
public void configureManagers(){ jmri.InstanceManager.store(getPowerPr2Manager(),jmri.PowerManager.class); jmri.InstanceManager.setThrottleManager(getPr2ThrottleManager()); jmri.InstanceManager.setProgrammerManager(new jmri.jmrix.loconet.LnProgrammerManager(getSlotManager(),this)); }
Configure the subset of LocoNet managers valid for the PR2.
@Override public Object eGet(int featureID,boolean resolve,boolean coreType){ switch (featureID) { case GamlPackage.PRAGMA__NAME: return getName(); } return super.eGet(featureID,resolve,coreType); }
<!-- begin-user-doc --> <!-- end-user-doc -->
public ViewTagITCase(String name){ super(name); }
Construct a new instance of this test case.
public Scanner(String s){ super(s); }
Creates a new Scanner object.
@Override @Deprecated public int writeBulk(List<LogRecord> records) throws IOException { return getLedgerWriter(records.get(0).getTransactionId(),false).writeBulk(records); }
Write edits logs operation to the stream.
public com.wipro.ats.bdre.imcrawler.mr.Contents.Builder clearPath(){ path=null; fieldSetFlags()[3]=false; return this; }
Clears the value of the 'path' field
public void write(BufferedImage bimg,String filePath) throws IOException { File file=new File(filePath); if (file.exists()) { if (!file.delete()) { throw new IOException("File " + filePath + " exists already, and call to .delete() failed "+ "unexpectedly"); } } else { if (!file.createNewFile())...
Writes the image out to the target file, creating the file if necessary, or overwriting if it already exists.
private static void testSwitch(){ System.out.println("Switch.testSwitch"); int a=1; switch (a) { case -1: assert (false); break; case 0: assert (false); break; case 1: break; case 2: assert (false); break; case 3: assert (false); break; case 4: assert (false); break; default : assert (false); break; } switch ...
Test switch() blocks
protected void onEmptyDbCreated(){ Utilities.getPrefs(mContext).edit().putBoolean(EMPTY_DATABASE_CREATED,true).commit(); ManagedProfileHeuristic.processAllUsers(Collections.<UserHandleCompat>emptyList(),mContext); }
Overriden in tests.
@Override public void clear(){ symbolToIndexMap.clear(); indexToSymbolMap.clear(); }
Clears all mappings for nominal values.
public TokenType type(){ return type; }
Returns the type of this token.
public static void w(String msg){ if (LOGW_DEBUG && mLogAll) { Log.e(DEFAULT_TAG,getInformation(msg)); } }
Used for exception log
protected ConstraintToken_Impl(){ super(); }
<!-- begin-user-doc --> <!-- end-user-doc -->
@Override public void notifyEvent(DataStoreEvent event){ if (!event.isExternal()) { GenericPK pk=null; if (event.getSource() instanceof GenericPK) { pk=(GenericPK)event.getSource(); } if (event.getSource() instanceof Persistent<?>) { pk=((Persistent<?>)event.getSource()).getId(); } ...
Publish to the global queue incoming events.<br> Only internal events will be published.<br>
public void removeBean(JComponent container,Integer... tab){ int index=0; if (tab.length > 0) { index=tab[0].intValue(); } Vector<Object> components=null; if (TABBED_COMPONENTS.size() > 0 && index < TABBED_COMPONENTS.size()) { components=TABBED_COMPONENTS.get(index); } for (int i=0; i < components...
Remove this bean from the list of beans and from the containing component
public static _Fields findByThriftId(int fieldId){ switch (fieldId) { case 1: return TYPE; case 2: return HELLO; case 3: return ERROR; case 4: return ECHO_REQUEST; case 5: return ECHO_REPLY; case 6: return GET_REQUEST; case 7: return GET_RESPONSE; case 8: return PUT_REQUEST; case 9: return PUT_RESPONSE; case 10: ...
Find the _Fields constant that matches fieldId, or null if its not found.
public MockTransaction(final TimeInstant timeStamp){ this(0,timeStamp); }
Creates a mock transaction.
public LegendItem(String label,String description,String toolTipText,String urlText,Shape shape,Paint fillPaint,Stroke outlineStroke,Paint outlinePaint){ this(label,description,toolTipText,urlText,true,shape,true,fillPaint,true,outlinePaint,outlineStroke,false,UNUSED_SHAPE,UNUSED_STROKE,Color.black); }
Creates a legend item with a filled and outlined shape.
public JSONObject optJSONObject(int index){ Object o=this.opt(index); return o instanceof JSONObject ? (JSONObject)o : null; }
Get the optional JSONObject associated with an index. Null is returned if the key is not found, or null if the index has no value, or if the value is not a JSONObject.
public static RangeQueryBuilder rangeQuery(String name){ return new RangeQueryBuilder(name); }
A Query that matches documents within an range of terms.
public _BuildReason(final String[] flagStrings){ super(flagStrings); }
Constructs a _BuildReason with the given flags initially set.
public static final boolean isLeap(final int year){ return yearIsLeap[year - 1900]; }
Whether the given year is a leap one
public T id(int... path){ return id(findView(path)); }
Find the first view with first id, under that view, find again with 2nd id, etc...
void remove(int key){ cache.remove(key); }
Remove value from key
protected static final String addEscapes(String str){ StringBuilder retval=new StringBuilder(); char ch; for (int i=0; i < str.length(); i++) { switch (str.charAt(i)) { case 0: continue; case '\b': retval.append("\\b"); continue; case '\t': retval.append("\\t"); continue; case '\n': retval.append("\\n...
Replaces unprintable characters by their escaped (or unicode escaped) equivalents in the given string
void warnIncompleteComprehensive(File file){ String result=checkIncompleteComprehensive(file); if (result.equals("")) { JOptionPane.showMessageDialog(_who,"OK, Comprehensive.xml is complete"); } else { JOptionPane.showMessageDialog(_who,result); } }
Check for names in names.xml that are not in file
private void writeSegment(byte[] buf) throws SQLException { synchronized (owner.getSynchronizationObject()) { blobHandle.putSegment(buf); } }
Writes a byte array directly to the blob.
public static String createIntersectionTypeSignature(String[] typeSignatures){ int typeSignaturesLenth=typeSignatures.length; char[][] signatures=new char[typeSignaturesLenth][]; for (int i=0; i < typeSignaturesLenth; i++) { signatures[i]=typeSignatures[i].toCharArray(); } return createIntersectionTypeSig...
Creates a new intersection type signature from the given type signatures. <p/> <p> The encoded type signature is dot-based. </p>
public static boolean sameClass(final Object first,final Object second){ return first.getClass() == second.getClass(); }
This method checks if two objects are of the same class.
public boolean isAnalyzed(String fqn){ ClassEntry entry=fqnToClassEntryMap.get(fqn); return entry != null ? true : false; }
Returns if the class with given FQN was analyzed.
private void drawShadows(Canvas canvas){ int height=(int)(1.5 * getItemHeight()); topShadow.setBounds(0,0,getWidth(),height); topShadow.draw(canvas); bottomShadow.setBounds(0,getHeight() - height,getWidth(),getHeight()); bottomShadow.draw(canvas); }
Draws shadows on top and bottom of control
public FacetSequence(CoordinateSequence pts,int start,int end){ this.pts=pts; this.start=start; this.end=end; }
Creates a new section based on a CoordinateSequence.
public Java2TypeScriptTranslator(TranspilationHandler logHandler,JSweetContext context,JCCompilationUnit compilationUnit,boolean preserveSourceLineNumbers){ super(logHandler,context,compilationUnit,new Java2TypeScriptAdapter(context),preserveSourceLineNumbers); }
Creates a new TypeScript translator.
@DSGenerator(tool_name="Doppelganger",tool_version="2.0",generated_on="2013-12-30 12:33:57.840 -0500",hash_original_method="9AAEF167BAB79AB4F88321224520B47D",hash_generated_method="D1446C5613D089036ABDE6782BA7A84D") public static void cancelThumbnailRequest(ContentResolver cr,long origId,long groupId){ InternalThumbn...
This method cancels the thumbnail request so clients waiting for getThumbnail will be interrupted and return immediately. Only the original process which made the getThumbnail requests can cancel their own requests.
public static void f(String tag,String msg,Object... args){ if (sLevel > LEVEL_FATAL) { return; } if (args.length > 0) { msg=String.format(msg,args); } Log.wtf(tag,msg); }
Send a FATAL ERROR log message
@Override public Enumeration<Option> listOptions(){ Vector<Option> result=new Vector<Option>(); result.addElement(new Option("\tFull name of the clusterer analyzed.\n" + "\teg: weka.clusterers.SimpleKMeans\n" + "\t(default weka.clusterers.SimpleKMeans)","W",1,"-W")); result.addAll(Collections.list(super.listOptio...
Returns an enumeration describing the available options.
private void createTitle(){ if (this.image != null) { final Label imageLabel=createLabel(); imageLabel.setImage(this.image); } if (this.text != null && !this.text.trim().equals("")) { final Label textLabel=createLabel(); textLabel.setText(this.text); } }
Create the title
@Override public DataStoreTransaction beginTransaction(){ Session session=sessionFactory.getCurrentSession(); Preconditions.checkNotNull(session); session.beginTransaction(); return new HibernateTransaction(session,isScrollEnabled,scrollMode); }
Start Hibernate transaction.
double percentToAproxY(Rectangle2D.Double area){ return percentY * area.getHeight(); }
Called by various layout mechanisms to compute the y location based on the configured y percentage.
public static PdxInstance fromJSON(byte[] jsonByteArray){ JsonParser jp=null; try { jp=new JsonFactory().createParser(jsonByteArray); enableJSONParserFeature(jp); return new JSONFormatter().getPdxInstance(jp,states.NONE,null).getPdxInstance(); } catch ( JsonParseException jpe) { throw new JSONFo...
Converts a JSON document into a PdxInstance
public synchronized Collection<X509CRL> engineGetCRLs(CRLSelector selector) throws CertStoreException { if (debug != null) { debug.println("LDAPCertStore.engineGetCRLs() selector: " + selector); } if (selector == null) { selector=new X509CRLSelector(); } if (!(selector instanceof X509CRLSelector)) { ...
Returns a <code>Collection</code> of <code>CRL</code>s that match the specified selector. If no <code>CRL</code>s match the selector, an empty <code>Collection</code> will be returned. <p> It is not practical to search every entry in the LDAP database for matching <code>CRL</code>s. Instead, the <code>CRLSelector</code...
public DefaultKeyedChannelPool(EventLoop eventLoop,Function<K,Future<Channel>> channelFactory,KeyedChannelPoolHandler<K> channelPoolHandler){ this(eventLoop,channelFactory,ChannelHealthChecker.ACTIVE,channelPoolHandler,true); }
Creates a new instance.
@Override protected EClass eStaticClass(){ return EipPackage.Literals.AGGREGATOR; }
<!-- begin-user-doc --> <!-- end-user-doc -->
public static Pointer to(char values[]){ return new Pointer(CharBuffer.wrap(values)); }
Creates a new Pointer to the given values. The values may not be null.
public void stdoutShouldNotContain(String notExpectedString){ if (stdout.contains(notExpectedString)) { reportDiagnosticSummary(); throw new RuntimeException("'" + notExpectedString + "' found in stdout \n"); } }
Verify that the stdout contents of output buffer does not contain the string
static Uri createRcsContactIfNeeded(Context context,ContactId contactId) throws RemoteException, OperationApplicationException { int phoneId=getContactIdOfAddressBook(context,contactId); if (phoneId != INVALID_CONTACT_ID) { return ContentUris.withAppendedId(ContactsContract.Contacts.CONTENT_URI,phoneId); } ...
Create a RCS contact if the given contact is not already present in the address book
protected boolean afterSave(boolean newRecord,boolean success){ if (!success) return success; return updateHeader(); }
After Save
public ConvertToCovMatixAction(DataEditor editor){ super("Covariance Matrix"); if (editor == null) { throw new NullPointerException(); } this.dataEditor=editor; }
Creates a new action to split by collinear columns.