text stringlengths 10 2.72M |
|---|
package babylanguage.babyapp.practicelanguagecommon;
import android.app.Activity;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.graphics.Bitmap;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import android.net.Uri;
import android.o... |
package de.bischinger.validation.business;
import de.bischinger.validation.model.MyPojo;
import de.bischinger.validation.model.assertions.SoftAssertions;
/**
* Created by Alexander Bischof on 28.05.15.
*/
@FunctionalInterface
public interface ValidationStrategy {
void validate(MyPojo actual, MyPojo expected, l... |
package FlippingAnImage;
import java.util.ArrayList;
import java.util.List;
/**
* 题目内容
*
* Given a binary matrix A, we want to flip the image horizontally, then invert it, and return the resulting image.
* To flip an image horizontally means that each row of the image is reversed. For example, flipping [1, 1, ... |
package com.cisco.prototype.ledsignaldetection.Fragments;
import android.app.Activity;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.text.method.ScrollingMovementMethod;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.SurfaceView;
import android.view.... |
package com.tencent.mm.plugin.sns.ui;
import android.view.MenuItem;
import android.view.MenuItem.OnMenuItemClickListener;
import com.tencent.mm.plugin.sns.g.b;
import com.tencent.mm.plugin.sns.model.af;
import com.tencent.mm.plugin.sns.storage.n;
import com.tencent.mm.sdk.platformtools.x;
class SnsGalleryUI$3 impleme... |
package com.qy.zgz.kamiduo.utils;
import org.xutils.common.Callback;
import org.xutils.http.RequestParams;
import org.xutils.x;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.HashMap;
import java.ut... |
package com.ice.springaop;
/**
* @author ice
* @date 18-11-6 上午10:03
*/
public @interface Timer {
}
|
package cn.canlnac.onlinecourse.presentation.internal.di.modules;
import cn.canlnac.onlinecourse.domain.executor.PostExecutionThread;
import cn.canlnac.onlinecourse.domain.executor.ThreadExecutor;
import cn.canlnac.onlinecourse.domain.interactor.GetDocumentsInCatalogUseCase;
import cn.canlnac.onlinecourse.domain.inter... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package GuiNetbean;
//a
import Storage.Account;
import Storage.AccountList;
import java.time.Instant;
import java.time.LocalDate;
impo... |
package com.vincent.key.domain;
public class FunctionCode {
private int keyCode;
private int functionCode;
private String desc;
public FunctionCode(int keyCode, int functionCode, String desc){
this.keyCode = keyCode;
this.functionCode = functionCode;
this.desc = desc;
}
public int g... |
package hirondelle.web4j.database;
/**
Execute a database transaction.
<P>Should be applied only to operations involving more than one SQL statement.
*/
public interface Tx {
/**
Execute a database transaction, and return the number of edited records.
*/
int executeTx() throws DAOException;
... |
package com.group.cache;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.session.SqlSession;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import com.group.util.MybatisUtils;
/**
* 测试缓存
* @author Administrator
*
*/
public class TestCache {
private SqlSession sess... |
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
public class ArrayPartitionI {
public static int arrayPairSum1(int[] nums) { //wrong understanding
int res = 0;
int check =0;
int minAdd = 0;
Arrays.sort(nums);
List<Int... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
import java.io.*;
class ExceptionDemo1 {
public static void main(String args[]){
FileInputStream fis = new FileInputStream("test.txt");
int b;
while ((b = fis.read()) != -1) {
System.out.print(b);
}
fis.close();
}
} |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package TorrentMetadata;
import java.io.IOException;
/**
*
* @author Robert
*/
import java.io.File;
import java.io.F... |
package com.ryit.utils;
public class Constants {
public static final String ADMIN_USER = "adminUser";
public static final String USER = "web_user";
public static final String MOBILE_NO = "mobile"; // 手机号码
public static final String MOBILE_VERIFY_CODE = "mobile_verify"; // 手机验证码
public static... |
package com.yijiupi.login.service.impl;
import com.yijiupi.login.dao.UserDao;
import com.yijiupi.login.entity.User;
import com.yijiupi.login.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
* @Author:吴宸煊
* @Date: Created in 13:43 ... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package eu.stoehler.botapi.users;
import java.io.Serializable;
/**
* Protects one nickname.
* @author joern
*/
public class Simple... |
package com.springboot.module.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import javax.persistence.*;
@Getter
@Setter
@NoArgsConstructor
@ToString
@AllArgsConstructor
@Table(name = "sys_user")
public ... |
package test.str;
/**
* Copyright (c) by www.leya920.com
* All right reserved.
* Create Date: 2017-05-24 11:06
* Create Author: maguoqiang
* File Name: Child.java
* Last version: 1.0
* Function: //TODO
* Last Update Date: 2017-05-24 11:06
* Last Update Log:
* Comment: //TODO
**/
public class Child extends... |
package modelo;
public class Neornithe extends Ave{
private Neognato neognato;
private Paleognato paleognato;
protected final char RANGO_METABOLICO_ALTO = 'A';
protected final char RANGO_METABOLICO_MEDIO = 'M';
protected final char RANGO_METABOLICO_BAJO = 'B';
protected double longitudCola;
protected double... |
import java.rmi.Remote;
import java.rmi.RemoteException;
public interface MeterInterface extends Remote {
public void Register() throws RemoteException ;
public void unRegister()throws RemoteException ;
public String sendReadings()throws RemoteException ;
public String sendAlerts()throws RemoteException ;
publi... |
package com.bowlong.net.http;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.nio.charset.Charset;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import com.al... |
package com.tencent.mm.plugin.card.b;
import com.tencent.mm.plugin.card.model.g;
public interface k$a {
void a(g gVar);
void auM();
}
|
package com.libapputils;
import android.app.Activity;
import android.content.Context;
import android.content.DialogInterface;
import android.content.res.Configuration;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.os.Build;
import android.util.Log;
import android.view.Gravity;
... |
package com.walkerwang.algorithm.swordoffer;
class TreeLinkNode {
int val;
TreeLinkNode left = null;
TreeLinkNode right = null;
TreeLinkNode next = null;
TreeLinkNode(int val) {
this.val = val;
}
}
public class TreeNodeNext {
public static void main(String[] args) {
TreeLinkNode node1 = new TreeLinkNode(1... |
package jp.android.obento;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Vibrator;
import android.text.format.Time;
public class TimerReceiver extends BroadcastRece... |
package com.github.manage;
import com.vic.common.base.form.BaseForm;
/**
* @ProjectName: vic-mall
* @Package: com.github.manage
* @Description: java类作用描述
* @Author: Vayne.Luo
* @date 2019/02/21
*/
public class TestController {
public static void main(String[] args) {
BaseForm baseForm = new BaseFo... |
package com.deltastuido.payment.interfaces;
import java.util.Map;
import com.google.common.base.Preconditions;
public class ChannelPaymentParams {
public static ChannelPaymentParams forForm(String method, String action,
Map<String, String> inputs) {
Preconditions.checkArgument(method.toUpper... |
package simpleframework.core;
import com.xxw.HelloServlet;
import com.xxw.controller.MainPageController;
import org.junit.jupiter.api.*;
import java.lang.annotation.Target;
/**
* @author xiongxianwei
* 2020/6/7 0007
*/
@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
public class BeanContainerTest {
pri... |
package org.scilab.forge.jlatexmath.graphics;
import org.robovm.apple.coregraphics.CGContext;
import org.robovm.apple.coregraphics.CGRect;
import org.robovm.apple.uikit.UIImage;
import org.scilab.forge.jlatexmath.platform.graphics.Graphics2DInterface;
import org.scilab.forge.jlatexmath.platform.graphics.Image;
public... |
package com.example.android.hpquiz;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.CheckBox;
import android.widget.EditText;
import android.widget.RadioButton;
import android.widget.TextView;
import android.widget.Toast;
public class Quiz ext... |
package shared;
import java.lang.*;
/** Class structure used for maitaining threshold information in
* Entropy to make score arrays.
*/
public class ThresholdInfo {
/** The index of this threshold.
*/
public int index;
/** The score value for this particular threshold.
*/
public... |
package com.zhouyi.business.core.model;
import lombok.Data;
import lombok.ToString;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
* @author 杜承旭
* @ClassNmae: UploadPacketResponse
* @Description: TODO
* @date 2019/8/17 9:25
* @Version 1.0
**/
@Data
@ToString
public class ... |
package com.elkattanman.farmFxml.repositories;
import com.elkattanman.farmFxml.domain.Treatment;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
public interface TreatmentRepository extends JpaRepository<Treatment, Integer>, JpaSpe... |
package com.tencent.mm.plugin.backup.a;
public class f$a {
public long endTime;
public String gRG;
public int gRH;
public long startTime;
public f$a(int i, String str, long j, long j2) {
this.gRH = i;
this.gRG = str;
this.startTime = j;
this.endTime = j2;
}
}
|
package com.mashibing.strategy;
import com.mashibing.Tank;
/**
* @program: tank
* @author: hduprince
* @create: 2020-04-07 15:49
**/
public interface FireStrategy {
void fire(Tank tank);
}
|
package com.example.news;
import android.content.Context;
import android.os.Handler;
import android.util.Log;
import android.widget.ListView;
import com.example.news.Gson.News;
import com.example.news.Gson.NewsList;
import com.example.news.Util.HttpUtil;
import com.example.news.Util.UserDao;
import com.example.news.U... |
package EBuilder;
public class Shoes{
private final Style style;
private final boolean laces;
private final boolean zipper;
private final int eyelets;
private final String color;
public Shoes(Style style, boolean laces, boolean zipper, int eyelets, String color) {
this.style = style;
... |
package com.tencent.mm.plugin.appbrand.appcache;
import com.tencent.mm.plugin.appbrand.appcache.s.a;
import com.tencent.mm.plugin.appbrand.appcache.s.b;
import com.tencent.mm.sdk.platformtools.bi;
import java.util.concurrent.ConcurrentHashMap;
public final class l implements b {
private static final ConcurrentHas... |
/*
* Copyright (C) 2015 Hansoo Lab.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
package com.tencent.mm.plugin.appbrand.appcache;
import com.tencent.mm.plugin.appbrand.appcache.h.d;
import java.io.File;
import java.io.FileFilter;
class h$d$1 implements FileFilter {
final /* synthetic */ d ffy;
h$d$1(d dVar) {
this.ffy = dVar;
}
public final boolean accept(File file) {
... |
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.applet.*;
public class Ventana extends JFrame implements ActionListener{
public JPanel panel;
public JTextField num1, num2;
public String con1, con2;
public JButton suma, resta, multi, division;
public float numero1 = 0, numero2 = 0, res... |
package q3;
public class FindRepeatedNum {
public static <T> int[] FindRepeated(T[] list) {
int[] arr = new int[list.length];
int c=0;
for(int i=0;i<list.length;i++)
{
for(int j=i+1;j<list.length;j++)
if(list[i]==list[j]) {
arr[c]=(int) list[i] ;
System.out.println(arr[c]);
... |
/*
* Copyright © 2019 The GWT Project Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... |
import javax.swing.*;
import java.awt.*;
import java.text.DecimalFormat;
public class Taux extends JPanel{
private JLabel jlTaux;
private boolean couleurInverser;
public Taux(String nom) {
super();
this.couleurInverser = false;
JLabel jlTextTaux = new JLabel(nom);
jlTaux = new JLabel(" ");
... |
public class GasStation extends Company implements GasService {
// variaveis de instância de GasStation
private double gasPrice;
private String sname;
// construtor default de GasStation
public GasStation() {
}
// construtor de GasStation
public GasStation(double gasPrice, String sname... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package myobs;
/**
*
* @author egese
*/
public class LetterNote extends UserLogin{
double[] Letters = new double[5]; // Har... |
package com.encore.spring.service;
import java.sql.SQLException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.encore.spring.dao.MemberDAO;
import com.encore.spring.vo.MemberVO;
@Service
public class MemberServiceImpl implements... |
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.sql.*;
public class UpdateNomination extends HttpServlet
{
public void doPost(HttpServletRequest req,HttpServletResponse res)throws IOException,ServletException
{
res.setContentType("text/html");
PrintWriter out=res.getWrite... |
package at.fhj.swd.presentation.viewHelper;
import java.io.IOException;
import java.io.Serializable;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.annotation.PostConstruct;
import javax.faces.application.FacesMessage;
import javax.faces.bean.ManagedBean;
import j... |
package io.pivotal.pccpizza.config;
import org.springframework.cloud.service.BaseServiceInfo;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class ServiceInfo exte... |
package com.czx.web.servlet;
import com.czx.framework.annotations.Component;
import com.czx.framework.container.ClassContainer;
import com.czx.framework.container.RegisterMachine;
import com.czx.web.handler.RequestHandler;
import com.czx.web.route.RouteContainer;
import javax.servlet.ServletConfig;
import javax.servle... |
package org.openfuxml.test.provider;
import org.openfuxml.content.ofx.Document;
import org.openfuxml.content.ofx.Section;
import org.openfuxml.factory.xml.ofx.content.structure.XmlDocumentFactory;
import org.openfuxml.renderer.latex.structure.TestLatexParagraphRenderer;
import org.slf4j.Logger;
import org.slf4j.Logger... |
//package com.zp.controller;
//
//import org.springframework.beans.factory.annotation.Value;
//import org.springframework.cloud.context.config.annotation.RefreshScope;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.PathVariable;
//import org.springframework... |
package de.fhb.ott.pagetox.util;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Properties;
/**
* @author Christoph Ott
*/
public class... |
package de.zarncke.lib.util;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.Reader;
import java.io.StringReader;
import java.io.StringWriter;
import java.net.HttpURLConnection;
import java.net.InetAddress;
import java.net.MalformedU... |
// assignment 10
// pair p134
// Singh, Bhavneet
// singhb
// Wang, Shiyu
// shiyu
import java.util.ArrayList;
import tester.*;
/** Class to hold examples of data and tests */
public class ExamplesWords {
public ExamplesWords() { }
/** Test Word Classes... */
public void testWords(Tester t) {
... |
/*******************************************************************************
* Copyright 2020 Grégoire Martinetti
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at
*
* http://ww... |
/**
* ファイル名 : ConfigurationApplication.java
* 作成者 : hung.pd
* 作成日時 : 2018/5/31
* Copyright © 2017-2018 TAU Corporation. All Rights Reserved.
*/
package jp.co.tau.web7.admin.supplier.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.spri... |
package com.tencent.mm.plugin.account.ui;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import com.tencent.mm.plugin.account.ui.LoginSmsUI.1;
class LoginSmsUI$1$2 implements OnClickListener {
final /* synthetic */ 1 eRW;
LoginSmsUI$1$2(1 1) {
this.eRW... |
package com.corejava.java8;
public class Order
{
public Order(long orderId, double price, String status) {
super();
this.orderId = orderId;
this.price = price;
this.status = status;
}
private long orderId;
private double price;
private String status;
public long getOrderId() {
return orde... |
package br.edu.ifam.saf.api.dto;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.List;
public class AluguelDTO {
private Integer id;
private UsuarioDTO cliente;
private UsuarioDTO funcionario;
private Date dataHoraRequisicao;
private List<ItemAlug... |
package Day03_variables;
public class println_vs_print {
//the only characters we can give for a name _and $
public static void main(String[] args) {
System.out.println("Hello World");// prints from a new line every time
System.out.println("School");// println- print the printing to the next line
//in java there... |
package edu.bluejack19_2.chronotes.home.ui.notes;
import android.app.Dialog;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.Toast;
import androidx.annotation.NonNull;
im... |
package com.tencent.mm.plugin.sns.storage.AdLandingPagesStorage.AdLandingPageComponent.component;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.text.TextUtils;
import java.io.Serializable;
class n$b extends BroadcastReceiver implements Serializ... |
package com.jdyx.app.usermanage;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@Slf4j
@MapperScan("com.jdyx.app.usermanage.mapper") //扫描所有mybatis的mapper接口文件
@S... |
package soft.chess.util;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import javax.swing.JPanel;
import net.sf.json.JSONArray;
import net.sf.json.JSONObject;
import net.sf.json.JsonConfig;
import net.sf.json.util.... |
package switch2019.project.controllerLayer.cli;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import switch2019.project.DTO.serializationDTO.GroupDTO;
import switch2019.project.applicationLayer.US004GetFamilyGroupsService;
import java.util.Set;
@Compo... |
package com.org.property.data.server.web;
import java.io.IOException;
import java.util.Vector;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ExecutionException;
import java.util.function.Function;
import javax.inject.Inject;
import javax.inject.Singleton;
import javax.ws.rs.Consumes;
impo... |
package tree;
public class LBTree<T> implements IBinaryTree<T>{
private IBNode<T> root;
public LBTree() {
}
@Override
public INode<T> root() {
return root;
}
@Override
public INode<T> parent(INode<T> n) {
IBNode<T> e = (IBNode<T>) n;
if(isRoot(e)) {
System.out.println("No parent!");
return ... |
package com.axicik;
import java.math.BigInteger;
import java.sql.*;
import java.security.SecureRandom;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.ScheduledFuture;
import static java.uti... |
package edu.hust.se.seckill.service;
import edu.hust.se.seckill.domain.MiaoshaOrder;
import edu.hust.se.seckill.domain.MiaoshaUser;
import edu.hust.se.seckill.domain.OrderInfo;
import edu.hust.se.seckill.vo.GoodsVo;
public interface OrderService {
MiaoshaOrder getMiaoshaOrderByUserIdGoodsId(Long id, long goodsId... |
package TangramCore;
public class Point2D extends java.awt.geom.Point2D.Double {
static final long serialVersionUID = 24362462L;
public Point2D() {
super();
}
public Point2D(double x, double y){
super(x, y);
}
public Point2D(Point2D p){
this(p.x, p.y);
}... |
/*
* UniTime 3.2 - 3.5 (University Timetabling Application)
* Copyright (C) 2008 - 2013, UniTime LLC, and individual contributors
* as indicated by the @authors tag.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* ... |
package cn.com.custom.widgetproject.activity;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.net.Uri;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.TextView;
import cn.com.custom.widgetproject.R;
impor... |
package com.nxtlife.mgs.service;
import java.util.List;
import com.nxtlife.mgs.entity.user.User;
import com.nxtlife.mgs.view.Mail;
import com.nxtlife.mgs.view.MailRequest;
import com.nxtlife.mgs.view.PasswordRequest;
import com.nxtlife.mgs.view.SuccessResponse;
import com.nxtlife.mgs.view.user.UserRequest;
import com... |
package com.tencent.mm.ui.chatting;
public class ChattingSendDataToDeviceUI$c {
String bKv;
String bLU;
String bLZ;
String daA;
String deviceID;
String iconUrl;
int progress;
final /* synthetic */ ChattingSendDataToDeviceUI tLG;
String tLS;
public ChattingSendDataToDeviceUI$c(C... |
package org.zxd.spring.boot.config;
import java.util.Date;
import java.util.List;
import java.util.Map;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;
import lombok.Data;
@Comp... |
package com.taocoder.contentproviderdemo.data;
import androidx.room.RoomDatabase;
import com.taocoder.contentproviderdemo.models.User;
@androidx.room.Database(entities = {User.class}, version = 1)
public abstract class Database extends RoomDatabase {
public abstract UserDao userDao();
public static final ... |
package com.screens;
// LibGDX imports
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.scenes.scene2d.InputEvent;
import com.badlogic.gdx.scenes.scene2d.ui.Table;
import com.badlogic.gdx.scenes.scene2d.ui.TextButton;
import com.badlogic.gdx.scenes.scene2d.utils.ClickListe... |
package com.rsm.yuri.projecttaxilivredriver.main;
import android.util.Log;
import com.rsm.yuri.projecttaxilivredriver.historicchatslist.entities.Car;
import com.rsm.yuri.projecttaxilivredriver.historicchatslist.entities.Driver;
import com.rsm.yuri.projecttaxilivredriver.historicchatslist.entities.User;
import com.rsm... |
package com.tencent.mm.plugin.appbrand.config;
public interface AppBrandGlobalSystemConfig$a {
public static final int[] fqa = new int[0];
public static final String[] fqb = new String[]{"https://wx.qlogo.cn/"};
}
|
package byow.Core;
import java.util.Random;
public class Room {
public static final int MIN_SIZE = 5;
public static final int MAX_SIZE = 8;
private int xPos;
private int yPos;
private int width;
private int height;
private Random random;
private Hallway incidentHallway;
/**
... |
package com.isslam.kidsquran;
import com.isslam.kidsquran.controllers.SharedPreferencesManager;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.graphics.ColorMatrix;
import android.graphic... |
package com.tencent.mm.plugin.appbrand.widget.input;
import android.text.SpanWatcher;
import android.text.Spannable;
import com.tencent.mm.sdk.platformtools.x;
class x$2 implements SpanWatcher {
final /* synthetic */ x gIT;
x$2(x xVar) {
this.gIT = xVar;
}
public final void onSpanAdded(Spann... |
package com.example.tris_meneghetti;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.util.AttributeSet;
import android.view.View;
public class Design extends View {
private boolean drawXAnimation = false;
private boo... |
/** ****************************************************************************
* Copyright (c) The Spray Project.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
... |
package chapter10.Exercise10_24;
public class Exercise10_24 {
public static void main(String[] args) {
MyCharacter character = new MyCharacter('A');
System.out.println(character.isDigit());
System.out.println(MyCharacter.isDigit('5'));
System.out.println(MyCharacter.isLowerCase(character.charValue()));
Syst... |
package com.drzewo97.ballotbox.core.model.vote;
import com.drzewo97.ballotbox.core.model.candidate.Candidate;
import com.drzewo97.ballotbox.core.model.poll.Poll;
import javax.persistence.*;
import java.util.Collections;
import java.util.Comparator;
import java.util.Set;
@Entity
public class Vote implement... |
package com.rofour.baseball.controller.store;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.lang3.StringUtils;
import org.codehaus.jackson.JsonParseException;
import o... |
package com.tencent.mm.plugin.collect.b;
import com.tencent.mm.ab.e;
import com.tencent.mm.ab.l;
import com.tencent.mm.g.a.op;
import com.tencent.mm.kernel.g;
class u$1 implements e {
final /* synthetic */ op hUN;
final /* synthetic */ u hUO;
u$1(u uVar, op opVar) {
this.hUO = uVar;
this.... |
package moe.pinkd.twentyone.core;
import com.sun.istack.internal.Nullable;
import moe.pinkd.twentyone.Config;
import moe.pinkd.twentyone.card.NumberCardPool;
import moe.pinkd.twentyone.player.Player;
import java.util.*;
public class GameManager {
private Player[] players;
private ArrayDeque<Integer> deck = n... |
package com.example.katakuranatsumi.inventorycheckapp;
import android.app.DatePickerDialog;
import android.app.Dialog;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.DialogFragment;
import android.view.View;
import android.... |
package com.example.protokol.create_protokol;
import android.app.AlertDialog;
import android.content.ContentValues;
import android.content.DialogInterface;
import android.content.Intent;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.support.v7.app.AppCompatActivity;
impo... |
package com.tencent.mm.r;
import com.tencent.mm.bt.h.d;
import com.tencent.mm.kernel.g;
import com.tencent.mm.model.ar;
import com.tencent.mm.model.p;
import com.tencent.mm.r.a.1;
import com.tencent.mm.sdk.platformtools.x;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Ma... |
package java2.servlets.mvc;
import java2.database.AnnouncementRepository;
import java2.domain.Announcement;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind... |
package testing2;
/**
* Created by joetomjob on 3/21/20.
*/
public class BST {
TreeNode root;
public void traverse() {
inOrder(root);
System.out.print('\n');
}
public void inOrder(TreeNode node) {
if(node == null) {
return;
}
inOrder(node.left);
... |
package com.yougou.merchant.api.monitor.vo;
import java.io.Serializable;
public class ApiMonitorParameterVo implements Serializable {
private static final long serialVersionUID = 1L;
//单接口日调用超限次数
private String dataFlowRate;
//单接口超限频率
private String frequencyRate;
//锁定接口小时数
private Str... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.