text stringlengths 10 2.72M |
|---|
package supportGUI;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.Graphics2D;
import javax.swing.JPanel;
class SelectionPanel
extends JPanel
{
private static final double charFactor = 0.175D;
private Graphics2D g2d;
protected SelectionPanel() {}
... |
/*
* 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 Entidades;
import java.util.Date;
/**
*
* @author EdHam
*/
public class entInsumo {
private int id_insumo;
privat... |
package com.leyou.item.mapper;
import com.leyou.item.pojo.Sku;
import tk.mybatis.mapper.additional.idlist.DeleteByIdListMapper;
import tk.mybatis.mapper.common.Mapper;
/**
* @author: HuYi.Zhang
* @create: 2018-07-23 10:57
**/
public interface SkuMapper extends Mapper<Sku>, DeleteByIdListMapper<Sku,Long> {
}
|
package com.hcl.dmu.user.service;
import java.util.List;
import com.hcl.dmu.user.vo.RolesVo;
import com.hcl.dmu.user.vo.UserVo;
public interface UserService {
boolean login(UserVo userVo);
List<RolesVo> roles();
}
|
package com.hservice.grpc.entity;
public class ResponstObject {
private int m;
private String t;
public int getM() {
return m;
}
public void setM(int m) {
this.m = m;
}
public String getT() {
return t;
}
public void setT(String t) {
... |
package com.yeshaohua.service;
import com.yeshaohua.dao.IUserDao;
import com.yeshaohua.dao.UserDaoImp;
import com.yeshaohua.model.User;
import java.util.List;
public class UserServiceImpl implements IUserService {
private IUserDao userDao;
public UserServiceImpl() {
userDao = new UserDaoImp();
}... |
package com.days.moment.board.mapper;
import com.days.moment.board.config.BoardRootConfig;
import com.days.moment.board.domain.Board;
import com.days.moment.board.dto.BoardDTO;
import com.days.moment.common.config.RootConfig;
import com.days.moment.common.dto.PageRequestDTO;
import lombok.extern.log4j.Log4j2;
import o... |
package com.comaiot.net.library.phone.view;
import com.comaiot.net.library.device.view.ComaiotView;
import com.comaiot.net.library.phone.bean.BaseAppEntity;
public interface GetSmsView extends ComaiotView {
void onSendSmsSuccess(BaseAppEntity entity);
}
|
package deersheep.automation.webdriver.interfaces;
import org.openqa.selenium.Capabilities;
import org.openqa.selenium.chrome.ChromeOptions;
import org.openqa.selenium.logging.LogType;
import org.openqa.selenium.logging.LoggingPreferences;
import org.openqa.selenium.remote.DesiredCapabilities;
import java.util.loggin... |
package com.willowtree.camera;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import android.net.Uri;
import android.os.Bundle;
import android.provider.MediaStore;
import android.uti... |
package shadersmod.client;
import net.minecraft.client.renderer.texture.ITextureObject;
import net.minecraft.client.renderer.texture.TextureUtil;
public class CustomTexture implements ICustomTexture {
private int textureUnit = -1;
private String path = null;
private ITextureObject texture = null;
pub... |
package demo01;
/**
* volatile不具有原子性
* 只具备多线程的可见性
* 要实现原子性建议使用atomic类的系列对象,支持原子性操作,(注意atomic只能保证本身方法原子性,并不能
* 保证多次操作的原子性)
*/
import java.util.concurrent.atomic.AtomicInteger;
public class VolatileNoAtomic extends Thread {
//private static volatile int count;
private static AtomicInteger count =... |
package com.Stephanie;
import java.util.ArrayList;
import java.util.Scanner;
public class RecordStore {
public static void main(String[] args) {
Scanner stringScanner = new Scanner(System.in);
//create some example cd's and add them to an inventory list
ArrayList<CD> cdInventory = new Arr... |
package com.chuxin.androidpush.sdk.push;
import java.io.File;
import java.util.Calendar;
import com.chuxin.androidpush.sdk.push.utils.Constant;
import com.chuxin.androidpush.sdk.push.utils.InternalStorage;
import com.chuxin.androidpush.sdk.push.utils.RkPushLog;
import com.chuxin.androidpush.sdk.push.utils.TeeLog;
imp... |
package sample;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.*;
import javafx.scene.control.cell.PropertyVal... |
package com.papadogiannis.responses;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.papadogiannis.entities.Email;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;
@Data
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class EmailResponse extends Respons... |
package com.tt.miniapp.msg;
import com.tt.frontendapiinterface.a;
import com.tt.frontendapiinterface.b;
import com.tt.miniapp.extraWeb.control.ModalWebViewControl;
import com.tt.miniapphost.AppBrandLogger;
import com.tt.option.e.e;
import org.json.JSONException;
import org.json.JSONObject;
public class ApiC... |
package com.aplayer.hardwareencode;
import android.annotation.SuppressLint;
import android.media.MediaCodec;
import android.opengl.GLES20;
import com.aplayer.aplayerandroid.Log;
import android.view.Surface;
import com.aplayer.aplayerandroid.GPUImageFilter;
import com.aplayer.aplayerandroid.InputSurface;
import com.ap... |
package com.company;
import java.util.HashMap;
public class Door {
private boolean isInterior; // interior or exterior
private boolean isLockable; // exterior dooors, bathroom doors, and bedroom doors only
private String location; // where is the door located, front, back, side, or part of ... |
/**
* Copyright 2013-present febit.org (support@febit.org)
*
* 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 a... |
package android.support.v7.widget;
import android.content.Context;
interface q {
float a(o oVar);
void a(o oVar, float f);
void a(o oVar, int i);
void a(o oVar, Context context, int i, float f, float f2, float f3);
float b(o oVar);
void b(o oVar, float f);
float c(o oVar);
void ... |
package bean.item.find;
import org.springframework.ui.Model;
public interface ItemFindControllerInter {
// 관리페이지 중 itemfind 페이지를 보여 줄 메서드
public String itemFind(Model model);
// 관리페이지 중 itemfind 페이지의 처리를 진행 할 메서드
public String itemFindPro(Model model, String subtag, int count);
}
|
package model;
public enum PaneFX {
DASHBOARD,MAINPANE;
}
|
/*
* Copyright 2014-2016 See AUTHORS file.
*
* 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 agr... |
package pro.absolutne.lunchgator;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.data.jpa.convert.threeten.Jsr310JpaConverters;
/**
* We need to specify... |
package session;
import java.util.List;
import javax.ejb.Stateless;
import javax.ejb.TransactionAttribute;
import javax.ejb.TransactionAttributeType;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import entity.Department;
import entity.Employee;
@Stateless
public class DeptSer... |
/*
Given a sorted array & a sum,
Find if there is a triplet with given sum
Time Complexity: O(N ^ 2)
*/
package Searching.TwoPointerApproach;
import java.util.Scanner;
class TwoPointerTripletSum {
public static void main(String[] args) {
final int[] arr = { 2, 3, 4, 8, 9, 20, 40 };
... |
package com.osce.entity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import java.io.Serializable;
import java.util.Date;
/**
* @ClassName: CobScoreSheet
* @Description: CobScoreSheet
* @Author yangtongbin
* @Date 2019-05-15
*/
@Setter
@Getter
@ToString
public class CobScoreSheet implemen... |
package cloud.metaapi.sdk.clients.copy_factory.models;
import cloud.metaapi.sdk.clients.models.IsoTime;
/**
* Trade copying user log record
*/
public class CopyFactoryUserLogRecord {
/**
* Log level values
*/
public enum LogLevel { INFO, WARN, ERROR };
/**
* Log record time
*/
public IsoTi... |
package com.tencent.mm.protocal.c;
import com.tencent.mm.bk.a;
import java.util.LinkedList;
public class if extends a {
public long bIZ;
public int cancel;
public int pos;
public String rjm;
public LinkedList<Integer> rjn = new LinkedList();
public int rjo;
public int rjp;
public int r... |
package com.example.appBack.Tablas.Student.infrastructure.repositorio.port;
import com.example.appBack.Tablas.Student.domain.Student;
import java.util.List;
public interface FindRepositoryStudentPort {
Student getStudent(String id) throws Exception;
List<Student> getAll() throws Exception;
}
|
package ejercicios.clase.string;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner lector = new Scanner(System.in); // teclado
// 1. contains
String frase = "Programaciˇn de algoritmos mˇdulo II";
System.out.println("Ingrese e... |
package tests.web;
import com.codeborne.selenide.Configuration;
import com.codeborne.selenide.logevents.SelenideLogger;
import config.WebConfig;
import io.qameta.allure.selenide.AllureSelenide;
import org.aeonbits.owner.ConfigFactory;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeAll;
impo... |
/*
* AbstractBaseDao.java 14/05/2013
*
* Este software es confidencial.
*
*/
package com.santander.bi.DAO;
import org.apache.log4j.Logger;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
/**
* Clase base para... |
package com.longlysmile.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.longlysmile.entity.AttackRecord;
import java.util.List;
import java.util.Map;
/**
* 攻击记录服务类
*
* @author wujie
* @version 1.0
* @date 2021/4/26 22:35
*/
public interface AttackRecordService extends IService<A... |
package org.simpleflatmapper.datastax;
import com.datastax.driver.core.GettableByIndexData;
import com.datastax.driver.core.SettableByIndexData;
import java.lang.reflect.Method;
import java.util.Date;
/***
* Bridge method to 3.1 api
*/
public class DataHelper {
private static final Method setTimestampMethod;
... |
package com.tencent.mm.plugin.voip.widget;
class BaseSmallView$1 implements Runnable {
final /* synthetic */ BaseSmallView oVJ;
BaseSmallView$1(BaseSmallView baseSmallView) {
this.oVJ = baseSmallView;
}
public final void run() {
float currentTimeMillis = (((float) (System.currentTimeM... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package Monopoly.Cards;
/**
*
* @author Marcus
*/
public class Card {
protected int numberCard;
protected String NameCard;
protected String Descricao;
public Card(int numberCard, String Descrica... |
package com.raggiadolf.connectfour;
import android.app.ActionBar;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Bitmap;
import android.os.Handler;
import android.support.v4.app.FragmentActivity;
import android... |
package service;
import dao.UserDAO;
import entity.User;
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
/**
* Created by vince on 7/11/15.
*/
@ApplicationScoped
public class UserService {
@Inject
private UserDAO dao;
public User findByUsername(String username) {
... |
package week5lab1.sidm.com.game;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.view.SurfaceView;
import java.util.Random;
/**
* Created by Wafieqa on 12/4/2017.
*/
public class platform implements EntityBase, Co... |
package com.tencent.mm.plugin.appbrand.jsapi.file;
import com.tencent.mm.plugin.appbrand.appstorage.j;
import com.tencent.mm.plugin.appbrand.jsapi.file.f.a;
import com.tencent.mm.plugin.appbrand.l;
import com.tencent.mm.plugin.appbrand.q.h;
import com.tencent.mm.sdk.platformtools.bi;
import com.tencent.mm.sdk.platform... |
package com.smxknife.zookeeper.simple;
import org.apache.zookeeper.AsyncCallback;
import org.apache.zookeeper.KeeperException;
import org.apache.zookeeper.data.Stat;
/**
* @author smxknife
* 2019/12/2
*/
public class WorkerServiceImpl implements WorkerService {
@Override
public void setStatus(Worker worker, Str... |
package lion.payment;
import lion.dev.lang.MapJ;
/**
* @author carryon
* @time 2013 2013-3-6 上午12:59:42
* @mail hl_0074@sina.com
* @desc 支付接口公司
*/
public interface IPaymentPort {
String buildRequestPage(IPaymentOrder order, String channel);
String notifyPaymentResult(MapJ param);
String get... |
package Strings;
import java.util.*;
public class StringToInt {
public static void main(String[] args) {
String s = "100"; // String to int
int i = Integer.parseInt(s);
System.out.println(i+200);
System.out.println(s+200);
int r=300;
String y=Integer.toString(i);
System.out.println(170+y);
... |
package com.tencent.mm.plugin.sight.encode.ui;
public interface b {
void Lq(String str);
void bwp();
}
|
package com.fatosajvazi;
public class Main {
public static void main(String[] args) {
// write your code here
Printer printer = new Printer(false);
printer.fillUpTheToner(50);
System.out.println("Printer is duplex: " + printer.isDuplex());
printer.print(151);
Sys... |
package annotation_test;
import java.lang.annotation.*;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.TYPE;
/**
* Description:
*
* @author Baltan
* @date 2018/7/29 12:57
*/
@Target({METHOD, TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented... |
/*
import negocio.entidade.*;
import negocio.excecao.*;
import negocio.fachada.*;
import negocio.*;
public class Main {
public static void main(String[] args) throws VeiculoRepetidoException, ProdutoRepetidoException {
Fachada x = new Fachada();
Funcionario f = new Funcionario("Daniel", "1057913049... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2009.... |
package com.lxr.iot.bootstrap;
import com.lxr.iot.mqtt.MqttHander;
import com.lxr.iot.properties.ConnectOptions;
import com.lxr.iot.ssl.SecureSokcetTrustManagerFactory;
import io.netty.channel.ChannelPipeline;
import io.netty.handler.codec.mqtt.MqttDecoder;
import io.netty.handler.codec.mqtt.MqttEncoder;
import io.net... |
package fr.univavignon.pokedex.core;
import java.io.IOException;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import fr.univavignon.pokedex.api.IPokemonFactory;
import fr.univavignon.pokedex.api.PokedexException;
import fr.univavignon.poke... |
package swm11.jdk.jobtreaming.back.app.lecture.service;
import lombok.AllArgsConstructor;
import org.springframework.data.domain.PageRequest;
import org.springframework.stereotype.Service;
import swm11.jdk.jobtreaming.back.app.lecture.model.LectureReview;
import swm11.jdk.jobtreaming.back.app.lecture.repository.Lectur... |
package com.example.demo.Service;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;
import javax.annotation.PostConstruct;
import java.time.LocalTime;
import java.util.Ra... |
package com.question.controller;
import com.alibaba.fastjson.JSONObject;
import com.question.model.TotalQuestion;
import com.question.service.TotalQuestionService;
import com.question.util.BaseController;
import com.question.util.CommonUtil;
import com.question.util.EnumUtil;
import org.springframework.beans.factory.a... |
/*
* $HeadURL: $
* $Id: $
* Copyright (c) 2016 by Riversoft System, all rights reserved.
*/
package com.riversoft.nami;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.... |
package com.maweiming.wechat.bot.service.unreadmsg.core;
/**
* maweiming.com
* Copyright (C) 1994-2018 All Rights Reserved.
* 通知接口
* @author CoderMa
* @version IUnread.java, v 0.1 2018-11-07 00:55
*/
public interface INotice {
/**
* 处理通知
*/
void process();
}
|
package com.jason.demo.entity;
import java.util.Set;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToMany;
@Entity
public class Role {
@Id
@GeneratedValue(strategy=GenerationType.IDENTITY... |
package org.motechproject.server.model.db.hibernate;
import org.hibernate.Criteria;
import org.hibernate.SessionFactory;
import org.hibernate.classic.Session;
import org.hibernate.criterion.Restrictions;
import org.motechproject.server.model.MessageProgram;
import org.motechproject.server.model.ExpectedCareMessageDeta... |
package com.ua.serg.alex.buy.any.things.services;
import com.ua.serg.alex.buy.any.things.model.*;
import java.util.List;
import java.util.Set;
public interface AdministratorService {
void addCategory(Category category);
void removeCategory(Category category);
void removeCategory(int id);
void edi... |
/*
* 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 com.tarkesh.entity;
import java.io.Serializable;
import java.util.Objects;
import javax.persistence.Entity;
import javax.persi... |
package ec.com.yacare.y4all.lib.focos;
import android.content.Context;
import android.util.Log;
import java.io.IOException;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.InetAddress;
import java.net.SocketException;
import java.net.SocketTimeoutException;
import java.net.U... |
package lk.cb006789.eea.mercstore.service;
import lk.cb006789.eea.mercstore.models.MerchandiseitemModel;
import lk.cb006789.eea.mercstore.repo.ItemtypeRepository;
import lk.cb006789.eea.mercstore.repo.MerchandiseRepository;
import lk.cb006789.eea.mercstore.repo.MerchandiseitemRepository;
import org.springframework.be... |
package com.tencent.mm.plugin.ipcall.a.d;
import com.tencent.mm.ab.b;
import com.tencent.mm.ab.b.a;
import com.tencent.mm.ab.e;
import com.tencent.mm.ab.l;
import com.tencent.mm.model.q;
import com.tencent.mm.network.k;
import com.tencent.mm.protocal.c.bci;
import com.tencent.mm.protocal.c.bcj;
import com.tencent.mm.s... |
package com.example.administrator.hyxdmvp.ui.view.editpassword;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import com.example.administrator.hyxdmvp.R;
public class EditPassWordActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
... |
package com.goldgov.gtiles.core.web.validator;
import java.lang.annotation.Annotation;
import java.lang.reflect.Field;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.goldgov.gtiles.core.web.OperatingType;
public interface ConstraintValidator<A exten... |
//Laura Vonessen & Martin Stankard
package networking;
import gamepanel.GamePanel;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.net.Socket;
import java.util.ArrayList;
import java.util.List;
import model.Game;
import model.Statistics;
import model.Wave... |
package com.mayhew3.taskmaster.model;
import com.mayhew3.postgresobject.dataobject.FieldValueForeignKey;
import com.mayhew3.postgresobject.dataobject.Nullability;
import com.mayhew3.postgresobject.dataobject.RetireableDataObject;
public class SprintAssignment extends RetireableDataObject {
public SprintAssignment(... |
package ru.netology.comparator;
import ru.netology.domain.Issue;
import java.util.Comparator;
public class IssueCountCommentsComparator implements Comparator<Issue> {
public int compare(Issue o1, Issue o2) {
return o1.getCountOfComments() - o2.getCountOfComments();
}
} |
package com.vladan.mymovies.data.local.prefs;
import android.content.Context;
import android.content.SharedPreferences;
/**
* Created by Vladan on 10/15/2017.
*/
public class AppPreferencesHelper implements PreferencesHelper {
private final SharedPreferences sharedPreferences;
public AppPreferencesHelper... |
package com.yida.design.abstractfactory;
/**
*********************
* @author yangke
* @version 1.0
* @created 2018年4月20日 下午3:27:44
***********************
*/
public interface HumanFactory {
public Human createYellowHuman();
public Human createWhiteHuman();
public Human createBlackHuman();
}... |
package com.yahoo.gridimagesearch;
/**
* Created by sraovasu on 2/1/15.
*/
public class SearchImage {
public String url;
public int width;
public int height;
}
|
package com.tfjybj.integral.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.persistence.Column;
import java.io.Serializable;
/**
* UserDing实体
* 钉钉用户表
*
* @author 王云召
* @version... |
package org.seckill.seckill.dao;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.seckill.seckill.entity.SuccessKilled;
@Mapper
public interface SuccessKilledDao {
/**
* 插入购买明细,可过滤重复
* @param seckillId
* @param userPhone
* @return
*/
... |
package com.cpz.Demo03;
public class Ff {
public static void main(String[] args) {
Zi zi=new Zi();
zi.zzs();
zi.de();
}
}
|
/*Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacent lands horizontally or vertically.
You may assume all four edges of the grid are all surrounded by water.
Example 1:
Input:
11110
11010
11000
00000
Output: 1
Examp... |
package com.github.morihara.transactional.sample.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.jdbc.core.JdbcTemplate;
import com.github.morihara.transact... |
/*
* Copyright (C) 2012 eXo Platform SAS.
*
* This 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 software i... |
package extracomprobarcapicua;
import javax.swing.JOptionPane;
/**
*
* @author cromerofajar
*/
public class Operaciones {
long numero,digito,invertido,resto,numero2;
public void comprobar(){
numero=Long.parseLong(JOptionPane.showInputDialog(null,"Introduzca un numero"));
numero2=numero;
... |
package topcoder_crawler.model;
public interface KeyWord {
Long getKeyWordId();
String getKeyWord();
Integer getWeightLvl();
}
|
package com.bltucker.spotifystreamer.playback;
import com.bltucker.spotifystreamer.tracks.TrackItem;
public class PlaybackSessionCurrentTrackChangeEvent {
private final TrackItem previousTrack;
private final TrackItem currentTrack;
public PlaybackSessionCurrentTrackChangeEvent(TrackItem previousTrack, T... |
package CompaniesInterview.karat.FindaRectangle;
import java.util.ArrayList;
import java.util.List;
public class Solution {
public static void main(String[] args) {
int[][] board = new int[3][3];
board[0][1] = 0;
board[0][2] = 0;
board[1][1] = 0;
board[1][2] = 0;
bo... |
package org.jhipster.endpoints.domain;
import org.springframework.context.annotation.Primary;
import javax.persistence.*;
import java.util.Objects;
@Entity
@Table(name = "t_blog_tags", schema = "blog")
public class TBlogTagsEntity {
private long blogsId;
private long tagsId;
@Id
@Basic
@Column(n... |
package com.rockwellcollins.atc.limp.translate.basicblocks.limp;
import java.util.ArrayList;
import java.util.List;
import com.rockwellcollins.atc.limp.AssignmentStatement;
import com.rockwellcollins.atc.limp.Expr;
import com.rockwellcollins.atc.limp.LocalProcedure;
import com.rockwellcollins.atc.limp.Statement;
impo... |
package com.miliyo.danmaku.control.dispatcher;
import android.content.Context;
import android.text.Layout;
import android.text.StaticLayout;
import android.text.TextPaint;
import android.text.TextUtils;
import android.util.Log;
import com.miliyo.danmaku.DanMuChannelInfo;
import com.miliyo.danmaku.model.DanMuModel;
im... |
package com.tatteam.popthecamera.actors;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.g2d.Batch;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.scenes.scene2d.Actor;
import com.tatteam.popthecamera.GDXGameLauncher;
import java.util.Random;
import static com.ba... |
package org.acme;
public interface ServiceE {
@MyInterceptorAnnotation
void doWork();
}
|
package com.xu.easyweb.action.dict;
import com.xu.easyweb.action.BaseAction;
import com.xu.easyweb.common.dict.DictItem;
import com.xu.easyweb.service.dict.DictService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.annotation.Resource;
import javax.servlet.ServletContext;
import java.util.Ar... |
package com.buildbooster.inventory.serviceimpl;
import java.util.ArrayList;
import java.util.List;
import javax.transaction.Transactional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Service;
import com.bu... |
package com.ibm.ive.tools.japt.reduction.ita;
import com.ibm.ive.tools.japt.reduction.ita.ObjectPropagator.PropagationAction;
import com.ibm.jikesbt.BT_Class;
public class ContextProperties {
public int allocationContextCount;
public final AllocationContext HEAP = new AllocationContext(allocationContextCo... |
package com.example.journey_datn.fragment.Weather.apdaters;
import android.content.Context;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.Recy... |
package com.kush.lib.expressions.evaluators;
import com.kush.lib.expressions.Expression;
import com.kush.lib.expressions.ExpressionEvaluator;
import com.kush.lib.expressions.ExpressionEvaluatorFactory;
import com.kush.lib.expressions.ExpressionException;
import com.kush.lib.expressions.ExpressionHandler;
import com.ku... |
package com.redbus.pages;
import org.openqa.selenium.By;
import org.openqa.selenium.Keys;
import org.openqa.selenium.StaleElementReferenceException;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.How;
import org... |
package scripts;
import org.tribot.api.General;
import org.tribot.api.input.Mouse;
import org.tribot.api.util.ABCUtil;
import org.tribot.api2007.*;
import org.tribot.api2007.types.*;
import javax.crypto.spec.IvParameterSpec;
import javax.lang.model.element.VariableElement;
/**
* Created by Deeds on 4/19/2015.
*/... |
package com.lucasgr7.hexagontest.repo;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import com.lucasgr7.hexagontest.domain.Vehicle;
public interface IVehicleRepo extends JpaRepository<Vehicle, Integer> {
List<Vehicle> findAllByName(String name);
List<Vehicle> findAllById(... |
package com.eomdev.demo.web;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.authority.AuthorityUtils;
import org.springframework.web.bind.anno... |
package hhc.common.utils.stringUtils;
/**
* levenshtein (edit distance)
*/
public class SimilarityUtils {
private SimilarityUtils() {
}
public static int ld(String s, String t) {
int d[][];
int sLen = s.length();
int tLen = t.length();
int si;
int ti;
char ch1;
char ch2;
int cost;
if (sLen == 0... |
package group3;
import javax.swing.JFrame;
/**
* main class for the project
* @author Phuoc Nguyen
* @author Joyce Weng
* @author Tammy H Le
* @version 12/06/2020
*/
public class CS141FinalProject {
/**
* main method for the project
* @param args the command line arguments
*/... |
package com.tencent.mm.ui;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageInfo;
import android.net.Uri;
import com.tencent.mm.R;
import com.tencent.mm.ac.b;
import com.tencent.mm.ac.c;
import com.tencent.mm.ac.r;
import com.tencent.mm.ac.z;
import com.tencent.mm.bu.a;
i... |
package com.tencent.smtt.sdk;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.graphics.Bitmap;
import android.graphics.drawable.BitmapDrawable;
import android... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.