Tutorial by Topics: i

fun TypeName.extensionName(params, ...) { /* body */ } // Declaration fun <T: Any> TypeNameWithGenerics<T>.extensionName(params, ...) { /* body */ } // Declaration with Generics myObj.extensionName(args, ...) // invocation Extensions are resolved statically. This means that t...
Destructuring is a pattern matching technique that is added to Javascript recently in EcmaScript 6. It allows you to bind a group of variables to a corresponding set of values when their pattern matches to the right hand-side and the left hand-side of the expression. let [x, y] = [1, 2] let ...
ParameterDetailsCameraCaptureSessionA configured capture session for a CameraDevice, used for capturing images from the camera or reprocessing images captured from the camera in the same session previouslyCameraDeviceA representation of a single camera connected to an Android deviceCameraCharacter...
class SubClass < SuperClass
Reflection is commonly used by programs which require the ability to examine or modify the runtime behavior of applications running in the JVM. Java Reflection API is used for that purpose where it makes it possible to inspect classes, interfaces, fields and methods at runtime, without knowing their...
$(function() { $( "#selecter" ).accordion(); }); $(function() { $( "#selecter" ).accordion({ active: 2 }); }); $(function() { $( "#selecter" ).accordion({ animate: 200 }); }); $(function() { $( "#selecter" ).accordion({ collapsible: true }); ...
There are several unit testing tools for Python. This documentation topic describes the basic unittest module. Other testing tools include py.test and nosetests. This python documentation about testing compares several of these tools without going into depth.
Python makes regular expressions available through the re module. Regular expressions are combinations of characters that are interpreted as rules for matching substrings. For instance, the expression 'amount\D+\d+' will match any string composed by the word amount plus an integral number, separate...
__getFunctions() // Returns array of functions for service (WSDL mode only) __getTypes() // Returns array of types for service (WSDL mode only) __getLastRequest() // Returns XML from last request (Requires trace option) __getLastRequestHeaders() // Returns headers from last request (Requires t...
InputBox(prompt[, title][, default][, xpos][, ypos][, helpfile, context]) ArgumentDetailpromptText to display above the input field (usually an instruction as to what is required form the user).titleCaption displayed in the titlebar of the input box.defaultA placeholder for the text field, u...
Local notifications allow your app to notify the user about content which does not require the use of a server. Unlike remote notifications which are triggered from a server, local notifications are scheduled and triggered within an app. Notifications in general are targeted to increase user intera...
SELECT column_name FROM table_name WHERE column_name operator value SELECT column_name, aggregate_function(column_name) FROM table_name GROUP BY column_name HAVING aggregate_function(column_name) operator value
Apache Subversion (SVN) is a universal and centralized open source version control system. Subversion is currently a project under Apache Software Foundation (ASF) and is licensed under the Apache License, Version 2.0. Subversion is designed to manage and control files and directories and track ...
Positive lookahead: (?=pattern) Negative lookahead: (?!pattern) Positive lookbehind: (?<=pattern) Negative lookbehind: (?<!pattern) Not supported by all regex engines. Additionally, many regex engines limit the patterns inside lookbehinds to fixed-length strings. For example the p...
Some languages require you to define ahead of time what kind of variable you're declaring. JavaScript doesn't do that; it will try to figure that out on its own. Sometimes this can create unexpected behavior. If we use the following HTML <span id="freezing-point">0</span> ...
while (boolean_expression) { block_expression } do { block_expression } while (boolean_expression) ParameterDetailsboolean_expressionAny expression that will evaluate to true or false.block_expressionAny expression or set of expressions that will be evaluated if the boolean_expres...
Pipe operators, available in magrittr, dplyr, and other R packages, process a data-object using a sequence of operations by passing the result of one step as input for the next step using infix-operators rather than the more typical R method of nested function calls. Note that the intended aim of p...
QML is an acronym that stands for Qt Meta-object Language. It is a declarative programming language that is part of the Qt framework. QML's main purpose is fast and easy creation of user interfaces for desktop, mobile and embedded systems. QML allows seamless integration of JavaScript, either dire...

Page 18 of 340