本文整理了Java中com.google.appengine.api.users.User.<init>()
方法的一些代码示例,展示了User.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。User.<init>()
方法的具体详情如下:
包路径:com.google.appengine.api.users.User
类名称:User
方法名:<init>
暂无
代码示例来源:origin: org.vx68k.quercus/quercus
public GaeUser(String email,
String authDomain,
String userId,
String federatedIdentity)
{
_user = new User(email, authDomain, userId, federatedIdentity);
}
代码示例来源:origin: GoogleCloudPlatform/appengine-tck
@Test
public void testUserProperty() {
testEqualityQueries(new User("foo@foo.com", "authDomain", "userId", "federatedIdentity"), new User("bar@bar.com", "authDomain", "userId", "federatedIdentity"));
testInequalityQueries(new User("aaa@foo.com", "authDomain"), new User("bbb@foo.com", "authDomain"), new User("ccc@foo.com", "authDomain"));
}
代码示例来源:origin: com.googlecode.cedar-common/objectify
public static User instantiate(SerializationStreamReader streamReader)
throws SerializationException
{
String email = streamReader.readString();
String auth = streamReader.readString();
String userid = streamReader.readString();
return new User(email, auth, userid);
}
代码示例来源:origin: GoogleCloudPlatform/appengine-tck
asSet(new GeoPt(10f, 10f)),
asSet(new GeoPt(20f, 20f)),
asSet(new User("aaa", "aaa"), new User("aaa", "otherAuthDomain")), // ordering must depend only on the email
asSet(new User("bbb", "bbb")),
asSet(KeyFactory.createKey("kind", "aaa")),
asSet(KeyFactory.createKey("kind", "bbb"))
内容来源于网络,如有侵权,请联系作者删除!