Package scala.collection.immutable

Examples of scala.collection.immutable.$colon$colon


public LightSensorScalaMockMirror(){
scala.collection.immutable.List<String> rec = null;
scala.collection.immutable.List<String> sent = null;
rec = scala.collection.immutable.List$.MODULE$.empty();
sent = scala.collection.immutable.List$.MODULE$.empty();
sent = new $colon$colon("read_light", sent);
rec = new $colon$colon("light_value", sent);
port_LightSensorScala_LightSensor = (Port) new Port("LightSensor", rec, sent, this).start();
init();}
View Full Code Here


public TemperatureSensorScalaMockMirror(){
scala.collection.immutable.List<String> rec = null;
scala.collection.immutable.List<String> sent = null;
rec = scala.collection.immutable.List$.MODULE$.empty();
sent = scala.collection.immutable.List$.MODULE$.empty();
sent = new $colon$colon("read_temperature", sent);
rec = new $colon$colon("temperature_value", sent);
port_TemperatureSensorScala_TemperatureSensor = (Port) new Port("TemperatureSensor", rec, sent, this).start();
init();}
View Full Code Here

public LcdScreenScalaMockMirror(){
scala.collection.immutable.List<String> rec = null;
scala.collection.immutable.List<String> sent = null;
rec = scala.collection.immutable.List$.MODULE$.empty();
sent = scala.collection.immutable.List$.MODULE$.empty();
sent = new $colon$colon("initDisplay", sent);
sent = new $colon$colon("refreshDisplay", sent);
sent = new $colon$colon("setDisplay", sent);
rec = new $colon$colon("currentDisplay", sent);
port_LcdScreenScala_Display = (Port) new Port("Display", rec, sent, this).start();
init();}
View Full Code Here

public TemperatureSensorScalaMock(){
scala.collection.immutable.List<String> rec = null;
scala.collection.immutable.List<String> sent = null;
rec = scala.collection.immutable.List$.MODULE$.empty();
sent = scala.collection.immutable.List$.MODULE$.empty();
rec = new $colon$colon("read_temperature", rec);
sent = new $colon$colon("temperature_value", sent);
port_TemperatureSensorScala_TemperatureSensor = (Port) new Port("TemperatureSensor", rec, sent, this).start();
init();}
View Full Code Here

public WeatherStationRPiMock(){
scala.collection.immutable.List<String> rec = null;
scala.collection.immutable.List<String> sent = null;
rec = scala.collection.immutable.List$.MODULE$.empty();
sent = scala.collection.immutable.List$.MODULE$.empty();
rec = new $colon$colon("temperature", rec);
rec = new $colon$colon("light", rec);
port_WeatherStationRPi_RemoteControlIn = (Port) new Port("RemoteControlIn", rec, sent, this).start();
rec = scala.collection.immutable.List$.MODULE$.empty();
sent = scala.collection.immutable.List$.MODULE$.empty();
sent = new $colon$colon("changeDisplay", sent);
port_WeatherStationRPi_RemoteControlOut = (Port) new Port("RemoteControlOut", rec, sent, this).start();
init();}
View Full Code Here

public LightSensorScalaMock(){
scala.collection.immutable.List<String> rec = null;
scala.collection.immutable.List<String> sent = null;
rec = scala.collection.immutable.List$.MODULE$.empty();
sent = scala.collection.immutable.List$.MODULE$.empty();
rec = new $colon$colon("read_light", rec);
sent = new $colon$colon("light_value", sent);
port_LightSensorScala_LightSensor = (Port) new Port("LightSensor", rec, sent, this).start();
init();}
View Full Code Here

public WeatherStationRPiMockMirror(){
scala.collection.immutable.List<String> rec = null;
scala.collection.immutable.List<String> sent = null;
rec = scala.collection.immutable.List$.MODULE$.empty();
sent = scala.collection.immutable.List$.MODULE$.empty();
sent = new $colon$colon("temperature", sent);
sent = new $colon$colon("light", sent);
port_WeatherStationRPi_RemoteControlIn = (Port) new Port("RemoteControlIn", rec, sent, this).start();
rec = scala.collection.immutable.List$.MODULE$.empty();
sent = scala.collection.immutable.List$.MODULE$.empty();
rec = new $colon$colon("changeDisplay", sent);
port_WeatherStationRPi_RemoteControlOut = (Port) new Port("RemoteControlOut", rec, sent, this).start();
init();}
View Full Code Here

public LcdScreenScalaMock(){
scala.collection.immutable.List<String> rec = null;
scala.collection.immutable.List<String> sent = null;
rec = scala.collection.immutable.List$.MODULE$.empty();
sent = scala.collection.immutable.List$.MODULE$.empty();
rec = new $colon$colon("initDisplay", rec);
rec = new $colon$colon("refreshDisplay", rec);
rec = new $colon$colon("setDisplay", rec);
sent = new $colon$colon("currentDisplay", sent);
port_LcdScreenScala_Display = (Port) new Port("Display", rec, sent, this).start();
init();}
View Full Code Here

    }

    public void cardPayment(String userId, int value, Date date) {
        Order order = new Order(userId, new PaymentCard(date, userId), value);
        List<Order> orders = List$.MODULE$.empty();
        orders = new $colon$colon(order, orders);
        PaymentService.pay(orders);
    }
View Full Code Here

     */
    @SuppressWarnings("unchecked")
    public static <T> List<T> list(T... ts) {
        List<T> result = List$.MODULE$.empty();
        for (int i = ts.length; i > 0; i--) {
            result = new $colon$colon(ts[i - 1], result);
        }
        return result;
    }
View Full Code Here

TOP

Related Classes of scala.collection.immutable.$colon$colon

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.