text stringlengths 10 2.72M |
|---|
package com.rile.methotels.pages;
import com.rile.methotels.entities.Soba;
import com.rile.methotels.services.dao.SobaDao;
import java.util.List;
import org.apache.tapestry5.ComponentResources;
import org.apache.tapestry5.annotations.OnEvent;
import org.apache.tapestry5.annotations.Property;
import org.apache.... |
package domain.model;
import javax.persistence.MappedSuperclass;
import javax.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
@Data
@EqualsAndHashCode(callSuper=true)
@MappedSuperclass
public abstract class Security extends Instrument {
@NotNull
private String isin;
@NotNul... |
package com.example.suresh.downloader.service;
import android.app.ActivityManager;
import android.content.Context;
import android.util.Log;
public class StatusChecking {
public static boolean isMyServiceRunning(Class<?> serviceClass, Context context) throws Exception {
ActivityManager manager = (Activity... |
package pwr.chrzescijanek.filip.gifa.util;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.Alert;
import javafx.scene.control.ButtonType;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;
import javafx.stage.Stage;
import javafx.stage.Window;
import pwr.chrzescija... |
package id.co.games.tictactoe;
public class Player {
public String Marker;
public void setMarker(String marker){
Marker = marker;
}
public String getMarker(){
return Marker;
}
}
|
package io.bega.kduino.services;
import java.io.IOException;
import java.util.List;
/**
* Created by usuario on 18/07/15.
*/
public interface IBluetoothServiceManager {
void sendMessage(String message) throws IOException;
String recieveMessage(ICounter counter, boolean needsCounter) throws IOException;
... |
import java.time.LocalDate;
import java.util.*;
public class Lab1 {
public static LocalDate parseStringToLocalDateFormat(String str){
String[] strDate = str.split("\\.");
LocalDate date;
if(strDate.length == 3){
int day = Integer.parseInt(strDate[0]);
int month = In... |
package com.company;
public enum Product {
IPAD,
IPHONE,
IPOD,
IMAC
}
|
package com.tencent.mm.plugin.sns.ui;
import com.tencent.mm.plugin.sns.i.j;
import com.tencent.mm.ui.base.h;
class SnsTimeLineUI$24 implements Runnable {
final /* synthetic */ SnsTimeLineUI odw;
SnsTimeLineUI$24(SnsTimeLineUI snsTimeLineUI) {
this.odw = snsTimeLineUI;
}
public final void run... |
package thread_pattern.event_driven_modle.demo;
import org.junit.jupiter.api.Test;
import thread_pattern.event_driven_modle.BaseEvent;
import thread_pattern.event_driven_modle.EventDispatcher;
import thread_pattern.event_driven_modle.GlobalEventType;
/**
* reference: https://blog.csdn.net/liulianglin/article/details... |
package com.example.demo.core.components;
import com.example.demo.core.compatibility.CompositePowerConsumer;
import com.example.demo.core.compatibility.FormFactor;
import com.example.demo.core.compatibility.FormFactors;
import com.example.demo.core.compatibility.PowerConsumer;
import java.util.ArrayList;
import java.... |
package example.nz.org.take.compiler.userv.generated;
import nz.org.take.rt.*;
/**
* Class generated by the take compiler.
* @version Mon Feb 11 13:49:16 NZDT 2008
*/
@SuppressWarnings("unchecked")
class KBFragement_greater_than_11 {
/**
* Method generated for query greater_than[in,in]
... |
package com.example.postgresdemo.model;
import javax.persistence.*;
import java.util.Date;
import java.util.List;
import org.springframework.data.annotation.CreatedDate;
@Entity
@Table(name = "survey")
public class Survey extends AuditModel {
public Survey(Employee employee, Project project, Employee reviewer, ... |
package com.beiyelin.addressservice.entity;
import com.beiyelin.commonsql.jpa.BaseDomainEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
impo... |
/*
* 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 clases;
/**
*
* @author josev
*/
public class tipoHabitacion {
private int id;
private String nombre;
... |
package edu.northeastern.cs5200.model;
import java.util.*;
import java.util.Date;
public class Developer extends Person{
private String developerKey;
private Collection<Website> websites;
public String getDeveloperKey() {
return developerKey;
}
public void setDeveloperKey(String develo... |
package pages;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
/**
* Page object class for LinkedInLoginPage
*/
public class LinkedInLoginPage extends BasePage{
@FindBy(xpath = "//*[@id=\"log... |
package com.Li.serviceThread;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.UnsupportedEncodingException;
import java.net.Socket;
import java.net.UnknownHostException;
import java.u... |
package consumer.eureka.service;
import consumer.eureka.pojo.User;
import java.util.List;
public interface UserService {
List<User> getUser();
}
|
package com.tencent.mm.plugin.appbrand.jsapi.camera;
import com.tencent.mm.plugin.appbrand.e;
import com.tencent.mm.plugin.appbrand.e.b;
import com.tencent.mm.plugin.appbrand.page.p;
class g$1 extends b {
final /* synthetic */ p fJO;
final /* synthetic */ int fKG;
final /* synthetic */ AppBrandCameraView ... |
package com.zhao.leetcode;
import java.lang.annotation.Target;
public class Trie {
public class TrieNode{
public char data;
public TrieNode children[] =new TrieNode[26];
public boolean isEndingChar =false;
public TrieNode(char data){
this.data =data;
}
}
... |
/*
* This class is auto generated by https://github.com/hauner/openapi-processor-spring.
* DO NOT EDIT.
*/
package generated.api;
import generated.model.Bar;
import generated.model.Foo;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframe... |
/*
* 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 tubes;
import QuestionAnswering.InformationExtractor;
import IndonesianNLP.IndonesianPOSTagger;
import IndonesianNLP.Indonesia... |
package util;
import play.i18n.Messages;
import play.mvc.Http;
/**
* Flash message helper
*/
public class Message {
public static final String MESSAGE = "message";
public static final String MESSAGE_TYPE = "message_type";
private static Http.Flash flash() {
return Http.Context.current().flash()... |
package com.zitiger.plugin.xdkt.servicetemplate.generator;
import com.intellij.openapi.components.ServiceManager;
import com.intellij.psi.JavaPsiFacade;
import com.intellij.psi.PsiClass;
import com.intellij.psi.PsiElementFactory;
import com.intellij.psi.PsiField;
import com.intellij.psi.PsiMethod;
import com.intellij.... |
package net.skykrowd;
import java.util.Scanner;
public class Ejercicio1 {
public static void main(String[] args){
Scanner leer = new Scanner(System.in);
int n,i=0,k;
System.out.print("Ingrese N: ");
n=leer.nextInt();
if (n%2==0)
n=9;
char mat[][]= ne... |
package com.tree.binary;
import java.util.Scanner;
public class TreeTraversalApplication {
public static void main(String[] args) {
BinaryTree tree = new BinaryTree();
Scanner s = new Scanner(System.in);
int numOfNodes = s.nextInt();
for (int i = 0; i < numOfNodes; i++) {
... |
package com.tencent.mm.u;
public interface a$a {
void CT();
void fM(String str);
}
|
package log;
import com.github.motoki317.traq_bot.model.MessageCreatedEvent;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.TimeZone;
/**
* ConsoleLogger only logs to standard output.
*/
public class ConsoleLogger implements Logger {
private final DateFo... |
package com.creativewidgetworks.goldparser.engine;
import junit.framework.TestCase;
import org.junit.Test;
import com.creativewidgetworks.goldparser.engine.CharacterSetList;
public class CharacterSetListTest extends TestCase {
@Test
public void testListConstructorWithSizing() {
CharacterSetList set... |
/**
* API / 其他設定 / 運行程序
*/
package com.ericlam.mc.minigames.core; |
package swm11.jdk.jobtreaming.back.app.payment.model;
import lombok.Getter;
import lombok.Setter;
import swm11.jdk.jobtreaming.back.app.common.model.Common;
import swm11.jdk.jobtreaming.back.app.lecture.model.Lecture;
import swm11.jdk.jobtreaming.back.app.user.model.User;
import swm11.jdk.jobtreaming.back.enums.paymen... |
package com.uptc.prg.maze.view.panels;
import com.uptc.prg.maze.view.UIStrings;
import javax.swing.*;
import java.awt.*;
public class StatusBarPanel extends JPanel {
private JLabel mStatus;
public StatusBarPanel() {
this.initialize();
this.initializeStatusBar();
}
public final void ... |
package com.mes.old.meta;
// Generated 2017-5-22 1:25:24 by Hibernate Tools 5.2.1.Final
/**
* Erpinv generated by hbm2java
*/
public class Erpinv implements java.io.Serializable {
private ErpinvId id;
public Erpinv() {
}
public Erpinv(ErpinvId id) {
this.id = id;
}
public ErpinvId getId() {
return this... |
package series;
import static org.junit.jupiter.api.Assertions.*;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
class seriesTest {
static SeriesDatabase serieData;
@BeforeAll
static void initClass() {
s... |
// package com.todos.api.services;
// import com.todos.api.models.Todo;
// import org.springframework.stereotype.Service;
// import java.util.ArrayList;
// import java.util.List;
// @Service
// public class TodosServiceFake {
// private List<Todo> _todos = new ArrayList<>();
// {
// _todos.add(new T... |
package com.stem.service.impl;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import com.stem.dao.TigerUserOperationMapper;
import com.stem.entity.TigerUserOperation;
import com.stem.entity.TigerUserOperationExample;
import com.stem.service.TigerUs... |
package com.yunhe.cargomanagement.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yunhe.cargomanagement.entity.PurComm;
import com.yunhe.cargomanagement.entity.WarehouseReceipt;
import org.apache.ibatis.annotations.Mapper;
impor... |
package com.ahmetkizilay.yatlib4j.blocks;
import com.ahmetkizilay.yatlib4j.oauthhelper.OAuthHolder;
public class GetBlocksList {
private static final String BASE_URL = "https://api.twitter.com/1.1/blocks/list.json";
private static final String HTTP_METHOD = "GET";
public static GetBlocksList.Response sendReques... |
package com.shaoye.quartz.test;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import com.shaoye.thread.test.MyThread;... |
package com.corbin.topcoder;
import org.junit.*;
import static org.junit.Assert.assertTrue;
public class AccountBalanceTest {
private static AccountBalance accountBalance = new AccountBalance();
private static String[] transaction0 = {"C 1000", "D 500", "D 350"};
private static String[] transaction1 = {... |
package com.mihoyo.hk4e.wechat.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;
@Entity
public class Token {
/**
* 因为Token只有一个 所有操作都针对这个ID
*/
public static final Long ID = 1L;
@Id
private Long id;
@Column
p... |
package com.example.administrator.halachavtech.Model.Hazmana;
/**
* Created by Administrator on 11/01/2017.
*/
public class OrderProduct {
public enum Ezor{
Darom_rahok, Darom, Merkaz, Zafon, Zafon_rahok, WITHOUT_HATKANA
}
public static final int DEFAULT_QUANTITY = 1;
private Product produ... |
package com.amoraesdev.mobify.repositories;
import java.util.List;
import java.util.UUID;
import org.springframework.data.cassandra.repository.CassandraRepository;
import org.springframework.data.cassandra.repository.Query;
import com.amoraesdev.mobify.entities.Notification;
public interface NotificationRepository ... |
package com.supconit.kqfx.web.fxzf.warn.daos.Impl;
import java.util.List;
import org.springframework.stereotype.Repository;
import hc.orm.AbstractBasicDaoImpl;
import com.supconit.kqfx.web.fxzf.warn.daos.WarnInfoDao;
import com.supconit.kqfx.web.fxzf.warn.entities.WarnInfo;
@Repository("fxzf_warn_warninfo_dao")
pu... |
/*
* 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 entities.dto;
import entities.SchoolClass;
import entities.SchoolCourse;
import java.util.List;
/**
*
* @author emilt
*/
p... |
import java.util.Map;
import java.util.ArrayList;
import java.util.HashMap;
public class Patient {
private String patientName;
private ArrayList<Sensor> sensor = new ArrayList<Sensor>();
private Map<Sensor, SafeRange> safety = new HashMap<Sensor, SafeRange>();
private int frequency;
private int sensorCount = 0;
... |
package de.adesso.gitstalker.core.requests;
import de.adesso.gitstalker.core.enums.RequestType;
import de.adesso.gitstalker.core.objects.Query;
/**
* This is the request used for requesting the organization details.
*/
public class OrganizationDetailRequest {
private final int estimatedQueryCost = 1;
priva... |
package api.service;
import api.arq.exception.ApiErroGeralException;
import api.arq.rest.CRUDService;
import api.arq.util.AutenticacaoUtil;
import api.arq.validator.dto.ApiErroCodigo;
import api.controller.dto.ComplexoEolicoDTO;
import api.model.ComplexoEolico;
import api.model.Usuario;
import api.repository.ComplexoE... |
package cn.jboa.conversion;
import java.math.BigDecimal;
import java.util.Map;
import ognl.DefaultTypeConverter;
public class DoubleConversion extends DefaultTypeConverter{
public Object convertValue(Map<?, ?> context, String[] values, Class<?> toClass) {
if(toClass != Double.class||values == null || values.length... |
package com.example.smn_arggregator;
import android.telephony.AccessNetworkConstants;
import android.util.Log;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import twitter4j.Query;
import twitter4j.QueryResult;
import twitter4j.Status;
import twitter4j.StatusUpdate;
import twitter4j.Trend;
... |
package code;
//displays boardArray, Scannerman passes in our boardArray, then displays it
public class BoardDisplay {
public BoardDisplay(char[][] boardArray){
for(int i = 0; i < 50; i++){
for(int j = 0; j < 51; j++){
System.out.print(boardArray[i][j]);
}
}
}
} |
package com.cts.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import com.cts.model.Users;
@Repository
public interface UserRepository extends JpaRepository<Users, Long> {
public Users findByEmail(String email);
public Users findByEma... |
package com.koreait.spring;
public interface Speaker {
public void volumeUp();
public void vulumeDown();
}
|
package testcase;
import es.utils.mapper.Mapper;
import es.utils.mapper.exception.MappingException;
import es.utils.mapper.exception.MappingNotFoundException;
import es.utils.mapper.impl.object.EnumMapper;
import org.junit.jupiter.api.Test;
import java.time.temporal.ChronoUnit;
import java.util.concurrent.Ti... |
package MatriculaEstudiantes;
import java.util.Objects;
public class Estudiantes {
public static boolean verificar = false;
String nombre;
String apellido;
public Estudiantes(String nombre, String apellido) {
this.nombre = nombre;
this.apellido = apellido;
... |
import java.util.HashMap;
public class CountTheNumberOfConsistentStrings {
public static int countConsistentStrings(String allowed, String[] words) {
int result = 0;
HashMap<Integer,Character> map = new HashMap<>();
for (int i = 0; i<allowed.length(); i++){
map.put(i,allowed.cha... |
package com.eb.service;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.util.List;
import javax.naming.NamingException;
import com.eb.dao.CalBoardDAO;
import com.eb.dto.CalBoardDTO;
import com.lol.comm.DBConn;
public class CalBoardService {
pri... |
package cn.edu.zucc.web.service;
/**
* Created by zxy on 11/20/2016.
*/
public interface AsyncDataService {
String getUserData(String userno);
}
|
package main.java.Server.Exceptions;
public class PieceNotFoundException extends Exception {
private String message;
public PieceNotFoundException(String message) {
this.message = message;
}
public String getMessage() {
return this.message;
}
}
|
package com.fansolomon.Structural.Decorator.Shape.impl;
import com.fansolomon.Structural.Decorator.Shape.Shape;
/**
* ConcreteComponent
* 定义一个对象(可以给这个对象动态地添加职责)
*/
public class Circle implements Shape {
@Override
public void draw() {
System.out.println("Circle draw...");
}
}
|
/*
Implement a Queue using Singly Linked List
*/
/*
A queue is a FIFO(First In First Out) data structure.
A queue has to maintain two pointers, front and back. New elements are inserted from the back and elements are deleted
from the front.
The two operations mentioned here are push and pop, which are actually g... |
package view;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.geom.Point2D;
import java.util.ArrayList;
import java.util.List;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JScrollPane;
import javax.swing.table.DefaultTableModel;
import Model.Data;
impo... |
package com.ayushman999.urbanclapclone.Adapter;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
import com.ayushman999.urbanclapclone.Listener.ClickListener;
import com.ayushman999.urban... |
package cn.neepu.service;
import org.springframework.ui.Model;
import cn.neepu.po.User;
public interface RegistService {
public String regist(User user, Model model);
}
|
/*
* 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 pe.gob.onpe.adan.controller.local;
import com.google.gson.Gson;
import com.google.gson.JsonObject;
import com.google.gson.Json... |
package com.didiglobal.thriftmock.server;
public interface MockIface {
}
|
package graphSeries;
import java.util.*;
public class PrimsAlgo {
public static void main(String[] args) {
int n = 5;
ArrayList<ArrayList<Node>> adj = new ArrayList<ArrayList<Node>>();
for (int i = 0; i < n; i++)
adj.add(new ArrayList<Node>());
adj.get(0).add(new Node(1, 2));
adj.get(1).... |
package edu.uci.ics.sdcl.firefly;
import java.util.ArrayList;
import java.util.Hashtable;
import java.util.List;
import java.util.Vector;
public class QuestionFactory {
/* Template Lists */
public ArrayList<String> templateMethodInvocation = new ArrayList<String>();
public ArrayList<String> templateConditional = ... |
package ru.sbt.jmm2;
import ru.sbt.jmm2.implementations.SimpleExecutionManager;
import ru.sbt.jmm2.implementations.Task;
import org.apache.log4j.Logger;
import static java.lang.Thread.sleep;
public class JmmExample {
private final static Logger logger = Logger.getLogger( JmmExample.class );
public static v... |
package util;
/**
* @author malf
* @description TODO
* @project how2jStudy
* @since 2020/11/2
*/
public class MysqlUtil {
}
|
package com.example.girlswhocode.test;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.content.Intent;
import android.view.View;
import android.widget.*;
public class Police extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstance... |
package com.eigen.model;
import java.math.BigDecimal;
import java.util.Calendar;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import com.fasterxml.jackson.databind.annotation.JsonDese... |
package com.lspring.iocother;
import java.util.Date;
public class Person {
private String name;
private Integer age = 25;
private String tel;
private Person parent;
private Date bornDate;
public Date getBornDate() {
return bornDate;
}
public void setBornDate(Date bornDate) {
this.bornDate = bornDate;... |
import java.io.*;
import java.util.*;
public class Unigram {
private Map<String, Map<String, Double>> probabilityMap = new HashMap<String, Map<String, Double>>();
public Unigram (String inFilePath) {
buildModel(inFilePath);
}
/*
* Given a string that occurs in the created model,
* return a str... |
package imports;
public class RadixSortQueue{
GQueue<Integer> bucket0 = new GQueue<Integer>(); //Se hace la creacion de las 9 queues necesitadas como buckets
GQueue<Integer> bucket1 = new GQueue<Integer>(); //
GQueue<... |
package com.satya.springfeatures.client;
/**
* Injectable client for the spring Trail Service.
*
* @author Satya Vulisetti
* @version 1.0.0
* @since 1.0.0
*/
import java.lang.reflect.AnnotatedElement;
import java.util.List;
import javax.ws.rs.Path;
import javax.ws.rs.client.AsyncInvoker;
import javax.ws.rs.cl... |
package com.huawei.esdk.demo.action;
import java.io.IOException;
import java.net.SocketTimeoutException;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.ht... |
public interface Video{
void brighter();
void darker();
}
|
import java.util.Scanner;
public class SalesTax
{
public static void main(String[] args)
{
/*Scanner input = new Scanner(System.in);
System.out.print("Enter a purchase value : ");
double purchaseAmount = input.nextDouble();
double tax = purchaseAmount * 0.06;
System.out.println("Sales tax is $" +(int)(tax *100)/1... |
/**
* Copyright 2009 Joe LaPenna
*/
package com.chuxin.family.utils;
import com.chuxin.family.net.CxNetDownloadFile;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.util.Observable;
import java.util.Observer;
import java.util.concurrent.ConcurrentHashMap;
import android.co... |
package com.suhid.practice.model;
import lombok.Getter;
import lombok.Setter;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Getter
@Setter
@Table(name = "COURSES")
public class AddCourseModel {
@Id
private String courseId;
private S... |
package com.tencent.mm.g.a;
import com.tencent.mm.sdk.b.b;
public final class il extends b {
public a bRT;
public il() {
this((byte) 0);
}
private il(byte b) {
this.bRT = new a();
this.sFm = false;
this.bJX = null;
}
}
|
package com.uinsk.mobileppkapps.adapter;
import android.graphics.Color;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
i... |
package com.sharpower.entity;
import java.util.Date;
public class ReportDayRecode {
private Integer id;
private Date date;
private Fun fun;
private Float maxEngergy=null;
private Float averageWindSpeed=null;
private Float averagePower=null;
private Float averageReactivePower=null;
private Float maxSpeed=null;... |
package com.phone1000.martialstudyself.models;
import java.util.ArrayList;
import java.util.List;
/**
* Created by my on 2016/11/29.
*/
public class WushubaikeModel {
public List<String> 全部 = new ArrayList<>();
public List<String> 武术门派 = new ArrayList<>();
public List<String> 经络脉穴 = new ArrayList<>();
... |
package com.uptc.prgIII.group2.game.model;
public class Ship {
}
|
package game.model.critter.impl;
import game.model.Move;
import game.model.Obstacle;
import game.model.critter.base.CritterBase;
/**
* Created by Stephen on 11/28/2014.
*/
public class Food extends CritterBase {
@Override
public Move getMove(Obstacle front, Obstacle back, Obstacle left, Obstacle right) {
... |
package com.example.bratwurst.service;
import com.example.bratwurst.model.Message;
import com.example.bratwurst.repo.MessageRepo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.time.Clock;
import java.time.LocalDateTime;
import java.util.List;... |
package extra_Practices;
import java.util.Scanner;
public class sign {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
System.out.println("Please enter your number");
int num= sc.nextInt();
System.out.println(sign(num));
}
public static int sign(int x) {
if(x<... |
package com.yixin.kepler.core.mqmessage;/**
* Created by liushuai2 on 2018/6/6.
*/
/**
* Package : com.yixin.kepler.core.mqmessage
*
* @author YixinCapital -- liushuai2
* 2018年06月06日 14:32
*/
public class MqMsgDealResult {
}
|
package com.box.androidsdk.content.models;
import com.eclipsesource.json.JsonArray;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
/**
* A collection that contains BoxJsonObject items
*
* @param <E> the type of elements in this partial collection.
*/
pu... |
package com.rekoe.msg;
/**
* @author 科技㊣²º¹³
* Feb 16, 2013 2:35:33 PM
* http://www.rekoe.com
* QQ:5382211
*/
public enum MessageExecuteState {
INITIALIZED,
CANCELED,
EXECUTED,
EXECUTING_FIRST_STEP,
EXECUTING_LAST_STEP,
EXECUTING_IO_STEP;
}
|
package com.aki.redis.service;
import com.aki.redis.po.UserRedis;
import java.util.List;
public interface IRedisGsonService {
void add(String key, UserRedis user, Long time);
void addList(String key, List<UserRedis> users, Long time);
UserRedis get(String key);
List<UserRedis> getUserList(String k... |
//Predicate.java
//
//This library is free software; you can redistribute it and/or
//modify it under the terms of the GNU Lesser General Public
//License as published by the Free Software Foundation; either
//version 2.1 of the License, or (at your option) any later version.
//
//This library is distributed... |
package net.d4rk.inventorychef.constants;
public class Constants {
public static final String[] INGREDIENT_SUGGESTIONS = new String[] {
// Netto
"Paprika",
"Karotten",
"Knoblauch",
"Zwiebeln",
"Maiskolben",
"Broccoli",
... |
package com.example.structural.proxy;
/**
* Copyright (C), 2020
* FileName: Beauty
*
* @author: xieyufeng
* @date: 2020/10/27 11:02
* @description:
*/
public class Beauty implements Girl {
@Override
public void eat() {
System.out.println(Thread.currentThread().getId() + "-今天一起去吃个饭-" + getClass()... |
package com.mxf.course.dao;
import com.mxf.course.config.CommMapper;
import com.mxf.course.entity.ClassEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import java.util.List;
/**
* Created by baimao
* Time:2021/5/17
*/
@M... |
import java.util.Arrays;
import java.util.List;
/**
*
* How to validate image file extension with regular expression
*
*/
public class RegexDemo
{
public static void main(String[] args)
{
List<String> validIPList = Arrays.asList("1.1.1.1", "255.255.255.255",
"192.168.1.2", "10.10.1.1", "132.253.111.10", ... |
package com.teaman.data.authorization;
import com.parse.ParseException;
/**
* <h1> [Insert class name here] </h1>
* <p>
* [Insert class description here]
* </p>
* <p>
* [Insert additional information here (links, code snippets, etc.)]
* </p>
*
* @author Aaron Weaver
* Team Andronerds
* waar... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.