// Narrowing Primitive Conversion
long lVar = 12000;
int iVar = (int)lVar;
Java Language Specification - Chapter 5. Conversions and Promotions
--- | |
layout: post | |
title: Sample Post | |
description: "Just about everything you'll need to style in the theme: headings, paragraphs, blockquotes, tables, code blocks, and more." | |
modified: 2016-12-02 | |
tags: [sample post] | |
categories: [intro] | |
image: | |
feature: feature.jpg | |
credit: dargadgetz |
This is a sample build configuration for Maven. | |
# Check our guides at https://confluence.atlassian.com/x/VYk8Lw for more examples. | |
# Only use spaces to indent your .yml configuration. | |
# ----- | |
# You can specify a custom docker image from Docker Hub as your build environment. | |
image: paroos/maven-nodejs-bower-grunt-npmresolver-ts-sass | |
pipelines: | |
default: | |
- step: |
//#1: Creating members via constructor | |
class Car { | |
constructor(public engine: string) { | |
} | |
} | |
//#2: Structure of a typescript class | |
//Class |
# Clear the folder first - please use this carefully | |
rm -rf $REPO_NAME | |
# clone the reposotory | |
git clone --bare $ORIGIN_URL | |
# add a remote repository | |
cd $REPO_NAME | |
git remote add --mirror=fetch repo1 $REPO1_URL | |
# update the local copy from the first repository |
private JRadioButton radioButtonOption1; | |
if(this.radioButtonOption1.isSelected()) { | |
//Radio Button mit der Option 1 ist selektiert. | |
} |
//Breite 'Text' vom Textfeld holen | |
String textWidth = this.textFieldWidth.getText(); | |
//Breite 'Text' (String) in ein Double konvertieren. | |
double width = Double.parseDouble(textWidth); |
// Narrowing Primitive Conversion
long lVar = 12000;
int iVar = (int)lVar;
Java Language Specification - Chapter 5. Conversions and Promotions
import javax.swing.*; | |
import java.awt.*; | |
import java.awt.event.ActionEvent; | |
import java.awt.event.ActionListener; | |
public class HelloWorld { | |
private JButton buttonOK; | |
private JPanel panel1; | |
public HelloWorld() { |
/** | |
* Hello World Klasse. | |
*/ | |
public class HelloWorld { | |
/** | |
* Eintrittspunkt von deiner Anwendung. | |
* @param args Argument, die Du deiner Anwendung übergeben kannst. | |
*/ | |
public static void main(String [] args) { |
npm install -g jspm@beta
jspm init
jspm install angular2 reflect-metadata zone.js es6-shim
This will create a jspm_packages
folder, and a config.js
file.
Open the config.js
file - this file manages options for the System.js loader - tweak it as appropriate