code stringlengths 10 174k | nl stringlengths 3 129k |
|---|---|
public void addXValue(String xVal){
mXVals.add(xVal);
}
| Adds a new x-value to the chart data. |
public static boolean isGAUseUpdatable(){
return true;
}
| Tells if the GA use can be updated |
public DefaultUpnpServiceConfiguration(){
this(NetworkAddressFactoryImpl.DEFAULT_TCP_HTTP_LISTEN_PORT);
}
| Defaults to port '0', ephemeral. |
private static boolean isInHorizontalTargetZone(float x,float y,float handleXStart,float handleXEnd,float handleY,float targetRadius){
if (x > handleXStart && x < handleXEnd && Math.abs(y - handleY) <= targetRadius) {
return true;
}
return false;
}
| Determines if the specified coordinate is in the target touch zone for a horizontal bar handle. |
public void close() throws IOException {
if (debugLeaks) {
openFiles.remove(location);
if (showOpen) System.out.println(" close " + location);
}
if (file == null) return;
flush();
long fileSize=file.length();
if (!readonly && (minLength != 0) && (minLength != fileSize)) {
file.setLength(m... | Close the file, and release any associated system resources. |
@Inline public static boolean checkBlockMeta(Address block){
return getMetaAddress(block).plus(FL_META_OFFSET).loadWord().EQ(Word.one());
}
| Return true if the metadata for this block was set. |
protected void postExecute(){
restoreSelection();
++cursor;
}
| Try to preserve the previous selection after a command is executed. |
protected boolean check(SMTPSession session,Mail mail){
MimeMessage message;
try {
message=mail.getMessage();
HashSet<String> domains=scanMailForDomains(message,session);
for ( String domain : domains) {
Iterator<String> uRbl=uriRbl.iterator();
String target=domain;
while (uRbl.hasN... | Check method |
public boolean equals(Object obj){
if (!(obj instanceof CompilationUnit)) return false;
CompilationUnit other=(CompilationUnit)obj;
return this.owner.equals(other.owner) && super.equals(obj);
}
| Returns true if this handle represents the same Java element as the given handle. |
public DebuggerSynchronizer(final IDebugger debugger){
Preconditions.checkNotNull(debugger,"IE00789: Debugger argument can not be null");
attachSynchronizer=new AttachSynchronizer(debugger,listeners);
breakpointHitSynchronizer=new BreakpointHitSynchronizer(debugger,listeners);
breakpointRemovedSynchronizer=new ... | Creates a new debugger synchronizer object. |
public Topology build(){
return topology;
}
| Returns the platform specific topology. |
public void clear(){
cache.clear();
}
| Clears the cache. |
@Deprecated public Task<VolumeRestRep> detachFullCopy(URI id,URI copyId){
return postTask(getFullCopyUrl() + "/{copyId}/detach",id,copyId);
}
| Begins detaching a full copy of the given block volume. <p> API Call: <tt>POST /block/volumes/{id}/protection/full-copies/{copyId}/detach</tt> |
public String format(Locale locale,double number){
DecimalFormat df=getDecimalFormat(locale);
df.applyPattern(",0");
df.setGroupingSize(3);
return df.format(number).replace('\'',',');
}
| formats a number |
public void from(@Nonnull String dependencyNotation){
from(getProject().getDependencies().create(dependencyNotation));
}
| Processes a dependency specified by name. |
public boolean isGaussian(){
return (m_clustertype == SubspaceCluster.GAUSSIAN);
}
| checks, whether cluster type is gaussian |
public void curePlayers(){
curePlayersPosition(teamQBs);
curePlayersPosition(teamRBs);
curePlayersPosition(teamWRs);
curePlayersPosition(teamOLs);
curePlayersPosition(teamKs);
curePlayersPosition(teamSs);
curePlayersPosition(teamCBs);
curePlayersPosition(teamF7s);
sortPlayers();
}
| Get rid of all injuries |
public void addNewMessage(Message message){
MessageHeaderParent item=null;
for (int i=getItemCount(false) - 1; i > 1; i--) {
if (items.get(i) instanceof MessageHeaderParent) {
item=(MessageHeaderParent)items.get(i);
if (!item.getId().equals(message.getIdForHolder())) {
item=null;
}
... | Add a new message to the bottom of the list and create a new messageHeaderParent if last did not match this message Stream/subject or private recipients. |
public T profile(String value){
return attr("profile",value);
}
| Sets the <code>profile</code> attribute on the last started tag that has not been closed. |
public static <I,A>Parser<I,A> fail(){
return null;
}
| A parser which always fails |
public void actionPerformed(ActionEvent e){
log.config(e.getActionCommand());
Object source=e.getSource();
if (source instanceof JCheckBox || source instanceof JRadioButton) {
cmd_selection(source);
if (source instanceof JRadioButton) {
Iterator it=m_buttonGroups.values().iterator();
while (it... | Action Listener |
public boolean isLongerThan(ReadableDuration duration){
if (duration == null) {
duration=Duration.ZERO;
}
return compareTo(duration) > 0;
}
| Is the length of this duration longer than the duration passed in. |
private DateTestUtil(){
}
| Prevent instantiation. |
public static <T>LazyDequeX<T> fromIterable(Iterable<T> it){
return fromIterable(DequeX.<T>defaultCollector(),it);
}
| Construct LazyListX from an Iterable |
public void onSequenceCompleted(int sequenceId,long frameNumber){
}
| Note that this is typically invoked on the camera thread and at high frequency, so implementations must execute quickly and not make assumptions regarding the thread they are on. |
private static void rebuildSessionFactory(){
try {
Class.forName("net.sourceforge.jtds.jdbc.Driver",true,SessionFactory.class.getClassLoader());
sessionFactoryBean=new LocalSessionFactoryBean();
sessionFactoryBean.setConfigLocation(configLocation);
sessionFactoryBean.setBeanClassLoader(HibernateSessio... | Rebuild hibernate session factory |
public SRaster(){
super(GraphicType.GT_Raster,RenderType.RT_Unknown,LineType.LT_Unknown,DeclutterType.DC_None);
p1_=new XYPoint((short)0,(short)0);
ll1_=new LLPoint(0f,0f);
width_=0;
height_=0;
x_hot_=0;
y_hot_=0;
pixels_=new byte[0];
colorsTotal_=0;
transparent_=0;
ct_=new CTEntry[0];
}
| Generic object with nothing allocated internally. |
public GsonBuilder disableHtmlEscaping(){
this.escapeHtmlChars=false;
return this;
}
| By default, Gson escapes HTML characters such as < > etc. Use this option to configure Gson to pass-through HTML characters as is. |
public static TextView findTextView(View view){
if (view instanceof TextView) {
return (TextView)view;
}
else {
if (view instanceof ViewGroup) {
return findTextView(((ViewGroup)view).getChildAt(0));
}
else {
return null;
}
}
}
| Find TextView by traverse view tree |
public StopAnalyzer(Path stopwordsFile) throws IOException {
this(loadStopwordSet(stopwordsFile));
}
| Builds an analyzer with the stop words from the given path. |
public static ComponentUI createUI(JComponent c){
return new CompiereTableHeaderUI();
}
| Static Create UI |
final long fn(long v,long x){
return v + x;
}
| Version of plus for use in retryUpdate |
protected double estimateMaximumTickLabelWidth(Graphics2D g2,TickUnit unit){
RectangleInsets tickLabelInsets=getTickLabelInsets();
double result=tickLabelInsets.getLeft() + tickLabelInsets.getRight();
if (isVerticalTickLabels()) {
FontRenderContext frc=g2.getFontRenderContext();
LineMetrics lm=getTickLabe... | Estimates the maximum width of the tick labels, assuming the specified tick unit is used. <P> Rather than computing the string bounds of every tick on the axis, we just look at two values: the lower bound and the upper bound for the axis. These two values will usually be representative. |
public boolean isPermitted(PermissionType type,String target,int value){
if (roleTypes.contains(RoleType.SUPER)) return true;
Integer v=permissions[type.ordinal()].get(target);
for ( RoleType roleType : roleTypes) {
Integer v1=roleType.permissionValue(type,target);
if (v1 != null && (v == null || v < v... | Check user permission for the specified value. |
@Override public IBinder onBind(Intent intent){
return sSyncAdapter.getSyncAdapterBinder();
}
| Return an object that allows the system to invoke the sync adapter. |
public static void enableDeathOnNetwork(){
int oldPolicy=getThreadPolicyMask();
int newPolicy=oldPolicy | DETECT_NETWORK | PENALTY_DEATH_ON_NETWORK;
setThreadPolicyMask(newPolicy);
}
| Used by the framework to make network usage on the main thread a fatal error. |
public synchronized VisualTree addTree(String group,Tree tree,Predicate filter){
return addTree(group,tree,filter,VisualItem.SCHEMA,VisualItem.SCHEMA);
}
| Adds a tree to this visualization, using the given data group name. A visual abstraction of the data will be created and registered with the visualization. An exception will be thrown if the group name is already in use. |
protected SVGOMFEImageElement(){
}
| Creates a new SVGOMFEImageElement object. |
public void writeInteger(String key,Integer value){
if (writeParameter(key,value.toString()) != 0) {
mCache.put(key,value);
}
}
| Write integer parameter |
private void findTypesIn(Object model,Map<String,Type> types){
requireNonNull(model);
requireNonNull(types);
if (HasSupertype.class.isInstance(model)) {
((HasSupertype<?>)model).getSupertype().ifPresent(null);
}
if (HasAnnotationUsage.class.isInstance(model)) {
((HasAnnotationUsage<?>)model).getAnnota... | A recursive method that parses through the model hierarchy of the specified object and adds all found types to the supplied map. The type names will be used as keys. |
public static byte[] readFileToByteArray(File file) throws IOException {
InputStream in=null;
try {
in=openInputStream(file);
return IOUtils.toByteArray(in,file.length());
}
finally {
IOUtils.closeQuietly(in);
}
}
| Reads the contents of a file into a byte array. The file is always closed. |
public boolean saveError(String AD_Message,String message){
return saveError(AD_Message,message,true);
}
| Set and issue Error and save as ValueNamePair |
public void addSchemaLdif(String schemaLdif){
if (this._schemaLdifList == null) {
this._schemaLdifList=new ArrayList<String>();
}
_schemaLdifList.add(schemaLdif);
}
| Adds a single schema ldif file to the exising list of schema ldif files. |
@Override public boolean isActive(){
return amIActive;
}
| Used by the Whitebox GUI to tell if this plugin is still running. |
private void processIncoming(Fact fact){
Resource subject=fact.getSubject();
URI predURI=fact.getPredicate();
OwlProperty prop=schema.getProperty(predURI);
for ( Resource type : prop.getRange()) {
types.processType(type,OwlRule.PRP_RNG,fact);
}
for ( URI inverseProp : prop.getInverseProperties()) {
... | Process a triple in which this node is the object. |
public boolean endNalUnit(int discardPadding){
if (!isFilling) {
return false;
}
nalLength-=discardPadding;
isFilling=false;
isCompleted=true;
return true;
}
| Invoked to indicate that a NAL unit has ended. |
public void removeFactor(String factor){
Object o=connectivity.remove(factor);
if (o == null) {
throw new IllegalArgumentException("Factor not in graph: " + factor);
}
}
| Removes a factor from the graph. |
public boolean isEOF(){
return this.byteBuffer[4] == (byte)0xFE && this.getDataLength() <= 5;
}
| Whether or not this packet is a MySQL "EOF" packet |
public static String formatText(final FormatterDetails customFormatter,final String text,final byte[] rawText){
logger.trace("Formatting '" + text + "' with "+ customFormatter.getName());
String formattedText=text;
for ( final FormatterFunction function : customFormatter.getFunction()) {
if (function.getSubs... | Formats the given text using the provided formatter. |
@Override public String[] sentenceFinalPunctuationTags(){
return tags;
}
| Returns a String array of sentence final punctuation tags for this treebank/language. |
public ProtocolVersion forVersion(int major,int minor){
if ((major == this.major) && (minor == this.minor)) {
return this;
}
if (major == 1) {
if (minor == 0) {
return HTTP_1_0;
}
if (minor == 1) {
return HTTP_1_1;
}
}
if ((major == 0) && (minor == 9)) {
return HTTP_0_9;
... | Obtains a specific HTTP version. |
public TwoColumnOutput(@Nonnull Writer out,int leftWidth,int rightWidth,@Nonnull String spacer){
if (leftWidth < 1) {
throw new IllegalArgumentException("leftWidth < 1");
}
if (rightWidth < 1) {
throw new IllegalArgumentException("rightWidth < 1");
}
this.out=out;
this.leftWidth=leftWidth;
this.ri... | Constructs an instance. |
public synchronized boolean hasAnyAssociatedInverseRelationship(Vertex associate,Vertex target,Vertex type){
Collection<Relationship> relationships=getRelationships(associate);
if (relationships == null) {
return false;
}
for ( Relationship relationship : relationships) {
if (relationship.getTarget().h... | Return if any of the associates of the vertex have an inverse/negative relationship of the type to the target. |
public void java_io_ObjectInputStream_allocateNewArray(SootMethod method,ReferenceVariable thisVar,ReferenceVariable returnVar,ReferenceVariable params[]){
throw new NativeMethodNotSupportedException(method);
}
| private static native java.lang.Object allocateNewArray(java.lang.Class, int); |
protected void writePaddedString(String s,int length){
int pad=length - s.length();
printer.print(s);
while (pad > 0) {
printer.print(" ");
pad--;
}
}
| Description of the Method |
@Override public boolean isEmpty(){
return size() == 0;
}
| Indicates whether map has any entries. |
public VdcConfig toConfigParam(VirtualDataCenter vdc){
log.info("copy {} to the sync config param",vdc.getShortId());
VdcConfig vdcConfig=new VdcConfig();
Site activeSite=drUtil.getActiveSite(vdc.getShortId());
vdcConfig.setId(vdc.getId());
vdcConfig.setShortId(vdc.getShortId());
vdcConfig.setSecretKey(vdc.... | Build VdcConfig for a vdc for SyncVdcConfig call |
public static boolean isTopLevelScrollItem(AccessibilityNodeInfoCompat node){
if (node == null) {
return false;
}
AccessibilityNodeInfoCompat parent=null;
try {
parent=node.getParent();
if (parent == null) {
return false;
}
if (isScrollable(node)) {
return true;
}
if (nod... | Determines whether a node is a top-level item in a scrollable container. |
public void check(List<String> words) throws MnemonicException {
toEntropy(words);
}
| Check to see if a mnemonic word list is valid. |
public ChildState(View v){
child=v;
minorValid=false;
majorValid=false;
childSizeValid=false;
child.setParent(AsyncBoxView.this);
}
| Construct a child status. This needs to start out as fairly large so we don't falsely begin with the idea that all of the children are visible. |
private void validateBeforeSending(){
if (getDestination() == null) throw new NullPointerException("Destination is null");
if (getDestinationPort() == 0) throw new NullPointerException("Destination port is 0");
}
| Validate before sending that there is a destination set. |
protected void removeAt(int index){
_set[index]=no_entry_value;
super.removeAt(index);
}
| Releases the element currently stored at <tt>index</tt>. |
public static Component createHorizontalStrut(int width){
return new Filler(new Dimension(width,0),new Dimension(width,0),new Dimension(width,Short.MAX_VALUE));
}
| Creates an invisible, fixed-width component. In a horizontal box, you typically use this method to force a certain amount of space between two components. In a vertical box, you might use this method to force the box to be at least the specified width. The invisible component has no height unless excess space is availa... |
public void printJobRequiresAttention(PrintJobEvent pje){
}
| Called to notify the client that some possibly user rectifiable problem occurs (eg printer out of paper). |
public static Iterable<String> files(SegmentInfos infos) throws IOException {
final List<Collection<String>> list=new ArrayList<>();
list.add(Collections.singleton(infos.getSegmentsFileName()));
for ( SegmentCommitInfo info : infos) {
list.add(info.files());
}
return Iterables.concat();
}
| Returns an iterable that allows to iterate over all files in this segments info |
protected void clearEvents(){
}
| This method resets the incoming events (time events included). |
public static boolean writeFile(File file,InputStream stream,boolean append){
OutputStream o=null;
try {
makeDirs(file.getAbsolutePath());
o=new FileOutputStream(file,append);
byte data[]=new byte[1024];
int length=-1;
while ((length=stream.read(data)) != -1) {
o.write(data,0,length);
... | write file |
static SystemTestEnvironment createSystemTestEnvironment(String classpath,Path buildDir){
Path workingDir=buildDir.resolve("working-directories");
Path testInputClassDir=buildDir.resolve("classes/testInput");
Path jacocoAgentPath=buildDir.resolve("jacocoagent/jacocoagent.jar");
return new SystemTestEnvironment(... | Creates the system test environment using the given classpath and build directory. Assumes working directories, test input class files, and the jacoco agent jar file are all located within the build directory. |
public void discardUpstreamSamples(int discardFromIndex){
rollingBuffer.discardUpstreamSamples(discardFromIndex);
largestParsedTimestampUs=rollingBuffer.peekSample(sampleInfoHolder) ? sampleInfoHolder.timeUs : Long.MIN_VALUE;
}
| Discards samples from the write side of the queue. |
public static int pickCards(int[] deck){
return (int)(Math.random() * deck.length);
}
| pickCards overloaded randomly picks a card from a deck |
public void testBug22643() throws Exception {
checkPingQuery(this.conn);
Connection replConnection=getMasterSlaveReplicationConnection();
try {
checkPingQuery(replConnection);
}
finally {
if (replConnection != null) {
replConnection.close();
}
}
Connection lbConn=getLoadBalancedConnectio... | Test of a new feature to fix BUG 22643, specifying a "validation query" in your connection pool that starts with "slash-star ping slash-star" _exactly_ will cause the driver to " + instead send a ping to the server (much lighter weight), and when using a ReplicationConnection or a LoadBalancedConnection, will send the ... |
private void writeFile(List<String> lines,File file) throws Exception {
try (PrintWriter writer=new PrintWriter(new FileOutputStream(file))){
for ( String line : lines) {
writer.println(line);
}
}
}
| Write lines to a file. |
protected void doPrintHeader(){
}
| Does nothing. |
public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException {
String s1=m_arg0.execute(xctxt).str();
String s2=m_arg1.execute(xctxt).str();
int index=s1.indexOf(s2);
return (-1 == index) ? XString.EMPTYSTRING : new XString(s1.substring(0,index));
}
| Execute the function. The function must return a valid object. |
public static XppDom buildDom(Reader r) throws XmlPullParserException, IOException {
XmlPullParser parser=createDefaultParser();
parser.setInput(r);
return XppDom.build(parser);
}
| Build an XPP DOM hierarchy from a Reader. |
private PostgreSQLCallgraphLoader(){
}
| Do not instantiate this class. |
public static CacheHeader readHeader(InputStream is) throws IOException {
CacheHeader entry=new CacheHeader();
int magic=readInt(is);
if (magic != CACHE_MAGIC) {
throw new IOException();
}
entry.key=readString(is);
entry.etag=readString(is);
if (entry.etag.equals("")) {
entry.etag=null;
}
entr... | Reads the header off of an InputStream and returns a CacheHeader object. |
private static void fillAllFields(PriceModel priceModel,LocalizerFacade facade,VOPriceModel voPM){
fillBaseFields(priceModel,voPM);
if (priceModel.isChargeable()) {
voPM.setRoleSpecificUserPrices(PricedProductRoleAssembler.toVOPricedProductRoles(priceModel.getRoleSpecificUserPrices(),facade));
voPM.setStepp... | Sets all attributes in the transfer object. Warning: a lot of data must be loaded from the database. This will result in slow performance, if called for multiple domain objects. |
public static void drag(float fromX,float toX,float fromY,float toY,int stepCount){
Instrumentation inst=InstrumentationRegistry.getInstrumentation();
long downTime=SystemClock.uptimeMillis();
long eventTime=SystemClock.uptimeMillis();
float y=fromY;
float x=fromX;
float yStep=(toY - fromY) / stepCount;
f... | Simulate touching a specific location and dragging to a new location. |
public Term(String fld){
this(fld,new BytesRef());
}
| Constructs a Term with the given field and empty text. This serves two purposes: 1) reuse of a Term with the same field. 2) pattern for a query. |
public void add(CarbonLevel level,CarbonQuery.SortType sortType,List<CarbonMeasureFilter> msrFilters,CarbonDimensionLevelFilter dimLevelFilter){
CarbonLevelHolder holder=new CarbonLevelHolder(level,sortType);
holder.setMsrFilters(msrFilters);
holder.setDimLevelFilter(dimLevelFilter);
dims.add(holder);
}
| Add query details to this axis. |
public JSONArray put(int index,Map value) throws JSONException {
this.put(index,new JSONObject(value));
return this;
}
| Put a value in the JSONArray, where the value will be a JSONObject that is produced from a Map. |
private void decode(byte[] data,int width,int height){
long start=System.currentTimeMillis();
Camera.Size size=activity.getCameraManager().getPreviewSize();
byte[] rotatedData=new byte[data.length];
for (int y=0; y < size.height; y++) {
for (int x=0; x < size.width; x++) rotatedData[x * size.height + si... | Decode the data within the viewfinder rectangle, and time how long it took. For efficiency, reuse the same reader objects from one decode to the next. |
public final boolean isPrivate(){
return Modifier.isPrivate(getModifiers());
}
| Returns true if the element is private. |
public void computeHole(){
LinearRing ring=getRing();
isHole=CGAlgorithms.isCCW(ring.getCoordinates());
}
| Computes whether this ring is a hole. Due to the way the edges in the polyongization graph are linked, a ring is a hole if it is oriented counter-clockwise. |
public void appendToLog(String s){
append("\n" + s);
}
| Outputs the string as a new line of log data in the LogView. |
public void write(int bits,int width) throws IOException {
if (bits == 0 && width == 0) {
return;
}
if (width <= 0 || width > 32) {
throw new IOException("Bad write width.");
}
while (width > 0) {
int actual=width;
if (actual > this.vacant) {
actual=this.vacant;
}
this.unwritten|... | Write some bits. Up to 32 bits can be written at a time. |
public void sendEvent(final String name,final Map<String,String> properties){
final String eventName=String.format(TfsTelemetryConstants.PLUGIN_ACTION_EVENT_NAME_FORMAT,name);
final PropertyMapBuilder builder=new PropertyMapBuilder(properties);
logger.debug(String.format("sendEvent(%s, %s)",name,builder.toString(... | Call sendEvent to track an occurrence of a named event. |
public void vetoableChange(PropertyChangeEvent evt) throws PropertyVetoException {
if (evt.getSource() instanceof VEditor) {
GridField changedField=((VEditor)evt.getSource()).getField();
if (changedField != null) {
processDependencies(changedField);
}
}
processNewValue(evt.getNewValue(),evt.getP... | Editor Listener |
public void serialEvent(SerialPortEvent event){
switch (event.getEventType()) {
case SerialPortEvent.BI:
case SerialPortEvent.OE:
case SerialPortEvent.FE:
case SerialPortEvent.PE:
case SerialPortEvent.CD:
case SerialPortEvent.CTS:
case SerialPortEvent.DSR:
case SerialPortEvent.RI:
case SerialPortEvent.OUTPUT_BUFFER_EMP... | serialEvent - respond to an event triggered by RXTX. In this case we are only dealing with DATA_AVAILABLE but the other events are left here for reference. AJB Jan 2010 |
@DSSafe(DSCat.SAFE_LIST) @DSGenerator(tool_name="Doppelganger",tool_version="2.0",generated_on="2014-09-03 14:59:53.720 -0400",hash_original_method="981FD37767829C6F7D8558BD0416446C",hash_generated_method="EF53AA7565D23EFB8E8E742395670F3B") @Override public boolean accept(File file){
return file.isFile();
}
| Checks to see if the file is a file. |
public void createFailureJointCount(){
new Capacity(0,-3,0);
}
| Tests the failed creation of a capacity by passing a negative joint count. |
public void endDocument(){
LOG.info("Completed parse. Found " + pages + " pages.");
}
| When parsing ends |
public Container(Layout layout){
super();
setUIID("Container");
this.layout=layout;
setFocusable(false);
}
| Constructs a new Container with a new layout manager. |
public BrownianBridge(final TimeGrid timeGrid){
this.size_=timeGrid.size() - 1;
this.t_=new double[this.size_];
this.sqrtdt_=new double[this.size_];
this.bridgeIndex_=new int[this.size_];
this.leftIndex_=new int[this.size_];
this.rightIndex_=new int[this.size_];
this.leftWeight_=new double[this.size_];
... | generic times |
private List<Recommendation> createMetroPointRecommendations(VirtualArray srcVarray,List<VirtualArray> tgtVarrays,VirtualPool srcVpool,VirtualArray haVarray,VirtualPool haVpool,Project project,VirtualPoolCapabilityValuesWrapper capabilities,List<StoragePool> candidatePrimaryPools,List<StoragePool> candidateSecondaryPoo... | Creates recommendations for MetroPoint. This consists of single recommendations that include the both the primary and secondary HA clusters and their associated RP protection details. |
private void openSelected(final boolean analyze,final boolean useCustomFilters){
if (table.isEditable()) return;
IRepFiltersBean customFiltersBean=null;
if (useCustomFilters) {
final RepFiltersEditorDialog filtersEditorDialog=new RepFiltersEditorDialog();
if (!filtersEditorDialog.isOk()) return;
... | Opens the selected replay folders. |
@Deprecated final static public boolean bind(final IPredicate<?> pred,final IConstraint[] constraints,final Object e,final IBindingSet bindings){
copyValues((IElement)e,pred,bindings);
if (constraints != null) {
return BOpUtility.isConsistent(constraints,bindings);
}
return true;
}
| Binds variables from a visited element. <p> Note: The bindings are propagated before the constraints are verified so this method will have a side-effect on the bindings even if the constraints were not satisfied. Therefore you should clone the bindings before calling this method. |
public boolean checkAbsolute(LocPathIterator path){
m_isAbs=true;
path.callVisitors(null,this);
return m_isAbs;
}
| Process the LocPathIterator to see if it contains variables or functions that may make it context dependent. |
@Override protected String selectedDecoderType(){
if (!isDecoderSelected()) {
return null;
}
else {
return mDecoderList.getSelectedValue();
}
}
| Convert the decoder selection UI result into a name. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.