text stringlengths 10 2.72M |
|---|
package com.github.lindenb.jvarkit.util.bio;
/**
* CharSequence of a chromosome
* @author lindenb
*
*/
public interface ChromosomeSequence extends CharSequence
{
/** get the chromosome name of that genomic sequence */
public String getChrom();
}
|
package com.decarator.designpattern.testcases;
import com.decarator.designpattern.CheesPizzaDecarator;
import com.decarator.designpattern.NormalPizza;
import com.decarator.designpattern.PizzaDecarator;
import com.decarator.designpattern.TomotoPizzaDecarator;
public class DecaratorPatternTestCase {
public static voi... |
/*
* Method class represents the data structure of method (or function)
* including
*
* --------------------------------------
* | method name, |
* | method argument, |
* | and return type of the method |
* --------------------------------------
*
* Note:
* For e... |
package kr.co.sist.user.reservation.vo;
public class RoomSimpleVO {
private String roomNum, roomName, img, roomSize;
private int price;
public RoomSimpleVO() {
}
public RoomSimpleVO(String roomNum, String roomName, String img, String roomSize, int price) {
super();
this.roomNum = roomNum;
thi... |
package com.renren.api.connect.android.demo.activity;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.LinearLayout;
import com.renren.api.connect.androi... |
package de.janhecker.stats.sql;
import java.util.HashMap;
public class SQLTableBuilder {
private final String name;
private final HashMap<String, String> values = new HashMap<>();
private SQLTableBuilder(String table) {
this.name = table;
}
public static SQLTableBuilder nam... |
package com.merkudzo.gunsinformations;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;
import androidx.fragment.app.FragmentManager;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
... |
/**
*
*/
package br.com.nozinho.ejb.service;
import java.io.Serializable;
import java.util.List;
import javax.ejb.Local;
import br.com.nozinho.model.Entidade;
/**
* @author RodrigoAndrade
*
*/
@Local
public interface GenericService<T extends Entidade, C extends Serializable> {
void remover(T entidade);
T ... |
package net.optifine.entity.model;
import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
public abstract class ModelAdapter {
private Class entityClass;
private String name;
private float shadowSize;
public ModelAdapter(Class entityClass, String name, float sha... |
package view.argumentcomponents;
import descriptionfiles.Description;
import graphana.MainControl;
import graphana.model.HelpSystem;
import scriptinterface.ParameterTuple;
import scriptinterface.ScriptCallSignature;
import scriptinterface.ScriptType;
import scriptinterface.SignatureInterface;
import view.call... |
package com.example.covid19;
import androidx.appcompat.app.AppCompatActivity;
import androidx.viewpager.widget.ViewPager;
import android.content.Intent;
import android.os.Bundle;
import android.text.Html;
import android.view.View;
import android.view.WindowManager;
import android.view.animation.Animation;
... |
package unitTest.spring.domain;
import com.spring.domain.PropertyAgent;
import com.spring.domain.PropertyBld;
import com.spring.domain.UserAddress;
public class PropertyBldBuilder {
private PropertyBld prptModel;
private UserAddress address;
private PropertyAgent pAgt;
public PropertyBldBuilder() {
prptModel... |
import java.util.Random;
public class qSort {
public static final int Length = 10;
public static int[] array = new int [Length];
public static void q_sort(int begin, int end) {
int middle = array[begin + (end - begin) / 2];
int i = begin;
int j = end;
while (i <= j) {
... |
package wdns3dnm.wdns3dnm;
import net.minecraft.block.Block;
import net.minecraft.item.Item;
public class BlockList extends Block
{
public static Block sasuke_susanoo_perfect;
public BlockList(Properties p_i48487_1_) {
super(p_i48487_1_);
}
}
|
package com.tencent.mm.plugin.music.model.e;
import android.media.MediaPlayer;
import android.media.MediaPlayer.OnSeekCompleteListener;
import com.tencent.mm.sdk.platformtools.x;
class b$2 implements OnSeekCompleteListener {
final /* synthetic */ b lzt;
b$2(b bVar) {
this.lzt = bVar;
}
publi... |
/**
** 采用拉斯维加斯算法,因为放置皇后的位置具有随机性
**/
public class LVQueen{
static Random rnd; //随机数产生器
static int n; //皇后个数
static int[] x; //解向量
}
/***
* 方法place(k)用于测试将皇后k置于第x[k]列的合法性
*/
private static boolean place(int k)
{
//测试皇后k置于第x[k]列的合法性
for (int j = 1; j ... |
package it.bad_request.hackaton.certificami.entity;
import java.io.Serializable;
import java.time.LocalDateTime;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persiste... |
import java.util.Scanner;
class MaiorNumero {
public static void main(String[] args){
double num1,num2,num3,num4,num5,soma;
Scanner entrada = new Scanner(System.in);
System.out.println("Digite o numero 1 : ");
num1 = entrada.nextDouble();
System.out.println("Di... |
package leecode.other;
//字典树 前缀树的实现
//https://leetcode-cn.com/problems/implement-trie-prefix-tree/solution/trie-tree-de-shi-xian-gua-he-chu-xue-zhe-by-huwt/
//字典树的应用: 一次建树,多次查询。它是字典树,不要老是构建,主要用途是查
public class 实现Trie_208 {
class Trie {
class TrieNode {
private boolean isEnd;
TrieNo... |
package com.example.entity;
import javax.persistence.*;
import java.util.Set;
@Entity(name="HOADON")
public class HoaDon {
@Id
@GeneratedValue(strategy=GenerationType.IDENTITY)
int mahoadon;
String tenkhachhang;
String sodt;
String diachigiaohang;
Boolean tinhtrang;
String ngaylap;
String hinhthucgiaohang;
... |
package com.borroom.backend.exception.handle;
import com.borroom.backend.domain.Result;
import com.borroom.backend.exception.RedefException;
import com.borroom.backend.utils.ResultUtil;
import org.slf4j.*;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.E... |
#include<stdio.h>
int main()
{
int n,arr[100],l,i;
scanf("%d",&n);
for(i=0;i<=n;i++)
scanf("%d",&arr[i]);
l==arr[0];
for(i=0;i<=n;i++)
{
if(arr[i]>l)
l=arr[i];
}
printf("%d",l);
return 0;
}
|
package com.irongs.todoslib;
import android.net.Uri;
import android.provider.BaseColumns;
/**
* Created by wangpu on 12/26/2014.
*/
public class TodosContract {
// The URI scheme used for content URIs
public static final String SCHEME = "content";
// The provider's authority
public static final Str... |
package com.mrfan.livehelper.util;
import android.app.Activity;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.text.TextUtils;
public class DataStoreUtil {
private static String TAG = "DataStoreUtil";
private static SharedPre... |
package com.thyssenkrupp.tks.fls.qf.server.qcs.receive.xml.builder;
import com.thyssenkrupp.tks.fls.qf.server.qcs.receive.xml.MaterialTextType.Restproduktionsweg;
import java.io.StringWriter;
import java.math.BigInteger;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.JAXBException;
import javax.xml.na... |
package com.rmboni.springBootAMQPJSON;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class SpringBootAmqpjsonApplicationTests {
@Test
void contextLoads() {
}
}
|
package com.tencent.mm.plugin.appbrand.jsapi.auth;
import com.tencent.mm.plugin.appbrand.jsapi.auth.a.a;
class a$1 extends a {
a$1() {
}
protected final /* bridge */ /* synthetic */ boolean aic() {
return true;
}
protected final /* synthetic */ void bk(Object obj) {
super.a((a) o... |
package com.example.demo.Reposetories;
import com.example.demo.Models.Met.MetEntity;
import org.springframework.data.jpa.repository.JpaRepository;
public interface MetRepository extends JpaRepository<MetEntity,Long> {
}
|
package Chapter6Review;
//Self Check 6.14
public class SumOfIntegers {
private int boundary;
private int sum;
public SumOfIntegers(int aBoundary) {
boundary = aBoundary;
sum = 0;
}
public void calculateSum() {
for (int i = 1; i < boundary; i++) {
sum = sum + ... |
public class CompileFail {
public static void main(String[] args) {
CompileFail cts = new CompileFail();
cts.getTrue();
}
public boolean getTrue(){
return ;
}
}
|
package com.qihoo.finance.chronus.context;
import com.qihoo.finance.chronus.common.NodeInfo;
import com.qihoo.finance.chronus.common.util.NetUtils;
import com.qihoo.finance.chronus.metadata.api.task.entity.TaskEntity;
import com.qihoo.finance.chronus.metadata.api.task.entity.TaskRuntimeEntity;
import java.util.concur... |
package com.luban.lubancommandback.projectmanager.dao;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* @ClassName ProjectManagerDao
* @Author yuanlei
* @Date 2018/10/16 18:10
* @Version 1.0
**/
@Repository
public interface ProjectManagerDao {
double queryDoneNum();
double... |
import java.awt.*;
import java.awt.image.BufferedImage;
public class Player extends DynamicObject {
private static BufferedImage playerImg;
public Player(BufferedImage img) {
playerImg = img;
}
public Player(int x, int y) {
position.reset(x, y);
}
public Player(Vector2D vecto... |
package present;
import org.json.JSONObject;
import java.io.IOException;
import javax.inject.Inject;
import bean.UserBean;
import m.LognModle;
import mInterface.Lognview;
import mybase.Basebean;
import mybase.Basepresent;
import okhttp3.ResponseBody;
/**
* Created by 地地 on 2017/11/12.
* 邮箱:461211527@qq.com.
... |
//难度不大,在于怎么写的简洁
class Solution {
public int divide(int dividend, int divisor) {
if(dividend == 0){
return 0;
}
int sign = (dividend > 0 && divisor < 0) || (dividend < 0 && divisor > 0) ? -1 : 1;
long dividendl = Math.abs((long)dividend);
long divisorl = Math.abs((... |
package org.forit.blog.dao;
import java.sql.Connection;
import java.sql.Date;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.time.LocalDate;
import java.util.List;
import java.util.stream.Collectors;
import javax.persistence.EntityManager;
import javax.persi... |
//the csv that stores the songs must be called song.csv
package ie.tudublin;
import java.util.ArrayList;
import java.lang.Math;
import java.io.*;
//import processing.core.PApplet;
import processing.data.Table;
import processing.data.TableRow;
import processing.core.*;
import processing.sound.*;
public class Game... |
package com.jim.multipos.ui.main_menu.product_menu.dialogs;
import android.app.Dialog;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.hardware.usb.UsbManager;
import android.support.annotation.NonNull;
import android.view.View;
import android.view.Window... |
package org.iptc.extra.core.types.document;
public class Sentence {
private String text;
public Sentence(String text) {
this.text = text;
}
public String getText() {
return text;
}
public void setText(String text) {
this.text = text;
}
}
|
/**
*
*/
package libs.objenesis;
import java.lang.reflect.Constructor;
import java.lang.reflect.Method;
import org.objenesis.Objenesis;
import org.objenesis.ObjenesisStd;
import org.objenesis.instantiator.ObjectInstantiator;
import sun.reflect.ReflectionFactory;
/**
* @Title ObjenesisTest
* @Description
*/
p... |
package com.jlxy.bllld.entity;
import java.io.Serializable;
import java.util.Date;
/**
* Created by ORCHID on 2017/3/23.
*/
public class Article implements Serializable{
// CREATE TABLE `article` (
// `id` INT(11) NOT NULL AUTO_INCREMENT,
private Integer Id;
//文章关联的用户对象
// `title` ... |
package com.l2minigames.wanderfulworld;
import android.animation.IntEvaluator;
import android.animation.ValueAnimator;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.C... |
/*
* Copyright 2018 Crown Copyright
*
* 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... |
package com.simpson.kisen.artist.model.dao;
import java.util.List;
import com.simpson.kisen.idol.model.vo.Idol;
public interface ArtistDao {
List<Idol> selectAllIdolName();
List<Idol> selectArtistOne(int no);
}
|
package com.andyadc.seckill.infrastructure.context;
public class AuthUserContext {
private static final ThreadLocal<Long> uid = new ThreadLocal<>();
public static void set(Long userId) {
uid.set(userId);
}
public static long get() {
return uid.get();
}
public static void cle... |
/* ------------------------------------------------
* 8 Tiles GUI
*
* Class: CS 342, Fall 2016
* System: Windows 10, IntelliJ IDE
* Author: Five
* ------------------------------------------------- */
import java.util.*;
/**
* Underlying Board Structure class which represents the board by a 2D grid.
... |
package com.upside.echo.v1.client.greeting;
import com.google.common.base.Preconditions;
import com.upside.lib.rest.client.AbstractJaxrsMockSupportingClientFactory;
import java.util.concurrent.ForkJoinPool;
/**
/**
* <p>Dropwizard-style factory to produce a GreetingClient.</p>
* <p>Example configuration in a Drop... |
package com.mj147.tictactoeai.domain;
import lombok.Data;
import lombok.ToString;
import javax.persistence.*;
import java.util.ArrayList;
import java.util.List;
@Data
@Entity
public class Board {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
private final Integer size = 9;
... |
/*
* 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.
*/
/*
* Desarrollado por :
* Patrick Ordoñez: 131062
* Manolo Ramirez: 14005
*/
package hojadetrabajo8;
/**
*
* @author Manolo
*/... |
package tech.sanan.controllers;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import tech.sanan.entity.User;
import tech.sanan.fixtures.UserFixtures;
import tech.sanan.services.UserService;
import java.util.ArrayList;
import java.util.HashMap;
import ... |
package com.daniel.classes;
/**
* Created by Kapelusznik on 03.03.2017.
*/
public enum Sex {
Male, Female
}
|
package org.com.ramboindustries.corp.sql.exceptions;
public class SQLTableException extends Exception {
private static final long serialVersionUID = -1219763292875801447L;
private static final String MSG = "Table name not defined on: ";
public SQLTableException(Class<?> clazz) {
super(MSG + clazz.getSimpleName... |
package c.t.m.g;
public interface as$a {
void a(boolean z, Object obj);
}
|
package listing;
/**
* Created by nexmaniosis on 12/10/17.
*/
public class JUnit5Listing extends AbstractListing{
private static final String TESTS_FOLDER = "/target/surefire-reports/";
private static final String TESTS_EXTENSION = "xml";
public JUnit5Listing(String projectPath){
super(projectP... |
package com.bozhong.lhdataaccess.application.process;
import com.bozhong.lhdataaccess.application.Context;
/**
* @author bin
* @create 2018-04-28 下午5:50
**/
public interface IProcess<P,M> {
public void start(Context<P, M> context);
void onStarted(Context<P, M> context);
void process(Context<P, M... |
/*
* Created on Mar 18, 2009
*
* To change the template for this generated file go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
package it.usi.xframe.xas.bfimpl;
import java.rmi.RemoteException;
/**
* @author us01170
*
* To change the template for this generated type comment g... |
package com.kashu.test.service;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.kashu.test.repository.UserRepository;
import com.kashu.test.domain.User;
//@Service
public class UserServiceImpl implements UserService{
//... |
package com.tt.miniapp.net.httpdns;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.List;
import okhttp3.o;
public class TTHttpDns implements o {
public static TTHttpDns getInstance() {
return Holder.mInstance;
}
public List<InetAddress> lookup(String param... |
package Adapter;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseExpandableListAdapter;
import android.widget.ExpandableListView;
import android.widget.ImageView;
import android.widget.TextView;
import java.util.Arr... |
package project;
class ThreadExercise
{
public static void main( String[] args )
{
SleepingThread threadA = new SleepingThread("A", 5);
SleepingThread threadB = new SleepingThread("B", 7);
SleepingThread threadC = new SleepingThread("C", 6);
threadA.start();
threadB.sta... |
/*
* Google Calendar Plugin
* Copyright (C) 2011 OTS SA
* dev@sonar.codehaus.org
*
* This program 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 3 of the License, or (at your o... |
package com.hqhcn.android.entity;
public class CodeWithBLOBs extends Code {
private String dmsm1;
private String dmsm2;
private String dmsm3;
private String dmsm4;
public String getDmsm1() {
return dmsm1;
}
public void setDmsm1(String dmsm1) {
this.dmsm1 = dmsm1 == null... |
package edu.upc.entity;
import java.io.Serializable;
import java.util.Date;
public class DMessages implements Serializable {
private static final long serialVersionUID = 1L;
private Integer id;
private String content;
private String userSender;
private Date date;
public DMessages() {
}
... |
package test15PiDataProvidersEx;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
import util.BaseTest;
public class TestDataProvider4Google extends BaseTest{
@DataProvider(name = "test1")
public static Object[][... |
execute(des, src, registers, memory) {
Calculator c = new Calculator(registers, memory);
boolean isRegisterSrc = false;
int desSize = 0;
int srcSize = 0;
String resultingHex = "";
if(des.isRegister()) {
desSize = registers.getBitSize(des);
}
if(src.isRegister()) {
srcSiz... |
package com.training.day18.collections;
public class Student {
private int studentNo;
private String studentName;
public Student() {
}
public Student(int studentNo, String studentName) {
this.studentName = studentName;
this.studentNo = studentNo;
}
public int getStudentNo() {
return studentNo;
}
... |
package com.example.smartparkingsystem;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import android.app.Dialog;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget... |
package com.bytedance.sandboxapp.protocol.service.h;
public final class a {
public final String a;
public final String b;
public final String c;
public final String d;
public a(String paramString1, String paramString2, String paramString3, String paramString4) {
this.a = paramStri... |
/**
*
*/
package fl.sabal.source.interfacePC.Codes;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import javax.swing.JFrame;
import javax.swing.JOptionPane;
impor... |
package com.android.DB;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteDatabase.CursorFactory;
import android.database.sqlite.SQLiteOpenHelper;
public class DBHP extends SQLiteOpenHelper {
String createTable = "create table bill(_id integer prima... |
package server_1;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.net.ServerSocket;
import java.net.Socket;
public class MyTcp {
private ServerSocket server; //设置服务器套接字
private Socket clie... |
/*
* Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... |
package camel.serial;
import gnu.io.CommPort;
import gnu.io.CommPortIdentifier;
import gnu.io.NoSuchPortException;
import gnu.io.PortInUseException;
import gnu.io.SerialPort;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Arra... |
import java.util.Scanner;
public class exer37 {
public static void main(String[] args) {
Scanner input = new Scanner(System.in) ;
float mediaF;
String[] resp = new String [10];
for(int j = 0; j < 10; j++) {
System.out.println("Resposta da questão " + (j+1) + " :");
resp[j] = input.... |
package com.project.homes.app.common.info.mapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
@Repository
@Mapper
public interface InfoMapper {
}
|
package com.tencent.mm.plugin.chatroom.ui;
import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemLongClickListener;
import com.tencent.mm.R;
import com.tencent.mm.g.c.ai;
import com.tencent.mm.sdk.platformtools.x;
import com.tencent.mm.ui.base.h;
class SeeRoomMemberUI$8 ... |
package com.myflappybird.music;
import sun.audio.AudioPlayer;
import sun.audio.AudioStream;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
public class Music {
/**
* 声音输入流
*/
InputStream in;
/**
* AudioStream对象
*/
Audio... |
package name.kevinlocke.appveyor.testutils.json;
import java.io.IOException;
import org.joda.time.DateTime;
import org.joda.time.format.DateTimeFormatter;
import org.joda.time.format.ISODateTimeFormat;
import com.google.gson.TypeAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWri... |
package ru.android.messenger.presenter;
public interface RegistrationPresenter {
void registrationButtonClicked(String firstName, String surname, String email, String login,
String password, String passwordConfirm);
}
|
/**
*
*/
package com.extension.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.... |
package pivotal;
import com.gemstone.gemfire.cache.Region;
import com.gemstone.gemfire.cache.client.ClientCache;
import com.gemstone.gemfire.cache.client.ClientCacheFactory;
import com.gemstone.gemfire.cache.client.ClientRegionShortcut;
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxExcepti... |
package Algorithm;
import java.util.ArrayList;
import java.util.List;
//给定一组不含重复元素的整数数组 nums,返回该数组所有可能的子集(幂集)。说明:解集不能包含重复的子集。
public class a78 {
// public List<List<Integer>> subsets(int[] nums) {
// List<List<Integer>> ans =new ArrayList<>();
// ans.add(new ArrayList<>());
// helper(n... |
package com.lesson4.countingelements;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Set;
public class MissingInteger {
public static void main(String [] args){
int [] A = {1,2};
System.out.println( new MissingInteger().solution(A) );
}
public int solution(int[] A... |
package com.tencent.mm.plugin.ipcall.ui;
import android.view.View;
import android.view.View.OnClickListener;
import com.tencent.mm.plugin.ipcall.a.e.d;
class g$7 implements OnClickListener {
final /* synthetic */ g kwi;
g$7(g gVar) {
this.kwi = gVar;
}
public final void onClick(View view) {
... |
package com.github.vinja.server;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.antlr.runtime.tree.CommonErrorNode;
import org.antlr.runtime.tree.CommonTree;
import com.github.vinja.compiler.CompilerContext;
import com.github.vinja.omni.PackageInfo;
import com.github.vinja.parser.A... |
package com.tencent.tinker.c.a.a.a;
import com.tencent.tinker.a.a.i;
import com.tencent.tinker.a.a.i.e;
import com.tencent.tinker.a.a.t.a;
import com.tencent.tinker.a.a.u;
import com.tencent.tinker.c.a.c.c;
public final class p extends i<u> {
private a vrc = null;
private e vrd = null;
protected final /*... |
package com.producto.a3;
import java.util.HashMap;
public class MontoAyudante {
public static int obtenerValorPorCiclo(String ciclo) {
HashMap<String, Integer> ciclos = new HashMap<>();
ciclos.put("I", 1);
ciclos.put("II", 2);
ciclos.put("III", 3);
ciclos.put("IV", 4);
... |
package life.qbic.xml.manager;
import java.io.StringReader;
import java.io.StringWriter;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.JAXBException;
import javax.xml.bind.Marshaller;
import javax.xml.bind.Unmarshaller;
i... |
package com.fkcw.tree;
import java.io.File;
public class WindTree {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
list(new File("d:\\bndisk"), 0);
}
public static void list(File indir, int tab) {
if (indir.isDirectory()) {
File ne... |
package GUI;
import java.sql.PreparedStatement;
import Database.Database;
import Database.DatabaseConditions;
import Objects.Conditions.Conditions;
import Tools.ConsoleColors;
import Tools.Constants;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
import javafx.collecti... |
package io.github.fluentbuilder.api.impl;
import io.github.fluentbuilder.api.BuilderFactory;
import io.github.fluentbuilder.internal.BuilderMethodType;
import io.github.fluentbuilder.internal.BuilderModel;
import io.github.fluentbuilder.internal.BuilderStackFrame;
import io.github.fluentbuilder.internal.ServiceCartrig... |
package espresso;
/* Let f be a function.
This implementation of function approximations produces a family g_t
satisfying (f - g_{t + 1})^2 < (f - g_t)^2. */
public class Approximation {
public static class Guess {
public Guess(int num) {
z = new Matrix[num];
a = new Matrix[num];
}
pu... |
package com.heartmarket.controller;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.CrossOrigi... |
/*
* 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 ... |
package banyuan.day04.morning.practice01.P04;
public class Test {
public static void main(String[] args) {
Tank tank = new Tank();
tank.setX(10);
tank.setY(50);
tank.setDir("右");
tank.setType("重型坦克");
System.out.println(tank.toString());
}
}
|
package com.smalaca.bank.infrastructure.jpa.springdata;
import com.smalaca.bank.domain.account.Account;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface SpringDataAccountRepository extends CrudRepository<Account, Long> {
}
|
package entity;
import javax.persistence.*;
import java.io.Serializable;
@Entity
@Table(name = "categoryi18n")
public class CategoryI18n implements Serializable {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "I18N_CATEGORY_ID")
private long i18nCategoryId;
@ManyToOne
... |
package com.microsilver.mrcard.basicservice.model;
import java.io.Serializable;
import lombok.Data;
@Data
public class FxFile implements Serializable{
/**
*
*/
private static final long serialVersionUID = 1L;
private Integer id;
private String name;
private String savename;
private String ... |
package edu.tecnasa.ecommerce.serviceImpl;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import edu.tecnasa.ecommerce.service.IProductService;
@Service
@Transactional
public class ProductServiceImpl implements IProductService{
}
|
package com.tencent.mm.plugin.shake.ui;
import android.content.DialogInterface;
import android.content.DialogInterface.OnCancelListener;
import android.view.View;
import android.view.View.OnClickListener;
import com.tencent.mm.R;
import com.tencent.mm.pluginsdk.ui.tools.l;
import com.tencent.mm.ui.base.h;
import com.t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.