This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Прокомментировать примеры кода и установить, какое сообщение будет выведено на консоль в каждом случае: | |
class A { | |
public void f() { | |
System.out.println("A"); | |
} | |
} | |
class B extends A { | |
@Override | |
public void f() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM centos:7 | |
ARG KUDU_VERSION=1.4.0 | |
RUN yum install -y wget | |
RUN echo "Downloading kudu-${KUDU_VERSION}..." && \ | |
wget "http://www.apache.org/closer.cgi?filename=kudu/${KUDU_VERSION}/apache-kudu-${KUDU_VERSION}.tar.gz&action=download" -O /tmp/apache-kudu-${KUDU_VERSION}.tar.gz && \ | |
cd /tmp && \ | |
tar xzf apache-kudu-${KUDU_VERSION}.tar.gz && \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.kududb.examples.loadgen; | |
import org.apache.kudu.ColumnSchema; | |
import org.apache.kudu.Schema; | |
import org.apache.kudu.Type; | |
import org.apache.kudu.client.*; | |
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.Random; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Num = | |
| Zero | |
| Succ of Num | |
let one = Succ Zero | |
let two = Succ one | |
let three = Succ two | |
let four = Succ three | |
let five = Succ four |