text stringlengths 10 2.72M |
|---|
package com.citisense.vidklopcic.e_smart;
/**
* Created by vidklopcic on 05/08/16.
*/
import android.content.DialogInterface;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.content.ContextCompat;
import android.support.v7.app.AlertDialog;
import android.view.LayoutInflat... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.awt.Color;
/**
* Write a description of class DeathScreen here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class DeathScreen extends ScreenWorld
{
/**
* Constructor for objects of... |
//Author: Timothy van der Graaff
package controllers;
import java.sql.Connection;
import java.sql.SQLException;
import utilities.Form_Validation;
import views.Show_For_Sale_Item_Details;
public class Control_Search_For_Sale_Item_Details extends models.Search_For_Sale_Item_Details {
//global variabl... |
package com.designPattern.behavioral.chainOfResponsibility;
public class Dollar20Dispenser implements DispenseChain {
private DispenseChain chain;
@Override
public void next(DispenseChain chain) {
this.chain = chain;
}
@Override
public void dispense(Currency currency) {
if(currency.getAmount() >= 20) {
... |
package pe.gob.trabajo.web.rest;
import com.codahale.metrics.annotation.Timed;
import pe.gob.trabajo.domain.Tipcalperi;
import pe.gob.trabajo.repository.TipcalperiRepository;
import pe.gob.trabajo.repository.search.TipcalperiSearchRepository;
import pe.gob.trabajo.web.rest.util.HeaderUtil;
import io.github.jhipster.w... |
package com.spbsu.flamestream.runtime;
import akka.actor.ActorPath;
import akka.actor.ActorRef;
import akka.actor.Props;
import akka.japi.pf.ReceiveBuilder;
import akka.pattern.PatternsCS;
import com.spbsu.flamestream.core.Graph;
import com.spbsu.flamestream.core.graph.FlameMap;
import com.spbsu.flamestream.core.graph... |
package ru.otus.db.dao.jpa;
/*
* Created by VSkurikhin at winter 2018.
*/
import ru.otus.exeptions.ExceptionThrowable;
import ru.otus.models.DeptEntity;
import javax.persistence.EntityManager;
import java.util.List;
public class DeptController extends AbstractController <DeptEntity, Long>
{
public DeptControl... |
package com.onesignal.influence;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.onesignal.OSLogger;
import com.onesignal.OSSharedPreferences;
import com.onesignal.OneSignal;
import com.onesignal.OneSignalRemoteParams;
import com.onesignal.influence.model.OSInfluence;
import org.j... |
package com.saaolheart.mumbai.store.stock;
import java.util.List;
import java.util.Optional;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import com.saaolheart.mumbai.customer.CustomerDetail;
@Repository
public interface StockRepo extends JpaReposi... |
package com.cg.project.castleglobalproject.base.constants;
/**
* Created by sam on 7/9/17.
*/
public interface Constants {
String API_HOST = "https://developers.zomato.com/api/v2.1";
String ZOMATO_AUTH_KEY = "2b7957c4fdaa2b314b7a945f0bc7247e";
}
|
/**
* Given an array of integers.
* Return an array, where the first element is the count of positives numbers and
* the second element is sum of negative numbers.
*
* If the input array is empty or null, return an empty array.
*
* Example
* For input [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, -11, -12, -13, -14, -15], yo... |
class ArrayStack<T> implements MyStack<T> {
private T[] array;
private int total;
public ArrayStack() {
this.array = (T[]) new Object[2];
this.total = 0;
}
@Override
public void push(T item) {
if (array.length == total) {
resize(total * 2);
}
array[total++] = item;
}
@Overri... |
package com.verbovskiy.finalproject.controller.command.impl.jump;
import com.verbovskiy.finalproject.controller.AttributeKey;
import com.verbovskiy.finalproject.controller.command.ActionCommand;
import com.verbovskiy.finalproject.controller.command.Constant;
import com.verbovskiy.finalproject.controller.command.PageTy... |
package demo.li.opal.uidemo.Utils;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import com.google.gson.JsonSyntaxException;
import java.lang.reflect.Type;
imp... |
package com.chessman;
import javax.swing.JFrame;
public class MainChessMan {
public static void main(String[] args) {
GameFram GFrame = new GameFram();
GFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
GFrame.setVisible(true);
}
}
|
package com.magit.logic.system.tasks;
import com.magit.logic.exceptions.*;
import com.magit.logic.system.MagitEngine;
import javafx.application.Platform;
import javafx.concurrent.Task;
import java.io.IOException;
import java.text.ParseException;
import java.util.function.Consumer;
import java.util.function.Function;
... |
package com.tanmengen.en.tanmengenqi.adapters;
import android.content.Context;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.Te... |
/*
* GNUnetWebUI - A Web User Interface for P2P networks. <https://gitorious.org/gnunet-webui>
* Copyright 2013 Sébastien Moratinos <sebastien.moratinos@gmail.com>
*
*
* This file is part of GNUnetWebUI.
*
* GNUnetWebUI is free software: you can redistribute it and/or modify
* it under the terms ... |
package be.usgprofessionals.POJOs;
import be.usgprofessionals.Utils.EID;
/**
* Created by Thomas Straetmans on 17/11/15.
* <p>
* Digigram for USG Professionals
*/
public class BasicUserProfile {
private EID userId;
private String firstName;
private String lastName;
private String profilePicURI;
... |
package com.espendwise.manta.service;
import com.espendwise.manta.dao.*;
import com.espendwise.manta.model.data.PropertyData;
import com.espendwise.manta.model.view.EmailTemplateIdentView;
import com.espendwise.manta.model.view.EmailTemplateListView;
import com.espendwise.manta.model.view.EntityHeaderView;
import com... |
package com.shopify.api.lotte.delivery;
import lombok.Data;
@Data
public class ResultPair {
private String data; // 성공인 경우 data 만 set 함
private String msg; // 에러인 경우 msg 만 set 함
}
|
package fr.cp.train.api;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
@Path("/reseau")
public interface TrainResource {
@GET
@Consumes("text/plain")
@Produces("application/json")
Train getTrain(@... |
package Pages;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
public class Waits {
private WebDriver driver;
public Waits(WebDriver driv... |
package com.gumbley.jonathon.findmeaplace;
import android.Manifest;
import android.content.ContentValues;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.database.Cursor;
import android.database.sql... |
/*
* This software is licensed under the MIT License
* https://github.com/GStefanowich/MC-Server-Protection
*
* Copyright (c) 2019 Gregory Stefanowich
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
... |
package com.example.wesley.myweatherapp;
import android.app.Activity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
... |
package lando.systems.ld36.entities;
import aurelienribon.tweenengine.primitives.MutableFloat;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.g2d.Animation;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.math.MathUtils;
import com.badlogic.gdx.utils.Array;
import la... |
package vanadis.blueprints;
import vanadis.common.ver.Version;
import vanadis.core.lang.ToString;
import vanadis.core.properties.PropertySet;
import vanadis.mvn.Coordinate;
import java.math.BigInteger;
import java.net.URI;
final class BundleBuilder {
private String group;
private String artifact;
priv... |
package com.suresh.learnings.twentyseventeen.april;
import java.io.BufferedReader;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.List;
public class CSVFileParser {
... |
package com.sunproservices.GUI;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.Font;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyAdapter;
import java.aw... |
/**
* DNet eBusiness Suite
* Copyright: 2010-2013 Nan21 Electronics SRL. All rights reserved.
* Use is subject to license terms.
*/
package net.nan21.dnet.module.bd.business.api.uom;
import java.util.List;
import net.nan21.dnet.core.api.service.business.IEntityService;
import net.nan21.dnet.module.bd.doma... |
package tw.skyarrow.ehreader.app.pref;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.DialogInterface;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;
import tw.skyarrow.ehreader.R;
/**
* Created by SkyArrow on 2014/2/17.
*/
public class CheckUpdateErrorDi... |
/*
* Copyright 2008 Kjetil Valstadsve
*
* 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 agre... |
// Generated from /shared/YandexDisk/ITMO/year2019/parsers/FormatKotlin/src/main/kotlin/SimpleFunction.g4 by ANTLR 4.7.2
import org.antlr.v4.runtime.Lexer;
import org.antlr.v4.runtime.CharStream;
import org.antlr.v4.runtime.Token;
import org.antlr.v4.runtime.TokenStream;
import org.antlr.v4.runtime.*;
import org.antlr.... |
/**
*
*/
package excepciones;
/**
* @author susana
*
*/
@SuppressWarnings("serial")
public class ErrorPrioridadIncorrecta extends Exception {
/**
*
*/
public ErrorPrioridadIncorrecta() {
// TODO Auto-generated constructor stub
}
/**
* @param message
*/
public ErrorPrioridadIncorrecta(String mes... |
package com.commercetools.pspadapter.payone.transaction;
import com.commercetools.pspadapter.payone.domain.ctp.CustomTypeBuilder;
import com.commercetools.pspadapter.payone.domain.ctp.PaymentWithCartLike;
import com.commercetools.pspadapter.payone.mapping.CustomFieldKeys;
import com.github.benmanes.caffeine.cache.Loa... |
package gdut.ff.gecco;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import com.geccocrawler.gecco.annotation.PipelineName;
import com.geccocrawler.gecco.pipeline.Pipeline;
import gdut.ff.utils.Constant;
import gdut.ff.utils.NodeUtil;
/**
*
* @author liuffei
* @date 201... |
package com.ryit.service.impl;
import java.util.Date;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ryit.entity.Plot;
import com.ryit.mapper.PlotMapper;
import com.ryit.service.PlotService;
import com.ryit.utils.UserSes... |
package kodlamaio.hrms.core.utilities.annotations;
import javax.validation.ConstraintValidator;
import javax.validation.ConstraintValidatorContext;
import org.springframework.beans.factory.annotation.Autowired;
import kodlamaio.hrms.dataAccess.abstracts.CandidateDao;
import kodlamaio.hrms.entities.concreates.Candida... |
package maximum.flow.graphics;
import maximum.flow.entity.Node;
import maximum.flow.entity.Coordinat;
import java.awt.Color;
import java.awt.Graphics;
import java.util.ArrayList;
import java.util.HashMap;
import maximum.flow.GraphUtils;
/**
*
* @author asus
*/
public class GraphGraphic extends javax.swing.JFrame... |
/*
package com.lr.util;
import com.lr.mapper.testPaperMapper;
import com.lr.pojo.testpaper;
import org.apache.ibatis.session.SqlSession;
import org.springframework.context.ApplicationContext;
import java.util.ArrayList;
public class getSubjectType{
public static int[] getType(ArrayList<testpaper>... |
package com.store.filter;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.Ser... |
/*
* Copyright 2011 frdfsnlght <frdfsnlght@gmail.com>.
*
* 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 appl... |
package com.desafiofullstackunoesc.model.curso;
import org.springframework.data.jpa.repository.JpaRepository;
public interface CursoRepository extends JpaRepository<Curso, Integer> {
}
|
import java.util.Scanner;
class bubble_case_change {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
System.out.println("Enter the string you want to sort: ");
String N= new String();
N=scan.nextLine();
char [] array=N.toCharArray();
bubble(array);
}
public ... |
package models;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Scanner;
/**
* This class runs the application and handles the models.Product I/O
*
* @version 5.0
*/
public class Driver {
private Scanner input = new Scanner(System.in);
private EmployeeAPI emp1 = new EmployeeAPI();... |
/*
* 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 writing, software
* distr... |
package interviewbit.binarysearch;
import java.util.List;
public class Median_Of_Array_GFG {
public double findMedianSortedArrays(final List<Integer> a,
final List<Integer> b) {
double d = 0;
if (a.size() <= b.size()) {
d = findMedianUtil(a, b);
} else {
d = findMedianUtil(b, a);
}
return d;
}
... |
package gui;
import gui.excecao.ModeloNaoDeclaradoException;
import gui.excecao.PrecoDeCompraNaoDeclaradoException;
import gui.excecao.PrecoDeReparoNaoDeclaradoException;
import gui.excecao.PrecoDeVendaNaoDeclaradoException;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Alert;
... |
package com.example.healthmanage.ui.activity.test;
import com.example.healthmanage.base.BaseViewModel;
public class TestViewModel extends BaseViewModel {
}
|
package com.tencent.tencentmap.mapsdk.a;
public interface kk$a {
void a();
void b();
}
|
package com.moon.moon_security.config;
import com.fasterxml.jackson.core.filter.TokenFilter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Co... |
package com.aprendoz_test.data;
/**
* aprendoz_test.VistaMatriculasGraficasTotalDia
* 01/19/2015 07:58:52
*
*/
public class VistaMatriculasGraficasTotalDia {
private VistaMatriculasGraficasTotalDiaId id;
public VistaMatriculasGraficasTotalDiaId getId() {
return id;
}
public void se... |
package com.cnk.travelogix.ccintegrationfacade.impl;
import org.apache.log4j.Logger;
import org.springframework.core.convert.converter.Converter;
import com.cnk.travelogix.ccintegrationfacade.SupplierCCIntegrationFacade;
import com.cnk.travelogix.ccintegrationfacade.exception.CCIntegrationErrorCodes;
import com.cnk.t... |
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import com.mysql.jdbc.Connection;
import com.mysql.jdbc.PreparedStatement;
import com.mysql.jdbc.Statement;
public class CodehubAutoSolveTable {
// JDBC driver name and database URL
static final String JDBC_DRIVER = "com.mysql.j... |
package com.tencent.mm.plugin.downloader.model;
import com.tencent.mm.a.e;
import com.tencent.mm.plugin.cdndownloader.c.a;
import com.tencent.mm.plugin.downloader.e.b;
import com.tencent.mm.sdk.platformtools.bi;
class a$3 implements Runnable {
final /* synthetic */ a ibF;
final /* synthetic */ long ibH;
... |
package com.jk.jkproject.ui.widget.danmaku;
import android.content.Context;
public interface DanmakuClickListener {
void onDanmakuClick(Context paramContext, DanmakuEntity paramDanmakuEntity);
void onDanmuIconClick(String paramString1, String paramString2, int paramInt);
}
|
package cache.inmemorycache.server.internal.transaction;
import com.google.inject.Singleton;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import cache.inmemorycache.server.internal.datastore.CacheValue;
import cache.inmemorycache.server.int... |
package hudson.plugins.buckminster;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import hudson.model.BuildListener;
/**
* A separate thread that reads the output stream of a given {@link Process} object and writes the results
* to the given {@link BuildListener}.
* ... |
package com.yixin.kepler.enity;/**
* Created by liushuai2 on 2018/6/7.
*/
import com.yixin.common.system.domain.BZBaseEntiy;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
* Package : com.yixin.kepler.enity
*
* @author YixinCapital -- liushuai2
* 2... |
/*
* 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.zavierdev.crudsiswa.ui.home;
import com.zavierdev.crudsiswa.auth.Session;
import com.zavierdev.crudsiswa.viewmodel.ViewMod... |
package de.adesso.gitstalker.core.processors;
import de.adesso.gitstalker.core.enums.RequestType;
import de.adesso.gitstalker.core.objects.Query;
import de.adesso.gitstalker.core.repositories.OrganizationRepository;
import de.adesso.gitstalker.core.repositories.ProcessingRepository;
import de.adesso.gitstalker.core.re... |
package chap04;
public class Queue {
int max = 10;
int top = -1;
int arr[] = new int[max];
public void enque(int number){
if(top<max){
if(top>=0){
arr[top] = number;
top++;
} else if(top<0){
top=0;
arr[top] = number;
top++;
}
} else {
System.out.println("out of range");
}
}... |
package IO;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
public class test {
public static void main(String[]args){
PrintWriter pw = null;
try {
pw = new PrintWriter(new File("NewData.csv"));
} catch (FileNotFoundException e) {
... |
package com.elvarg.world.model;
/**
* Represents a player's prayer book.
*
* @author relex lawl
*/
public enum Prayerbook {
NORMAL(5608, "You sense a surge of purity flow through your body!"),
CURSES(32500, "You sense a surge of power flow through your body!");
/**
* The PrayerBook constructor.
* @par... |
package com.tencent.mm.plugin.exdevice.model;
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.network.k;
import com.tencent.mm.network.q;
import com.tencent.mm.protocal.c.ame;
import com.tencent.mm.protocal.c.amf;
import com.tencen... |
package model.manager;
import java.io.File;
import java.util.Locale;
import java.util.Optional;
import java.util.ResourceBundle;
import org.apache.log4j.Logger;
import javafx.scene.control.Alert;
import javafx.scene.control.ButtonBar.ButtonData;
import model.Lang;
import model.Report;
import javafx.scene.control.But... |
package com.walkerwang.algorithm.bigcompany;
import java.util.Scanner;
public class Test {
public static void main(String[] args)
{
Scanner scanner = new Scanner(System.in);
while(scanner.hasNextInt())
{
int num = scanner.nextInt();
for(int i=0;i<num;i++)
... |
/*
* Copyright 2000-2011 JetBrains s.r.o.
*
* 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 la... |
package matrix;
public class BrightnessReducer implements MatrixOperation {
private float brightnessFactor;
BrightnessReducer(){
super();
brightnessFactor = 0.75f;
}
BrightnessReducer(float factor){
super();
brightnessFactor = factor;
}
@Override
p... |
package daos;
public interface LoginDAO
{
boolean isValidUser(String username, String password, String role);
boolean insertUser(String username, String password, String role);
} |
package com.cartesian.coordinateSystem.model;
/**
* This class represent 2 Lines
*/
public record TwoLine(Line line1, Line line2) {
}
|
package com.ecommerce.domain.cortamproduto;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.OneToM... |
package py.com.progweb.redsanitaria.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.*;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
@Entity
@Table(name = "hospital")
public class ... |
/*
* 2012-3 Red Hat Inc. and/or its affiliates and other contributors.
*
* 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 requi... |
package com.myd.demo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestCon... |
package com.example.app.Model;
import com.google.gson.annotations.SerializedName;
import java.io.Serializable;
public class Countries implements Serializable {
@SerializedName("name")
public String name;
@SerializedName("alpha3Code")
public String alpha3Code;
@SerializedName("capital")
pu... |
package com.github.io24m.validate4java;
/**
* @author lk1
* @description
* @create 2021-01-29 14:53
*/
public class ValidateInfo {
private String fileName;
private Class type;
private boolean success;
private String errorMessage;
private String format;
public static ValidateInfo success()... |
package pl.wat.wel.projekt.pumo.electronicband.SchematEditor;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.View;
import android.widget.EditText;
import android.widget.Toast;
import java.io.BufferedWriter;
import ... |
package cn.bh.jc.common;
/**
* 日志文件
*
* @author liubq
* @since 2018年1月25日
*/
public class SysLog {
public static ILoglisten logListen = null;
/**
* 日志
*
* @param msgs
*/
public static void log(String... msgs) {
if (msgs == null) {
return;
}
for (String msg : msgs) {
... |
package com.cz.android.text.layout.div;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Rect;
import android.text.Spanned;
import android.text.TextPaint;
import androidx.annotation.NonNull;
import com.cz.android.text.Styled;
import com.cz.android.text.layout.div.chunk.TextChun... |
package com.a1tSign.techBoom.data.entity;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import javax.persistence.*;
import java.util.List;
@Entity
@Table (name = "cart")
@Getter
@Setter
@EqualsAndHashCode
@ToString
public class Cart {
@Id
private Long i... |
package com.beiyelin.projectportal.entity;
import com.beiyelin.commonsql.jpa.BaseDomainEntity;
import com.beiyelin.commonsql.jpa.MasterDataEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import javax.persistence.Column;
import javax.persi... |
package com.goldgov.dygl.module.partymember.service.impl;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
impor... |
package Assignment4;
import java.util.*;
//import java.util.function.Consumer;
//import java.util.stream.Collectors;
public class Assignment4Q7 {
public static void main(String[] args) {
HashMap<String, Integer> hashMap = new HashMap<>();
hashMap.put("Alpha", 1);
hashMap.put("Bravo", 2);
hashMap.put("Charli... |
package com.thechema.game;
import static org.lwjgl.glfw.GLFW.*;
import static org.lwjgl.opengl.GL11.*;
import static org.lwjgl.opengl.GL13.*;
import org.lwjgl.opengl.*;
import static org.lwjgl.system.MemoryUtil.*;
import java.applet.Applet;
import java.applet.AudioClip;
import java.io.IOException;
import java.net.U... |
package com.design.pattern;
public class MyPrototype implements Cloneable {
private Integer id;
private String name;
private MyPrototype() {
}
@Override
protected Object clone() throws CloneNotSupportedException {
return super.clone();
}
private MyPrototype(Integer id, String name) {
super();
this.id... |
package com.dict.hm.dictionary.ui.adapter;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.drawable.ClipDrawable;
import android.util.TypedValue;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;... |
package com.albabich.grad.web.vote;
import com.albabich.grad.AuthorizedUser;
import com.albabich.grad.model.Vote;
import com.albabich.grad.repository.RestaurantRepository;
import com.albabich.grad.repository.UserRepository;
import com.albabich.grad.repository.VoteRepository;
import com.albabich.grad.to.VoteTo;
import ... |
package cn.chinaSoft.pandaMall.sellerCenter.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework... |
package taskLightSOEPA;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
public class TaskLight {
private int dimmingValue = -1;
private int toningValue = -1;
public synchronized boolean dimmingMix(int dv, int tv) {
... |
package com.tencent.mm.plugin.exdevice.ui;
import com.tencent.mm.R;
import com.tencent.mm.plugin.exdevice.ui.ExdeviceProfileUI.23;
import com.tencent.mm.ui.base.l;
import com.tencent.mm.ui.base.n.c;
class ExdeviceProfileUI$23$1 implements c {
final /* synthetic */ 23 iED;
ExdeviceProfileUI$23$1(23 23) {
... |
package api.longpoll.bots.methods;
import api.longpoll.bots.http.HttpClient;
import api.longpoll.bots.model.objects.media.FileType;
import java.io.File;
/**
* Uploads file to VK.
* This request requires neither <b>access token</b> not <b>API version</b> as parameters.
*
* @param <Response> VK API response type.
... |
package de.lgohlke.pebuild;
import de.lgohlke.pebuild.config.dto.Step;
import org.junit.jupiter.api.Test;
import static org.assertj.core.api.Assertions.assertThat;
class StepExecutorConverterTest {
@Test
void shouldConvertToShellExecutor() {
Step step = new Step();
step.setName("demo");
... |
package com.tencent.mm.ui.contact;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Bundle;
import android.os.Process;
import android.view.ContextMenu;
import android.view.ContextMenu.ContextMenuInfo;
import android.view.MenuItem;
import android.view.View;
import android.widget.Adapt... |
package fr.demos.presentation;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.PrintWriter;
import java.util.ArrayLis... |
package com.example.user.myapplication.main.activity;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import com.example.user.myapplication.R;
import com.example.user.myapplication.util.UserSessionManager;
/**
* Created by Junho on 2... |
package com.tencent.mm.g.a;
public final class jc$a {
public int opType;
}
|
package servidorArquivo;
import java.io.BufferedInputStream;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.net.Socket;
public class enviarArquivo implements Runnable {
Soc... |
package com.hit.neuruimall.service;
import com.hit.neuruimall.model.AdminUserModel;
import java.util.List;
public interface IAdminUserService {
public List<AdminUserModel> findAllUser();
public boolean validate(String username, String password);
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.