Tutorial by Examples: al

In pass by value of parameter passing to a method, actual parameter value is copied to formal parameter value. So actual parameter value will not change after returning from called function. @interface SwapClass : NSObject -(void) swap:(NSInteger)num1 andNum2:(NSInteger)num2; @end @impleme...
The input element with a type attribute whose value is "datetime" represents a control for setting the element’s value to a string representing a global date and time (with timezone information). <fieldset> <p><label>Meeting time: <input type=datetime name="m...
For now I think the catalog module contains almost everything you can add to a module. Api - Contains the service contracts. A set of interfaces that should not be changed unless the minor version changes. Not mandatory for a custom module but nice to have for comercial extensions. Data - Data...
GNU Emacs uses a special format for documentation: info. The Common Lisp standard has been converted to the Texinfo format, which can be used to create documentation browsable with the info reader in GNU Emacs. See here: dpans2texi.el converts the TeX sources of the draft ANSI Common Lisp standard...
While being better in many regards, the new connection syntax in Qt5 has one big weakness: Connecting overloaded signals and slots. In order to let the compiler resolve the overloads we need to use static_casts to member function pointers, or (starting in Qt 5.7) qOverload and friends: #include &lt...
The axis offsets for drawing the marker that are specified by refX and refY are applied before the rotation specified by the orient parameter. Below you can see the effects of various combinations of orient and refX, refY to illustrate this. <svg width="800px" height="600px"&...
The default for drawing markers is to use the stroke width of the calling element, but you can explicitly specify that markers be drawn using the unit system for the element the marker is being applied to by specifying markerUnits="userSpaceOnUse". Markers are drawn into a 3x3 markerUnits ...
add below dependencies to build.gradle file in dependency section. (this is an unOfficial library for date picker) compile 'com.wdullaer:materialdatetimepicker:2.3.0' Now we have to open DatePicker on Button click event. So create one Button on xml file like below. <Button ...
Creating Hadoop User: sudo addgroup hadoop Adding a user: sudo adduser --ingroup hadoop hduser001 Configuring SSH: su -hduser001 ssh-keygen -t rsa -P "" cat .ssh/id rsa.pub >> .ssh/authorized_keys Note: If you get errors [bash: .ssh/authorized_keys: No such file or di...
in styles.xml add your custom style: <?xml version="1.0" encoding="utf-8"?> <resources> <style name="AppBaseTheme" parent="@android:style/Theme.Light.NoTitleBar.Fullscreen"> </style> </resources> Create your custom...
package.json snippet { "scripts": "test": "karma start", "karma": "karma" } }
class Card: special_names = {1:'Ace', 11:'Jack', 12:'Queen', 13:'King'} def __init__(self, suit, pips): self.suit = suit self.pips = pips # Called when instance is converted to a string via str() # Examples: # print(card1) # print(str(card1) ...
Detailed instructions on getting bluetooth set up or installed.
The true and false keywords have two uses: As literal Boolean values var myTrueBool = true; var myFalseBool = false; As operators that can be overloaded public static bool operator true(MyClass x) { return x.value >= 0; } public static bool operator false(MyClass x) { ...
Traditional way interface MathOperation{ boolean unaryOperation(int num); } public class LambdaTry { public static void main(String[] args) { MathOperation isEven = new MathOperation() { @Override public boolean unaryOperation(int num) { ...
CREATE TABLE XtoY ( # No surrogate id for this table x_id MEDIUMINT UNSIGNED NOT NULL, -- For JOINing to one table y_id MEDIUMINT UNSIGNED NOT NULL, -- For JOINing to the other table # Include other fields specific to the 'relation' PRIMARY KEY(x_id, y_id), --...
One can verify whether a method was called on a mock by using Mockito.verify(). Original mock = Mockito.mock(Original.class); String param1 = "Expected param value"; int param2 = 100; // Expected param value //Do something with mock //Verify if mock was used properly Mockito.veri...
Detailed instructions on getting plesk set up or installed.
Detailed instructions on getting websphere set up or installed.
Android developers(mainly beginners) have been confused regarding Internal & External storage terminology. There are lot of questions on Stackoverflow regarding the same. This is mainly because of the fact that terminology according to Google/official Android documentation is quite different to...

Page 129 of 269