content
stringlengths
40
137k
"public void removeSearchProgressListener(HistorySearchProgressListener listener) {\n synchronized (progressListeners) {\n progressListeners.remove(listener);\n }\n}\n"
"public void setColumnDouble(double columnDouble) {\n realmSetter$columnDouble(columnDouble);\n}\n"
"private void processWorkbookRow(XSSFRow header, XSSFRow row, Submission sub, List<SearchOrder> SearchOrderList) {\n int j = 0;\n for (SearchOrder column : SearchOrderList) {\n switch(column) {\n case ID:\n header.createCell(j).setCellValue(\"String_Node_Str\");\n i...
"public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float sidex, float sidey, float sidez) {\n WrenchUsage wrenchUsed = testWrenchUsage(x, y, z, player);\n if (wrenchUsed == WrenchUsage.NORMAL) {\n composeDecomposeShield(world, x, y, z);\n return true;\n...
"public List<ThrowsDecl> getThrowsDecl() {\n return this.throwsDeclarations;\n}\n"
"public void map(Chunk[] chks, NewChunk[] ncs) {\n int chunkSize = chks[0].len();\n long chunkStart = chks[0].start();\n if (chunkStart > R.end() || (chunkStart + chunkSize) < R.start()) {\n return;\n }\n for (int r = 0; r < chunkSize; r++) {\n if (!R.contains(chunkStart + r)) {\n ...
"public static IHeadlessClient createHeadlessClient(String solutionname, String username, String password, Object[] solutionOpenMethodArgs) throws Exception {\n return HeadlessClientFactoryInternal.createHeadlessClient(solutionname, username, password, solutionOpenMethodArgs);\n}\n"
"void addExtraBipartitionByHeuristics(Collection<Tree> contractedTrees, TaxonIdentifier tid, SimilarityMatrix sm) {\n Collection<Tree> allGreedies;\n this.addExtraBipartitionByDistance();\n System.err.println(\"String_Node_Str\");\n for (Tree tree : contractedTrees) {\n tree.rerootTreeAtEdge(tid.getT...
"private void validateRoles(ClusterBlueprint blueprint, List<String> unRecogConfigTypes, List<String> unRecogConfigKeys, String stackVendor, String stackVersion, String distro) {\n Map<String, Integer> definedRoles = new HashMap<String, Integer>();\n List<String> unRecogRoles = null;\n List<NodeGroupInfo> node...
"public void showBounds(final BoundingVolume bounds) {\n if (rootNode != null) {\n dispose();\n }\n rootNode = new Node(\"String_Node_Str\");\n RenderManager rm = ClientContextJME.getWorldManager().getRenderManager();\n RenderComponent rc = rm.createRenderComponent(rootNode);\n this.addComponen...
"public static Node parse(String fullPath) {\n try {\n Node node = new Node();\n String[] nodeDir = fullPath.split(\"String_Node_Str\");\n NodeType nodeType = NodeType.valueOf(nodeDir[4]);\n node.setNodeType(nodeType);\n String url = nodeDir[5];\n url = url.substring(nodeTyp...
"public void saveProgramRuntimeArgs(HttpRequest request, HttpResponder responder, String namespaceId, String appName, String type, String programName) throws Exception {\n ProgramType programType = getProgramType(type);\n ProgramId programId = new ApplicationId(namespaceId, appName, appVersion).program(programTyp...
"public Object getSampleEntity() {\n return new StatsEntity();\n}\n"
"public HttpHeaders getHeaders() {\n Map<String, List<String>> headers = new HashMap<>();\n Map<String, Collection<String>> feignHeaders = RibbonRequest.this.toRequest().headers();\n for (String key : feignHeaders.keySet()) {\n headers.put(key, new ArrayList<String>(feignHeaders.get(key)));\n }\n ...
"public static Object validate(String dataType, String format, String value, Locale locale, boolean isLocale) throws ValidationValueException {\n Object obj = null;\n if (value == null)\n return obj;\n if (isLocale) {\n obj = validateWithLocale(dataType, format, value, locale);\n } else {\n ...
"protected void updateColumnHintProperties(ResultSetColumnModel model, ColumnHintHandle columnHintHandle) throws SemanticException {\n columnHintHandle.setAnalysis(model.analysisType);\n columnHintHandle.setAlias(model.alias);\n columnHintHandle.setDisplayName(model.displayName);\n columnHintHandle.setHelpT...
"private void allocateUpdateable(Var var, Arg initReaders, Arg initWriters) throws UndefinedTypeException {\n String tprefix = typeToString(var.type().primType());\n pointStack.peek().add(Turbine.allocateUpdateable(prefixVar(var), tprefix, argToExpr(initReaders)));\n}\n"
"public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {\n super.doPost(request, response);\n response.setContentType(\"String_Node_Str\");\n response.setHeader(\"String_Node_Str\", \"String_Node_Str\");\n response.setHeader(\"String_Node_Str\", \"...
"public void monitoredDispatch(String command, File monitorFile) throws ProcessExecutionException {\n String schedulerCommand = this.createCommand(command);\n boolean recoveryMode = monitorFile.exists();\n if (!recoveryMode) {\n log.debug(\"String_Node_Str\" + monitorFile.getAbsolutePath());\n if...
"public void postStartup() {\n super.postStartup();\n try {\n if (!RegisterManagement.getInstance().isProductRegistered()) {\n RegisterWizard registerWizard = new RegisterWizard();\n Shell shell = getWorkbenchConfigurer().getWorkbench().getActiveWorkbenchWindow().getShell();\n ...
"private void assertDomainSpecified(String domainName) throws AccessControlException {\n if (domainName == null || domainName.trim().isEmpty()) {\n throw new AccessControlException(\"String_Node_Str\");\n }\n}\n"
"protected void endContainer(IContainerArea container) {\n if (container instanceof PageArea) {\n pageGraphic.dispose();\n } else {\n if (container.needClip()) {\n pageGraphic.clipRestore();\n }\n }\n if (!containerStack.isEmpty()) {\n containerStack.pop();\n }\n}\n...
"public void setLockedSeed(ItemSeeds seed, int meta) {\n if (!this.hasLockedSeed()) {\n this.lockedSeed = seed;\n this.lockedSeedMeta = meta;\n this.markForUpdate();\n }\n}\n"
"private IJointDataSetDesign newJointDataSet(JointDataSetHandle handle, ExecutionContext context2) throws BirtException {\n Iterator it = handle.joinConditionsIterator();\n List joinConditions = new ArrayList();\n JoinConditionHandle jc = null;\n while (it.hasNext()) {\n jc = (JoinConditionHandle) it...
"public void setElements(Collection<T> elements) {\n this.getRootChildren().removeAll();\n try {\n for (T o : elements) {\n XulTreeRow row = this.getRootChildren().addNewRow();\n for (XulComponent col : this.getColumns().getChildNodes()) {\n XulTreeCell cell = (XulTreeC...
"public void broadcastTo(int index, CommandSender to) {\n Message message = getMessage(index);\n if (message != null) {\n List<String> messages = message.getMessages();\n List<String> commands = message.getCommands();\n for (int i = 0; i < messages.size(); i++) {\n String m = messa...
"private void addListeners() {\n gen.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {\n public void onCheckedChanged(RadioGroup rGroup, int checkedId) {\n gendererror.setVisibility(View.GONE);\n }\n });\n edcountry.setThreshold(2);\n edcountry.setOnFocusChangeLi...
"public void run() {\n try {\n for (ThreadConfinedMethods method : ThreadConfinedMethods.values()) {\n try {\n callThreadConfinedMethod(obj, method);\n fail(\"String_Node_Str\");\n } catch (IllegalStateException e) {\n if (expectedMessage.equa...
"public boolean apply(final ReportingInstanceUsageEvent event) {\n final InstanceMetricDimensionKey key = new InstanceMetricDimensionKey(event.getUuid(), event.getMetric(), event.getDimension());\n final long eventMs = event.getTimestampMs();\n if (event.getValue() == null)\n return true;\n final Ins...
"private void buildAllDirectoriesAndSymlinks() {\n Set<Path> deletedDirectories = new HashSet<>();\n for (Path path : existingDirectories) {\n if (!directoriesToMake.contains(path)) {\n if (dryRun) {\n stderr(\"String_Node_Str\", path);\n } else {\n delet...
"protected Panel _createRunControls(int numbuttons, boolean showStopTime) {\n Panel panel = _createRunControls(numbuttons);\n if (showStopTime) {\n Panel stopTimePanel = new Panel();\n stopTimePanel.add(new Label(\"String_Node_Str\"));\n String defaultStopSpec = getSingleParameter(\"String_No...
"public Raid removeFromSignUp(String raidId, User user, int mystic, int instinct, int valor, int plebs, LocalDateTime startAt) {\n RaidEntity raidEntity = findEntityByRaidId(raidId);\n if (raidEntity == null) {\n throw new UserMessedUpException(user, localeService.getMessageFor(LocaleService.NO_RAID_AT_GYM...
"public void testObjectPropertyDomainAxiomLearning() throws Exception {\n ObjectPropertyDomainAxiomLearner2 l = new ObjectPropertyDomainAxiomLearner2(ks);\n l.setMaxExecutionTimeInSeconds(maxExecutionTimeInSeconds);\n l.setEntityToDescribe(op1);\n l.init();\n l.start();\n EvaluatedAxiom<OWLObjectPrope...
"public void releasePages(Address first) {\n if (VM.VERIFY_ASSERTIONS)\n VM.assertions._assert(Conversions.isPageAligned(first));\n int pageOffset = Conversions.bytesToPages(first.diff(start));\n int pages = freeList.size(pageOffset);\n if (ZERO_ON_RELEASE)\n VM.memory.zero(first, Conversions....
"public void testNotifyPersonChanged() {\n System.out.println(\"String_Node_Str\");\n int requestTypeId = RequestTypeId.NOTIFY_PERSON_CHANGED;\n PersonRequest requestData = new PersonRequest();\n Person p = new Person();\n requestData.setPerson(p);\n List<PersonIdentifier> personIdentifierList = new A...
"private long writeWireMarshallable(Wire wire, long position, int size, final WriteMarshallable marshallable) throws IOException {\n final long positionDataWritten = Wires.writeData(wire, marshallable);\n bounds.setWritePositionIfGreater(wire.bytes().writePosition());\n final long index = indexing.incrementLas...
"protected void drawBorders(CellArea container) {\n BoxStyle style = container.getBoxStyle();\n if (style == null)\n return;\n writeSingleBorder(LEFTBORDERLINE, style.getLeftBorder());\n BorderInfo currentborderinfo = null;\n int additionalcol = 0;\n int drawcurrentcolid = container.getColumnID...
"private void moveTo(int x, int y) {\n mPositionX = x - TextView.this.mScrollX;\n mPositionY = y - TextView.this.mScrollY;\n if (isPositionInBounds()) {\n if (mContainer.isShowing()) {\n final int[] coords = mTempCoords;\n TextView.this.getLocationInWindow(coords);\n coo...
"public String getPasswordText() {\n return passwordText.getText().trim();\n}\n"
"public void localToApplication() {\n Iterator iter = keys.iterator();\n while (iter.hasNext()) {\n String key = (String) iter.next();\n Choice choice = getChoice(key);\n String oldValue = choice.getString();\n String newValue = local.getProperty(key);\n if (newValue == null || ...
"private void parseIndexSee(String localName) {\n if (indexSeeSpecList.contains(localName)) {\n IndexTerm indexTerm = new IndexTerm();\n IndexTerm parentTerm = null;\n indexTerm.setTermPrefix(Constants.IndexTerm_Prefix_See);\n if (!termStack.isEmpty()) {\n parentTerm = (IndexTe...
"public int GetOptions(String[] args, Configuration halvadeConf) throws IOException, URISyntaxException {\n try {\n parseArguments(args);\n localRefDir = tmpDir;\n getBestDistribution(halvadeConf);\n MyConf.setTasksPerNode(halvadeConf, reducersPerContainer);\n MyConf.setScratchTemp...
"public void add(String key, String value, String addedBy) throws IOException, ConfigurationException {\n DictionaryItem item = new DictionaryItem(value, addedBy, new Date().getTime());\n dictionary.addProperty(key.trim().toLowerCase(), new JSONObject(item).toString().replaceAll(\"String_Node_Str\", \"String_Node...
"public void terminate() {\n getM_pOwner().getSteering().SeekOff();\n getM_pOwner().getSteering().ArriveOff();\n getM_pOwner().setMaxSpeed(RavenScript.getDouble(\"String_Node_Str\"));\n}\n"
"public <T, P> FieldMapper<S, T> newFieldMapper(PropertyMapping<T, P, K, FieldMapperColumnDefinition<K>> propertyMapping, MappingContextFactoryBuilder contextFactoryBuilder, MapperBuilderErrorHandler mappingErrorHandler) {\n final PropertyMeta<T, P> propertyMeta = propertyMapping.getPropertyMeta();\n final Type p...
"public void call() {\n int dmg = Random.NormalIntRange(1, 4) - finalTarget.drRoll();\n finalTarget.damage(dmg, trap);\n if (finalTarget == Dungeon.hero && !finalTarget.isAlive()) {\n Dungeon.fail(trap.getClass());\n }\n Sample.INSTANCE.play(Assets.SND_HIT, 1, 1, Random.Float(0.8f, 1.25f));\n f...
"private void timedOut(final ITask nt) {\n final ITask t = tq.queue.poll();\n run(t);\n if (t.isRecurring())\n tq.add(t);\n }\n}\n"
"public void fxOnDeath(EntityDeathEvent event) {\n VPlayer vplayer = VPlayers.i.get(event.getEntity());\n if (vplayer == null)\n return;\n if (vplayer.vampire() == false)\n return;\n vplayer.fxShriekRun();\n vplayer.fxFlameBurstRun();\n vplayer.fxSmokeBurstRun();\n vplayer.updateSpout...
"private FileConfiguration getConfig(File file) throws IOException, InvalidConfigurationException {\n FileConfiguration config = new YamlConfiguration();\n if (!file.exists()) {\n file.getParentFile().mkdir();\n file.createNewFile();\n InputStream inputStream = plugin.getResource(file.getName...
"public void wipeData() {\n super.wipeData();\n SQLiteDatabase db = getDatabaseHelper().getWritableDatabase();\n db.execSQL(\"String_Node_Str\");\n db.execSQL(\"String_Node_Str\");\n db.execSQL(\"String_Node_Str\");\n getContactDirectoryManagerForTest().scanAllPackages();\n}\n"
"public void writeHeader() {\n try {\n writer.write(getMarshaller().getXmlHeader());\n writer.write(cr);\n } catch (IOException e) {\n throw XMLMarshalException.marshalException(e);\n }\n}\n"
"public Image getColumnImage(Object element, int columnIndex) {\n if (element instanceof RuleCollection) {\n return columnDescriptors[columnIndex - 1].imageFor((RuleCollection) element);\n }\n if (element instanceof Rule) {\n return columnDescriptors[columnIndex].imageFor((Rule) element);\n }\...
"public void countApiUse(NotificationRecord record) {\n final Notification n = record.getNotification();\n if (n.actions != null) {\n numWithActions++;\n }\n if ((n.flags & Notification.FLAG_FOREGROUND_SERVICE) != 0) {\n numForegroundService++;\n }\n if ((n.flags & Notification.FLAG_ONGO...
"public void migrateForScale(String vmUuid, long srcHostId, DeployDestination dest, Long oldSvcOfferingId) throws ResourceUnavailableException, ConcurrentOperationException {\n AsyncJobExecutionContext jobContext = AsyncJobExecutionContext.getCurrentExecutionContext();\n if (!VmJobEnabled.value() || jobContext.is...
"public static boolean createColumns(LoadDataParameters loadDataParameters) {\n ArrayList<Integer> columnIDs = null;\n boolean createColumnsFromExistingIDs = false;\n if (loadDataParameters.getColumnIds() == null)\n columnIds = new ArrayList<Integer>();\n else {\n columnIds = loadDataParameter...
"protected Object decode(ChannelHandlerContext ctx, Channel channel, Object msg) throws Exception {\n ChannelBuffer buf = (ChannelBuffer) msg;\n buf.skipBytes(2);\n int length = buf.readByte();\n int dataLength = length - 5;\n int type = buf.readUnsignedByte();\n if (type == MSG_LOGIN) {\n Stri...
"private void getModified(SDODataObject sdoDataObject, List modifiedList) {\n if (null == sdoDataObject) {\n return;\n }\n if (isModified(sdoDataObject)) {\n modifiedList.add(sdoDataObject);\n }\n List<Property> properties = sdoDataObject.getInstanceProperties();\n for (int x = 0; x < pr...
"protected JAXBContext getJAXBContext(Class<?> domainClass, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, ?> httpHeaders) throws JAXBException {\n ContextResolver<JAXBContext> resolver = providers.getContextResolver(JAXBContext.class, mediaType);\n JAXBContext jaxbContext;\n if (null ==...
"public boolean IsSane() {\n Set attributes = syntax.getElementAttributes(this.itemName);\n Object[] params = attributes.toArray();\n for (int i = 0; i < params.length; i++) {\n Parameter currParam = (Parameter) params[i];\n System.out.println(\"String_Node_Str\" + currParam.getName() + \"String_...
"public static void main(String[] args) {\n try {\n byte[] verdata = SimpleRequest.get(\"String_Node_Str\");\n String verstring = new String();\n if (verdata == null)\n verstring = \"String_Node_Str\";\n else\n verstring = new String(verdata);\n if (verstring....
"public boolean replaceEvent(GameEvent event, Ability source, Game game) {\n boolean result = false;\n int toPrevent = amount;\n if (event.getAmount() < this.amount) {\n toPrevent = event.getAmount();\n amount -= event.getAmount();\n } else {\n amount = 0;\n }\n GameEvent preventE...
"public void setModuleLocaion(String moduleLocaion) {\n if (moduleLocaion != null && ELibraryInstallStatus.NOT_INSTALLED == ModuleStatusProvider.getStatus(getMavenUri())) {\n ModuleStatusProvider.resetStatus(getMavenUri());\n }\n this.moduleLocaionFromConfiguration = moduleLocaion;\n}\n"
"public void changeMetaContactAvatar(MetaContact metaContact, Contact protoContact, byte[] newAvatar) throws IllegalArgumentException {\n if (!(metaContact instanceof MetaContactImpl)) {\n throw new IllegalArgumentException(metaContact + \"String_Node_Str\");\n }\n byte[] oldAvatar = metaContact.getAvat...
"protected void rehash(int newLevel) {\n Value[] oldKeys = keys;\n V[] oldValues = values;\n reset(newLevel);\n int len = oldKeys.length;\n for (int i = 0; i < len; i++) {\n Value k = oldKeys[i];\n if (k != null && k != ValueNull.DELETED) {\n internalPut(k, oldValues[i]);\n ...
"public static void setConfigFile(String file) {\n LOGGER.entering(file);\n if (configuration == null) {\n configFile = file;\n }\n LOGGER.exiting(parser.toString());\n return parser;\n}\n"
"public final Having complexHaving() throws RecognitionException {\n Having having = null;\n Token o = null;\n Having s = null;\n Having a = null;\n Having b = null;\n try {\n int alt96 = 2;\n alt96 = dfa96.predict(input);\n switch(alt96) {\n case 1:\n {\...
"private void findImageData() {\n if (shape.getAny() == null) {\n System.out.println(\"String_Node_Str\" + XmlUtils.marshaltoString(shape, true));\n } else {\n for (Object o : shape.getAny()) {\n if (o instanceof JAXBElement) {\n JAXBElement jb = (JAXBElement) o;\n ...
"public void rotate(float rx, float ry, float rz) {\n polyhedron.rotate(rx, ry, rz);\n updateTransforms();\n}\n"
"public void tesStringOneArgLocaleFrance_MessageFormatMessage() {\n final String testMsg = \"String_Node_Str\";\n final FormattedMessage msg = new FormattedMessage(Locale.FRANCE, testMsg, 12);\n final String result = msg.getFormattedMessage();\n final String expected = \"String_Node_Str\" + SPACE + \"String...
"public Object valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) {\n Object value = row.get(this.field);\n if (value == null) {\n return value;\n }\n O...
"public IValue withType(IType type, ITypeContext typeContext, MarkerList markers, IContext context) {\n IMethod method = this.method;\n if (method == null) {\n method = IContext.resolveMethod(type, null, this.methodName, this.arguments);\n if (method == null) {\n StringBuilder builder = n...
"public Row next() {\n fetchIfNeeded();\n Row ret = null;\n if (page.size() > nextItem) {\n ret = page.get(nextItem);\n nextItem++;\n } else if (statementIterator.hasNext()) {\n statementIterator.nextShard();\n currentPage = 0;\n nextItem = 0;\n fetchIfNeeded();\n ...
"protected boolean proxyReturnBoolean(final WireKey eventId) {\n final long startTime = Time.currentTimeMillis();\n final long tid = sendEvent(startTime, eventId, null);\n return readBoolean(tid, startTime);\n}\n"
"private void updateNotifications() {\n NotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);\n if (mPassphraseCache.size() > 0) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) {\n NotificationCompat.Builder builder = new...
"public void listenableObjectSample() {\n try {\n ContextAware listenableContextAware = getEventFiringObject(contextAware, emptyWebDriver, contextListener, alertListener);\n WebDriver webDriver = listenableContextAware.context(\"String_Node_Str\");\n assertTrue(contextAwarePredicate.test(listena...
"public static boolean canConvert(Exp fromExp, int to, int[] conversionCount) {\n int from = fromExp.getCategory();\n if (from == to) {\n return true;\n }\n switch(from) {\n case Category.Array:\n return false;\n case Category.Dimension:\n switch(to) {\n ...
"protected final Component buildPage() {\n GridBagConstraints constraints = new GridBagConstraints();\n Vector components = new Vector();\n int offset = SwingTools.checkBoxIconWidth();\n JPanel panel = new JPanel(new GridBagLayout());\n panel.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));\n J...
"protected void setupDatabase(Database database) throws Exception {\n dropViewIfExists(null, VIEW_NAME, database);\n dropViewIfExists(TestContext.ALT_SCHEMA, VIEW_NAME, database);\n dropAndCreateTable(new CreateTableStatement(null, TABLE_NAME).addPrimaryKeyColumn(\"String_Node_Str\", \"String_Node_Str\").addCo...
"public void managerMode(InventoryClickEvent event) {\n boolean top = event.getView().convertSlot(event.getRawSlot()) == event.getRawSlot();\n Player p = (Player) event.getWhoClicked();\n DecimalFormat f = new DecimalFormat(\"String_Node_Str\");\n if (top) {\n setInventoryClicked(true);\n if (...
"public void onWriteDefinition(TypeSpec.Builder typeBuilder) {\n typeBuilder.addField(FieldSpec.builder(ClassName.get(String.class), AUTHORITY, Modifier.PRIVATE, Modifier.STATIC, Modifier.FINAL).initializer(\"String_Node_Str\", authority).build());\n int code = 0;\n for (TableEndpointDefinition endpointDefinit...
"private static Date toDateISO8601(String source) throws BirtException {\n Date resultDate = null;\n try {\n resultDate = DateFormatISO8601.parse(source);\n return resultDate;\n } catch (ParseException e1) {\n throw new BirtException(pluginId, ResourceConstants.CONVERT_FAILS, new Object[] ...
"private List<List<Integer>> getFolds(int length, int k) {\n List<Integer> rows = new ArrayList<>();\n for (int row = 0; row < length; row++) {\n rows.add(row);\n }\n Collections.shuffle(rows, random);\n List<List<Integer>> folds = new ArrayList<>();\n int size = rows.size() / k;\n size = si...
"ArchivFile getArchivFile(String currentWorkingFile) {\n currentWorkingFile = Encoding.filterString(currentWorkingFile);\n for (ArchivFile af : files) {\n if (af.getFilepath().equals(currentWorkingFile)) {\n return af;\n }\n }\n return null;\n}\n"
"private InputStream convertJsonObjectToStream(JSONObject obj) {\n return new ByteArrayInputStream(obj.toString().getBytes(UTF_8));\n}\n"
"public double relativeTo(InformationLoss<?> min, InformationLoss<?> max) {\n if (min == null) {\n throw new IllegalArgumentException(\"String_Node_Str\");\n } else if (max == null) {\n throw new IllegalArgumentException(\"String_Node_Str\");\n }\n InformationLossRCE _min = convert(min);\n ...
"public void setDefaults(ILaunchConfigurationWorkingCopy configuration) {\n m_configuration = configuration;\n if (m_selProject == null) {\n m_selProject = getSelectedProject();\n }\n if (m_selProject != null) {\n configuration.setAttribute(RhogenLaunchDelegate.projectNameCfgAttribute, m_selPr...
"public void removeEntryListener(EntryListener listener, Object key) {\n if (listener == null)\n throw new IllegalArgumentException(\"String_Node_Str\");\n checkInputObject(key);\n removeGenericListener(listener, key);\n}\n"
"public void EndWaveScreen() {\n if (EndWaveScene == null) {\n EndWaveScene = new Scene();\n EndWaveScene.setBackground(new ColorBackground(0.0f, 0.0f, 1.0f));\n Sprite buyButton = new Sprite(base.getCameraWidth() - base.getCameraWidth(), base.getCameraHeight() - base.getBuyButton().getHeight(),...
"public List<PublicKey> readKeyAuthKeys(String path, boolean ignoreErrors) {\n FileInputStream fis = null;\n try {\n fis = new FileInputStream(path);\n keys = KeyParser.parsePublicKeys(fis, new Base64Decoder() {\n\n public byte[] decode(String str) {\n return Base64.decode(...
"public void downloadWithRemoteRedirect() throws Exception {\n RemoteRepository remoteRepository = getRemoteRepositoriesService().getRemoteRepository(\"String_Node_Str\");\n remoteRepository.setUrl(\"String_Node_Str\" + redirectPort);\n getRemoteRepositoriesService().updateRemoteRepository(remoteRepository);\n...
"public void onTodoListLoaded(List<TodoListHeaderViewModel> items) {\n this.items = items;\n mAdapter = new FlexibleAdapter<>(items);\n mRecyclerView.setupFlexibleAdapter(this, mAdapter);\n mRecyclerView.setupRecyclerView(mEmptyView, mAdapter, mFabMenu);\n mAdapter.setSwipeEnabled(true);\n mAdapter.ge...
"public static Test suite() {\n TestSuite suite = new TestSuite();\n suite.addTest(GuiceTck.suite());\n suite.addTestSuite(BinderTest.class);\n suite.addTest(BinderTestSuite.suite());\n suite.addTestSuite(BindingAnnotationTest.class);\n suite.addTestSuite(BindingOrderTest.class);\n suite.addTestSui...
"public ArrayList<Path> getSelected(boolean expandSet) {\n ArrayList<Path> selected = new ArrayList<Path>();\n if (mIsAlbumSet) {\n if (mInverseSelection) {\n int total = getTotalCount();\n for (int i = 0; i < total; i++) {\n MediaSet set = mSourceMediaSet.getSubMediaSe...
"protected IType resolveType(IType ownerType, String typeName) throws JavaModelException {\n if (typeName.startsWith(\"String_Node_Str\") && typeName.endsWith(\"String_Node_Str\")) {\n return null;\n }\n if (!typeName.endsWith(\"String_Node_Str\")) {\n typeName = Signature.getTypeErasure(typeName...
"public void renderCoveredConection(int x, int y, int z, IPartRenderHelper rh, RenderBlocks renderer, int channels, ForgeDirection of) {\n TileEntity te = this.tile.getWorldObj().getTileEntity(x + of.offsetX, y + of.offsetY, z + of.offsetZ);\n IPartHost ccph = te instanceof IPartHost ? (IPartHost) te : null;\n ...
"public boolean LabelKeyboardHandler(int KeyCode, AttributeSet attrs, String ComponentName, Component comp, Circuit circ, SetAttributeAction act, boolean CreateAction) {\n switch(KeyCode) {\n case KeyEvent.VK_L:\n if (attrs.containsAttribute(StdAttr.LABEL)) {\n String OldLabel = attr...
"private void fill() {\n for (StockAbilities a : StockAbilities.values()) {\n if (StockAbilities.isAirbending(a)) {\n if (ProjectKorra.plugin.getConfig().getBoolean(\"String_Node_Str\" + a.name() + \"String_Node_Str\")) {\n abilities.add(a.name());\n airbendingabilitie...
"public void install(final String facetName) {\n try {\n Facet facet = factory.getFacetByName(facetName);\n facet.setProject(project);\n List<Class<? extends Facet>> deps = ConstraintInspector.getFacetDependencies(facet.getClass());\n if (!project.hasAllFacets(deps)) {\n List<S...
"public String getAttribute(Attribute attribute) {\n if (attribute == null)\n return \"String_Node_Str\";\n if (attribute.startsWith(\"String_Node_Str\") || attribute.startsWith(\"String_Node_Str\"))\n return new Element(container.getContainerType()).getAttribute(attribute.fulfill(1));\n if (attr...
"public long getCachedSize() {\n return mInfos[Debug.MEMINFO_CACHED] * 1024;\n}\n"