code
stringlengths
10
174k
nl
stringlengths
3
129k
public PageOutputStream(PageStore store,int trunkPage,BitField exclude,int logKey,boolean atEnd){ this.trace=store.getTrace(); this.store=store; this.trunkPageId=trunkPage; this.exclude=exclude; this.logKey=logKey - 1; this.atEnd=atEnd; minPageId=atEnd ? trunkPage : 0; }
Create a new page output stream.
public static Document createXMLReportList(List reportList){ Document document=DocumentHelper.createDocument(); Element root=document.addElement(XML_SICRESLIST_TEXT); Element nodelist=root.addElement(XML_NODELIST_TEXT); if (reportList != null && !reportList.isEmpty()) { ScrReport scrReport=null; String ...
Public methods
public static <X extends Exception>String toString(Iteration<?,X> iter,String separator) throws X { StringBuilder sb=new StringBuilder(); toString(iter,separator,sb); return sb.toString(); }
Converts an Iteration to a string by concatenating all of the string representations of objects in the Iteration, divided by a separator.
public void andWith(QueryPredicate predicate){ for ( AndCondition child : children) { child.andWith(predicate); } }
/ Updates this OrCondition in place so that it matches vertices that satisfy the current OrCondition AND that match the specified predicate.
private static int[] stripLeadingZeroInts(int val[]){ int vlen=val.length; int keep; for (keep=0; keep < vlen && val[keep] == 0; keep++) ; return java.util.Arrays.copyOfRange(val,keep,vlen); }
Returns a copy of the input array stripped of any leading zero bytes.
public void clearCurrentThread(boolean isCompletionListener){ if (isCompletionListener) { completionListenerThread=null; } else { messageListenerThreads.remove(Thread.currentThread().getId()); } }
Clear current thread from the context
public CatchBlock createCatchBlock(){ CatchBlockImpl catchBlock=new CatchBlockImpl(); return catchBlock; }
<!-- begin-user-doc --> <!-- end-user-doc -->
public Task<ProtectionSystemRestRep> discover(URI id,String type){ UriBuilder builder=client.uriBuilder(getIdUrl() + "/discover"); if (type != null && !type.equals("")) { builder=builder.queryParam("namespace",type); } return postTaskURI(builder.build(id)); }
Begins discovery on the given protection system <p> API Call: <tt>POST /vdc/protection-systems/{id}/discover</tt>
public void addPrimaryKeyRelationship(ERDAssociation table,boolean reflect){ if (primaryKeyRelationships == null) { primaryKeyRelationships=new ArrayList<>(); } primaryKeyRelationships.add(table); if (reflect) { firePropertyChange(INPUT,null,table); } }
Adds relationship where the current object is the primary key table in a relationship
Population corner_sort(Population population){ Population unique=new Population(); Population duplicates=new Population(); for (int i=0; i < population.size(); i++) { if (unique.contains(population.get(i))) { duplicates.add(population.get(i)); } else { boolean isDuplicate=false; for (in...
Performs corner sort to identify 2*M solutions, where M is the number of objectives, that comprise the corners of the population.
private void fireHyperlinkUpdate(HyperlinkEvent e){ Object[] listeners=listenerList.getListenerList(); for (int i=listeners.length - 2; i >= 0; i-=2) { if (listeners[i] == HyperlinkListener.class) { ((HyperlinkListener)listeners[i + 1]).hyperlinkUpdate(e); } } }
Notifies all listeners that have registered interest for notification on this event type. The listener list is processed last to first.
public ECFieldElement sqrt(){ int[] x1=this.x; if (Nat256.isZero(x1) || Nat256.isOne(x1)) { return this; } int[] x2=Nat256.create(); SecP256K1Field.square(x1,x2); SecP256K1Field.multiply(x2,x1,x2); int[] x3=Nat256.create(); SecP256K1Field.square(x2,x3); SecP256K1Field.multiply(x3,x1,x3); int[] x...
return a sqrt root - the routine verifies that the calculation returns the right value - if none exists it returns null.
@Override public boolean canUndo(){ return !m_UndoList.isEmpty(); }
returns whether an undo is possible, i.e. whether there are any undo points saved so far
public int recordReturnType(CtClass type,String castName,String resultName,SymbolTable tbl) throws CompileError { returnType=type; returnCastName=castName; returnVarName=resultName; if (resultName == null) return -1; else { int varNo=getMaxLocals(); int locals=varNo + recordVar(type,resultName,varNo,...
Makes a cast to the return type ($r) available. It also enables $_. <p>If the return type is void, ($r) does nothing. The type of $_ is java.lang.Object.
private String match(ScheduleInfo scheduleInfo,ExecutionWindow window){ String msg=""; ExecutionWindowHelper windowHelper=new ExecutionWindowHelper(window); if (!windowHelper.inHourMinWindow(scheduleInfo.getHourOfDay(),scheduleInfo.getMinuteOfHour())) { msg="Schedule hour/minute info does not match with execu...
Check if schedule time info is matched with the desired execution window set by admin.
@Override public void playSequential(Duration dismissDelay){ sq.getChildren().get(1).setDelay(dismissDelay); sq.play(); }
Plays both the show and dismiss animation using a sequential transition object
public boolean inPaintedArea(Point2D pt){ if (painters == null) return false; for (int i=0; i < count; ++i) { if (painters[i].inPaintedArea(pt)) return true; } return false; }
Returns true if pt is in the area painted by this shape painter
protected void makeUnitCone(int subdivisions,List<Geometry> meshes){ float radius=1.0f; Geometry dest; GeometryBuilder gb=this.getGeometryBuilder(); gb.setOrientation(GeometryBuilder.OUTSIDE); for (int index=0; index < getFaceCount(); index++) { GeometryBuilder.IndexedTriangleBuffer itb=gb.tessellateConeB...
Generates a unit cone geometry, including the vertices, indices, normals and texture coordinates, tessellated with the specified number of divisions.
public String toString(Tag tag){ return "<DT><B>" + HEADER + "</B><DD>"+ "<table cellpadding=2 cellspacing=0><tr><td bgcolor=\"#BBFFFF\">"+ umpleLinkText(tag.text())+ "</td></tr></table></DD>\n"; }
Given the <code>Tag</code> representation of this custom tag, return its string representation.
private static int findSubsequenceStart(String[] subSequence,Sequence<IString> sequence,int startIndex){ for (int i=startIndex, sequenceSize=sequence.size(); i < sequenceSize; ++i) { if (i + subSequence.length > sequenceSize) break; if (subSequence[0].equals(sequence.get(i).toString())) { if (subSeq...
Brute-force substring matching in O(n*m) time.
public boolean isEmpty(){ return false; }
This is used to determine if this input node is empty. An empty node is one with no attributes or children. This can be used to determine if a given node represents an empty entity, with which no extra data can be extracted.
public Bindings addOptComponent(String property,Class clazz,JToggleButton c,boolean enabledByDefault){ Binding b=new OptComponentBinding(this,property,clazz,c,enabledByDefault); if (_optComponents.containsKey(property)) { throw new BindingException(Messages.getString("Bindings.duplicate.binding")); } _optCo...
Add an optional (nullable) Java Bean component of type clazz.
public void subdivide(double t,Segment s0,Segment s1){ Cubic c0=null, c1=null; if (s0 instanceof Cubic) c0=(Cubic)s0; if (s1 instanceof Cubic) c1=(Cubic)s1; subdivide(t,c0,c1); }
Subdivides this Cubic curve into two curves at given t.
public void testSomeStartNodesNotUseable(boolean fastRouter){ Fixture f=new Fixture(); TestTimeCost tc=new TestTimeCost(); tc.setData(Id.create(1,Link.class),2.0,2.0); tc.setData(Id.create(2,Link.class),1.0,1.0); tc.setData(Id.create(3,Link.class),3.0,3.0); tc.setData(Id.create(4,Link.class),2.0,2.0); tc....
Tests that a route is found even if not all given start nodes lead to an end node
@Override public void failure(int requestId,int errorCode,String message){ }
Method callback when the request is failed
public boolean hasReadOnly(){ return getReadOnly() != null; }
Returns whether it has the whether the contained entry is read-only.
public static TranBlob createBlob(InputStream stream,int length){ return new TranBlob(new BlobImpl(stream,length),false); }
Create a new <tt>Blob</tt>. The returned object will be initially immutable.
static String toString(Object o){ return o == null ? null : o instanceof String ? (String)o : concatenate((List)o); }
Converts a string or a list of strings to a string. The list notation is a convenient way of writing long multi-line strings in JSON.
public void recompose(StylesheetRoot root){ root.recomposeVariables(this); }
This function is called during recomposition to control how this element is composed.
protected NamedIcon makeTextOverlaidIcon(String text,NamedIcon ic){ String url=ic.getURL(); NamedIcon icon=new NamedIcon(url,url); int textWidth=getFontMetrics(getFont()).stringWidth(text); int iconWidth=icon.getIconWidth(); int textHeight=getFontMetrics(getFont()).getHeight(); int iconHeight=icon.getIconHe...
Create an image of icon with text overlaid
@Override public boolean isActive(){ return amIActive; }
Used by the Whitebox GUI to tell if this plugin is still running.
private void removeSlaves(){ slaves.forEach(null); slaves=new ArrayList<>(); }
Called by the leader to remove all the slaves.
public TColor blend(ReadonlyTColor c,float t){ float[] crgb=c.toRGBAArray(null); rgb[0]+=(crgb[0] - rgb[0]) * t; rgb[1]+=(crgb[1] - rgb[1]) * t; rgb[2]+=(crgb[2] - rgb[2]) * t; alpha+=(c.alpha() - alpha) * t; return setRGB(rgb); }
Blends the color with the given one by the stated amount
public static <E>ConstantSet<E> of(E... elements){ SparseSet<E> sparse=new SparseSet<E>(); for ( E e : elements) sparse.add(e); return new ConstantSet<E>(sparse); }
Returns a constant set (hash-ordered) holding the specified elements.
protected void tearDown(){ }
Tears down the fixture, for example, close a network connection. This method is called after a test is executed.
public boolean decRefCount(){ int rc=refCountUpdater.decrementAndGet(this); if (rc < 0) { throw new IllegalStateException("rc=" + rc); } return rc == 0; }
Returns true if refCount goes to 0.
public StrBuilder appendln(char ch){ return append(ch).appendNewLine(); }
Appends a char value followed by a new line to the string builder.
public static void fail(int errorCode,Throwable cause){ throw new RuntimeException(MP.getMessage(errorCode,cause.getMessage()),cause); }
Unconditioned way to throw an exception, the runtime will chain the cause
public void init(String channelId) throws IOException { init(channelId,false); }
Initialise this object. This should not be called from the main thread.
@Inline public void addEvent(EventType et,int ival1,int ival2,int ival3,int ival4){ if (!enabled) return; addEventInternal(et,ival1,ival2,ival3,ival4); }
Add an event to the feedlet's generated event stream
public void sendMessage(String message){ checkSocket(); this.socket.sendTextMessage(message); }
Sent a text message to the channel. This call is asynchronous, any error or success with be sent as a separate message to the listener. Note, the listener will receive its own messages.
private void parseAndFillEndpoint(Node endpointNode,Channel incomingChannel,EList<Endpoint> endpoints,EList<Channel> channels){ if (endpointNode != null) { if (endpointNode.getNodeType() == Node.ELEMENT_NODE) { if (incomingChannel != null) { channels.add(incomingChannel); } Element endpo...
Parse given Node and fill and fill the given endpoint and channel collections.
public boolean hasRules(){ if (rules == null) { return false; } return rules.size() > 0; }
Returns <code>true</code> if rule engine has at least one rule set.
@Override protected boolean isZoneLevelResource(){ return false; }
Filesystem is not a zone level resource
protected void addConversionErrorMessage(FacesContext context,UIComponent component,ConverterException ce){ String converterMessageString=null; FacesMessage message; UIInput input; if (component instanceof UIInput) { input=(UIInput)component; converterMessageString=input.getConverterMessage(); input...
Add a conversion error message in the case of a PropertyEditor based conversion error.
@Override public void run(){ amIActive=true; boolean image1Bool=false; boolean image2Bool=false; double constant1=0; double constant2=0; if (args.length < 3) { showFeedback("Plugin parameters have not been set properly."); return; } String inputHeader1=args[0]; File file=new File(inputHeader1)...
Used to execute this plugin tool.
public static Color parseColor(String colorString) throws NumberFormatException { return ColorFactory.parseColor(colorString,false); }
Convert a string representing a 24/32bit hex color value into a Color value. NOTE: <ul> <li>Only 24bit (RGB) java.awt.Color is supported on the JDK 1.1 platform. <li>Both 24/32bit (ARGB) java.awt.Color is supported on the Java 2 platform. </ul>
public void testBogusArguments() throws Exception { IllegalArgumentException expected=expectThrows(IllegalArgumentException.class,null); assertTrue(expected.getMessage().contains("Unknown parameters")); }
Test that bogus arguments result in exception
static public void assertFalse(String message,boolean condition){ assertTrue(message,!condition); }
Asserts that a condition is false. If it isn't it throws an AssertionFailedError with the given message.
public void popSubQueryInfo(){ subQueryInfo=subQueryInfo.getUpper(); }
Remove the current subquery info from the stack.
public BlobRegressionTest(String name){ super(name); }
Creates a new BlobRegressionTest.
@Override protected void mouseClicked(int par1,int par2,int par3) throws IOException { super.mouseClicked(par1,par2,par3); commandBox.mouseClicked(par1,par2,par3); }
Called when the mouse is clicked.
public Color(int r,int g,int b){ this.r=r; this.g=g; this.b=b; }
Create a color using the color in the palette that is closest to the RGB color specified. This will check a number of colors in the pallet to see which is closest to the specified color so this function is relatively slow.
public AbstractLongList partFromTo(int from,int to){ if (size == 0) return new LongArrayList(0); checkRangeFromTo(from,to,size); long[] part=new long[to - from + 1]; System.arraycopy(elements,from,part,0,to - from + 1); return new LongArrayList(part); }
Returns a new list of the part of the receiver between <code>from</code>, inclusive, and <code>to</code>, inclusive.
public static IEditorInput createFileEditorInput(IFile file) throws CoreException { if (file == null) throw new IllegalArgumentException("File is null"); return new MindMapEditorInput(file.getLocationURI()); }
Creates an editor input using the given file. <p> <b>IMPORTANT:</b> This method should ONLY be called when there's Eclipse IDE in the runtime environment. </p>
protected void processEntity(IXMLReader reader,IXMLEntityResolver entityResolver) throws Exception { if (!XMLUtil.checkLiteral(reader,"NTITY")) { XMLUtil.skipTag(reader); return; } XMLUtil.skipWhitespace(reader,null); char ch=XMLUtil.readChar(reader,'\0'); if (ch == '%') { XMLUtil.skipWhitespace(r...
Processes an ENTITY element.
static public void main(String[] args) throws Exception { if (args.length != 4) { System.err.printf("Usage: java %s metric_name reference_prefix system1 system2%n",SignificanceTest.class.getName()); System.exit(-1); } String evalMetricName=args[0]; String referencePrefix=args[1]; String system1TransFi...
Runs the significance test, applying NIST tokenization to the input.
public static float gain(float a,float b){ float c=(1.0f / b - 2.0f) * (1.0f - 2.0f * a); if (a < 0.5) return a / (c + 1.0f); return (c - a) / (c - 1.0f); }
A variant of the gamma function.
private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException { if (xmlWriter.getPrefix(namespace) == null) { xmlWriter.writeNamespace(prefix,namespace); x...
Util method to write an attribute with the ns prefix
public FiringDisplay(final ClientGUI clientgui){ super(clientgui); clientgui.getClient().getGame().addGameListener(this); clientgui.getBoardView().addBoardViewListener(this); shiftheld=false; attacks=new Vector<AbstractEntityAction>(); setupStatusBar(Messages.getString("FiringDisplay.waitingForFiringPhase")...
Creates and lays out a new firing phase display for the specified clientgui.getClient().
public static String generateResetKey(){ return RandomStringUtils.randomNumeric(DEF_COUNT); }
Generates a reset key.
public static void erode(Mat img,int amount){ Mat kernel=Imgproc.getStructuringElement(Imgproc.CV_SHAPE_RECT,new Size(2 * amount + 1,2 * amount + 1),new Point(amount,amount)); Imgproc.erode(img,img,kernel); }
Erode the image using morphological transformations
boolean appendMarker(Node<V> f){ return casNext(f,new Node<V>(f)); }
Tries to append a deletion marker to this node.
@Override protected void append(E eventObject){ if (!isStarted()) { return; } if (evWarnError != null) { ILoggingEvent ev=((ILoggingEvent)eventObject); if (ev.getLevel().equals(Level.ERROR) || ev.getLevel().equals(Level.WARN)) { evWarnError.updateEventWithFlush(new WarnErrorEvent(ev.getFormatted...
The logging system calls append for every log message. This method filters out the WARN and ERROR message and adds to a debug event queue that can be accessed via cli or rest-api or gui.
public JsonObject(){ names=new Vector<String>(); values=new Vector<JsonValue>(); table=new HashIndexTable(); }
Creates a new empty JsonObject.
public void previous(){ SetupWindow newWindow=_currentWindow.getPrevious(); try { _currentWindow.applySettings(false); } catch ( ApplySettingsException ase) { } show(newWindow); }
Displays the previous window in the setup sequence.
protected static void autoUnBoxing1(MethodVisitor mv,Type fieldType){ switch (fieldType.getSort()) { case Type.BOOLEAN: mv.visitTypeInsn(CHECKCAST,"java/lang/Boolean"); mv.visitMethodInsn(INVOKEVIRTUAL,"java/lang/Boolean","booleanValue","()Z"); break; case Type.BYTE: mv.visitTypeInsn(CHECKCAST,"java/lang/Byte"); ...
Append the call of proper extract primitive type of an boxed object.
public void addIssuerName(byte[] iss_name) throws IOException { if (iss_name == null) { throw new NullPointerException("iss_name == null"); } if (issuerNames == null) { issuerNames=new ArrayList<String>(); } String name=new Name(iss_name).getName(X500Principal.CANONICAL); if (!issuerNames.contains(n...
Adds an issuer to the criterion for the issuer distinguished names. <p> The CRL issuer must match at least one of the specified distinguished names.
public void processFEPortMetrics(Long kbytes,Long iops,StoragePort port,Long sampleTime){ StringMap dbMetrics=port.getMetrics(); _log.info(String.format("FEPortMetrics %s %s kbytes %d iops %d sampleTime %d",port.getNativeGuid(),portName(port),kbytes,iops,sampleTime)); StorageSystem system=_dbClient.queryObject(St...
Process a port metric sample. The values passed in are compared with the previous sample that was captured and used to calculate deltas and are then converted to a port percent busy metric. Short and long term averages for the port percent busy metric are updated.
protected ReferenceEntry<K,V> next(){ return (ReferenceEntry<K,V>)next; }
Gets the next entry in the bucket.
public boolean equals(Object other){ if (other == null) return false; if (!other.getClass().equals(this.getClass())) { return false; } CallIdentifier that=(CallIdentifier)other; if (this.localId.compareTo(that.localId) != 0) { return false; } if (this.host == that.host) return true; if ((thi...
Compare two call identifiers for equality.
private void loadMusic(){ getSupportLoaderManager().initLoader(MUSIC_LOADER_ID,null,this); }
Load music.
@Override public boolean isClosed(){ return rows == null && source == null; }
Returns whether this result set has been closed.
public static InstructionFragment newInstance(Recipe recipe,int sectionNumber){ InstructionFragment fragment=new InstructionFragment(); fragment.recipe=recipe; Bundle args=new Bundle(); args.putInt(ARG_SECTION_NUMBER,sectionNumber); fragment.setArguments(args); return fragment; }
Returns a new instance of this fragment for the given section number.
public void add(final Stat s){ files+=s.files; size+=s.size; lines+=s.lines; }
Adds the specified stat into this.
public final Address overflowAlloc(int bytes,int align,int offset){ Address start=alignAllocationNoFill(largeCursor,align,offset); Address end=start.plus(bytes); if (end.GT(largeLimit)) { requestForLarge=true; Address rtn=allocSlowInline(bytes,align,offset); requestForLarge=false; return rtn; } ...
Allocate space for a new object. This is frequently executed code and the coding is deliberately sensitive to the optimizing compiler. After changing this, always check the IR/MC that is generated.
public Boolean isSilentPairing(){ return silentPairing; }
Gets the value of the silentPairing property.
public IntArray(){ this(10); }
Create an int array with the default initial capacity.
public void drawString(String str,int x,int y){ mGraphics.drawString(str,x,y); }
Draws the text given by the specified string, using this graphics context's current font and color. The baseline of the first character is at position (<i>x</i>,&nbsp;<i>y</i>) in this graphics context's coordinate system.
public WifiTransport(final String host){ super(host); }
Instantiates a new wifi transport.
@Override public final int hashCode(){ final long prime=2654435761L; long result=1; result=prime * result + ((first == null) ? 0 : first.hashCode()); result=prime * result + ((second == null) ? 0 : second.hashCode()); return (int)result; }
Canonical hash function, mixing the two hash values.
public boolean fitsType(Environment env,Context ctx,Type t){ try { if (env.isMoreSpecific(this.type,t)) { return true; } if (this.type.isType(TC_INT) && this.isConstant() && ctx != null) { Expression n=this.inlineValue(env,ctx); if (n != this && n instanceof ConstantExpression) { ...
See if this expression fits in the given type. This is useful because some larger numbers fit into smaller types. <p> If it is an "int" constant expression, inline it, if necessary, to examine its numerical value. See JLS 5.2 and 15.24.
public boolean isPost(){ return HttpMethod.POST.equals(getMethod()); }
Determines whether this is an HTTP POST request. <p/>
private final void updateBuffer(int offset){ fBufferOffset=offset; if (fBufferOffset + fBuffer.length > fRangeOffset + fRangeLength) fBufferLength=fRangeLength - (fBufferOffset - fRangeOffset); else fBufferLength=fBuffer.length; try { final String content=fDocument.get(fBufferOffset,fBufferLength); c...
Fills the buffer with the contents of the document starting at the given offset.
public static void openVideo(Context mContext,String videoPath){ Intent intent=new Intent("android.intent.action.VIEW"); intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); intent.putExtra("oneshot",0); intent.putExtra("configchange",0); Uri uri=Uri.fromFile(new File(videoPath)); intent.setDataAndType(uri,"vid...
use for open video fromSDcard
public void addVetoableChangeListener(String propertyName,VetoableChangeListener in_vcl){ beanContextChildSupport.addVetoableChangeListener(propertyName,in_vcl); }
Method for BeanContextChild interface.
private void drawString(Object nativeFont,String str,int x,int y,int textDecoration,int fontHeight){ if (str.length() == 0) { return; } if (textDecoration != 0) { boolean raised=(textDecoration & Style.TEXT_DECORATION_3D) != 0; boolean lowerd=(textDecoration & Style.TEXT_DECORATION_3D_LOWERED) != 0; ...
Draw a string using the current font and color in the x,y coordinates. The font is drawn from the top position and not the baseline.
public ByteList ConstantDecimalInfo(ByteList bytes,Decimal128 value){ if (show_bytecode) { cpool_out.write("\n ConstantDecimalInfo " + value.toString()); } bytes=value.toByteList(bytes); return bytes; }
Make a CONSTANT_Decimal_info
public static byte[] decodeFromFile(String filename) throws java.io.IOException { byte[] decodedData=null; Base64.InputStream bis=null; try { java.io.File file=new java.io.File(filename); byte[] buffer=null; int length=0; int numBytes=0; if (file.length() > Integer.MAX_VALUE) { throw new...
Convenience method for reading a base64-encoded file and decoding it. <p>As of v 2.3, if there is a error, the method will throw an java.io.IOException. <b>This is new to v2.3!</b> In earlier versions, it just returned false, but in retrospect that's a pretty poor way to handle it.</p>
public IoServiceListenerSupport(IoService service){ if (service == null) { throw new IllegalArgumentException("service"); } this.service=service; }
Creates a new instance of the listenerSupport.
public HandlerPublisher(EventExecutor executor,Class<? extends T> subscriberMessageType){ this.executor=executor; this.matcher=TypeParameterMatcher.get(subscriberMessageType); }
Create a handler publisher. The supplied executor must be the same event loop as the event loop that this handler is eventually registered with, if not, an exception will be thrown when the handler is registered.
public void receiveVideoSharingInvitation(VideoStreamingSession session){ ContactId contact=session.getRemoteContact(); if (sLogger.isActivated()) { sLogger.info(new StringBuilder("Receive video sharing invitation from ").append(contact.toString()).append(" displayName=").append(session.getRemoteDisplayName())....
Receive a new video sharing invitation
GemFireHealthJmxImpl(GfManagerAgent agent,AdminDistributedSystemJmxImpl system) throws AdminException { super(agent,system); this.mbeanName=new StringBuffer().append(MBEAN_NAME_PREFIX).append("GemFireHealth,id=").append(MBeanUtil.makeCompliantMBeanNameProperty(system.getId())).toString(); this.objectName=MBeanUti...
Creates a new <code>GemFireHealthJmxImpl</code> that monitors the health of the given distributed system and uses the given JMX agent.
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.
public Statement orderBy(Object... columns){ statement.append(" ORDER BY "); appendClauses(columns); return this; }
Appending the ORDER BY clause.
public static LanguageVersion languageVersion(){ return LanguageVersion.JAVA_1_5; }
Get the language version this doclet supports.
protected SymbolTableEntryInternalImpl(){ super(); }
<!-- begin-user-doc --> <!-- end-user-doc -->
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 destroy(){ for ( EventTable table : tables) { table.destroy(); } tables.clear(); tableIndexesRefCount.clear(); }
Destroy indexes.
private String indent(){ assert (indent >= 0); if (lastIndent != indent) { indentCache=""; for (int i=0; i < indent; i++) { indentCache+=" "; } } return indentCache; }
Returns the current indentation.