Skip to content

Instantly share code, notes, and snippets.

View egealpay's full-sized avatar

Ege Alpay egealpay

  • Istanbul, Turkey
View GitHub Profile
@egealpay
egealpay / project.ipynb
Last active May 18, 2019 10:12
Project.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
private void measureLine(String line) {
lineCount++;
int lineSize = line.length();
totalChars += lineSize;
lineWidthHistogram.addLine(lineSize, lineCount);
recordWidestLine(lineSize);
}
public class ReporterConfig {
private String m_className;
private List<Property> m_properties = new ArrayList<Property>();
public void addProperty(Property property){
m_properties.add(property);
}
}
public class ReporterConfig {
/**
* The class name of the reporter listener
*/
private String m_className;
/**
* The properties of the reporter listener
*/
private List<Property> m_properties = new ArrayList<Property>();
import 'package:flutter/material.dart';
import 'package:flutter_course/text_control.dart';
main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
import 'package:flutter/material.dart';
import 'package:flutter_course/text_control.dart';
main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: Text("Basics Assignment"),
public class Person {
private House house;
public getHouse() {
return house;
}
public getZipCode() {
return house.zipCode;
}
public class Person {
private House house;
public getHouse() {
return house;
}
}
public class House {
private Address address;
public class Square implements Shape {
private Point topLeft;
private double side;
public double area() {
return side*side;
}
}
public class Rectangle implements Shape {
public class Square {
public Point topLeft;
public double side;
}
public class Rectangle {
public Point topLeft;
public double height;
public double width;
}