5/4-6
五光牧場オートキャンプ場
- 住所
package org.jami; | |
import javax.servlet.*; | |
import java.io.IOException; | |
import java.io.PrintWriter; | |
import java.util.Arrays; | |
import java.util.Map; | |
public class TestServlet implements Servlet{ |
package org.jami | |
trait Eatable | |
trait Ingredients extends Eatable | |
trait Fruit extends Ingredients | |
trait Pear extends Fruit | |
trait Talte[T <: Ingredients] extends Eatable |
javascript:(function() {var w=window, d=document;var p=new RegExp("いいね!","g"),g=window.prompt("「いいね!」置換えます。","ええやん!");if(g){d.body.innerHTML=d.body.innerHTML.replace(p, g)}})() |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../core-icons/av-icons.html"> | |
<link rel="import" href="../paper-fab/paper-fab.html"> | |
<link rel="import" href="../paper-toggle-button/paper-toggle-button.html"> | |
<link rel="import" href="../paper-toast/paper-toast.html"> | |
<link rel="import" href="../paper-calculator/paper-calculator.html"> | |
<polymer-element name="my-element"> | |
<template> |
Function mkString(mid As String, arg As Range) As String | |
Dim c As Range, ans As String | |
For Each c In arg | |
ans = ans & c.Text & mid | |
Next c | |
mkString = left(ans, Len(ans) - len(mid)) | |
End Function |
case class User(name: String, addresses: List[Address]) | |
case class Address(street: String, city: String) | |
val f = Form( | |
mapping( | |
"name" -> text, | |
"addresses" -> list( | |
mapping( | |
"street"-> text, | |
"city" -> text |
package controllers; | |
import java.util.Date; | |
import java.util.concurrent.Callable; | |
import play.data.Form; | |
import play.data.validation.Constraints.Required; | |
import play.libs.Akka; | |
import play.libs.F.Function; | |
import play.libs.F.Promise; |
package controllers | |
import java.util.concurrent._ | |
import play.api._ | |
import play.api.mvc._ | |
import play.api.Play.current | |
import play.api.libs.concurrent._ | |
object TimeoutController extends Controller { | |
def index(t:Long) = Action { |
public interface Function<T, R> { | |
R apply(T t); | |
} | |
public interface GroupBy<E> { | |
Map<Object,List<E>> groupBy(Function<E,Object> f); | |
} | |