text stringlengths 10 2.72M |
|---|
package com.google.android.libraries.photoeditor;
import android.graphics.Bitmap;
import android.graphics.Bitmap.Config;
import android.graphics.Rect;
import android.util.FloatMath;
import android.util.Log;
import com.google.android.libraries.photoeditor.RenderFilterInterface.DataSource;
import java.util.ArrayList;
im... |
package com.proyecto.kernel.dao.util;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
imp... |
package model;
import javafx.beans.property.BooleanProperty;
import javafx.beans.property.IntegerProperty;
import javafx.beans.property.SimpleBooleanProperty;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;
public clas... |
package com.zhangdxchn.lib.weixin.bean.menu;
import java.util.ArrayList;
import java.util.List;
public class ComplexButton extends Button {
private List<Button> sub_button;
public List<Button> getSub_button() {
return sub_button;
}
public void addSubButton(Button btn) {
if (sub_button == null... |
package com.xmzj.common.util;
import java.security.Key;
import java.security.MessageDigest;
import java.util.HashMap;
import java.util.Map;
import org.apache.shiro.codec.Base64;
import org.apache.shiro.codec.Hex;
import org.apache.shiro.crypto.AesCipherService;
import org.apache.shiro.crypto.RandomNumberGenerator;
im... |
package heylichen.leetcode;
import java.util.*;
public class BSTLevelOrder {
public List<List<Integer>> levelOrder(TreeNode root) {
if (root == null) {
return Collections.emptyList();
}
List<List<Integer>> result = init(root);
Queue<TreeNode> queue = new LinkedList()... |
/******************************************************************************
* __ *
* <-----/@@\-----> *
* <-< < \\// > >-> *
... |
package com.newlec.controller;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import com.newlec.domain.LoginDTO;
import com.newlec.domain.MemberVO;
import com.newlec.service.UserServiceImpl;
public class LoginProcControlle... |
package services;
import java.util.ArrayList;
import entities.Client;
import entities.Trajet;
public interface IClientService {
public ArrayList<Client> getAllClient();
public void deletedClient(int ClientID);
public void addClient(Client client);
public void updateClient(Client client);
}
|
/*
* 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 util;
/**
* @author Raphaël
**/
public abstract class MoreGenericity
{
public static <T> T checkNullArg(T arg, String ... |
package cn.tedu.file;
import java.io.*;
import java.util.Scanner;
//本类用于练习文件复制综合案例
public class TestCopyFile {
public static void main(String[] args) {
//提示并接收用户输入的两个路径
System.out.println("请输入源文件路径:");//--被复制的那个
String f=new Scanner(System.in).nextLine();
System.out.println("请输入新文件... |
package com.xh.repairapk;
import java.util.ArrayList;
import java.util.List;
import android.annotation.SuppressLint;
import android.app.Fragment;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.widget.TextView;
import com.xh.annotation.ViewAnnotation... |
package com.predix.feedback.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.util.StringUtils;
import org.springframework.web.bind.annotation.RequestBody;
import org.springfr... |
package com.krish.array;
public class FindMultiMissingInSortedArray {
public static void main(String[] args) {
int[] arr = {-3, 0, 1, 2, 3, 4, 5, 6};
for(int value: findMissing(arr)) {
System.out.println(value);
}
}
private static final int[] findMissing(int[] data)... |
package com.cts.spring.qualifier;
public interface MessageProcessor {
public void processMessage(String msg);
}
|
package Problem_14502;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.LinkedList;
import java.util.Queue;
/* 모든 경우의 수에 대해서 BFS 적용 */
class data{
int x;
int y;
public data(int x, int y) {
this.x = x;
this.y = y;
}
}
public class ... |
/**
* Copyright © Arrow Software 2011
*/
package com.dabis.trimsalon.services;
import java.util.List;
import java.util.Map;
import org.apache.log4j.Logger;
import org.springframework.transaction.annotation.Transactional;
import com.dabis.trimsalon.dao.IBoekhoudingDao;
import com.dabis.trimsalon.dao.bas... |
package com.uchain.plugin;
import akka.actor.ActorRef;
import com.uchain.plugin.notifymessage.NotifyMessage;
import java.util.ArrayList;
import java.util.List;
public class Notification {
private List<ActorRef> listeners = new ArrayList<>();
public void register(ActorRef actorRef) {
li... |
/*
* Classe amb la informació d'una estació.
*/
package at.project.stations;
public class Station {
private int station_id;
private int num_bikes_available;
private int num_docks_available;
private long last_reported;
private boolean is_charging_station;
private String status;
public Statio... |
package com.fudanscetool.springboot.dao;
import com.fudanscetool.springboot.pojo.Stage3;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Repository;
@Repository
@Mapper
public interface Stage3DAO {
@Insert("INSERT INTO stage3 VALUES(#{projectID}, #{size}, #{RELY}, #{DATA}, #{DOCU}, #... |
/*
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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... |
package com.cloudinte.modules.xingzhengguanli.entity;
import com.thinkgem.jeesite.modules.sys.entity.User;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import com.thinkgem.jeesite.common.persistence.DataEntity;
import com.thinkgem.jeesite.common.utils.excel.annotatio... |
package DesignPatterns.AbstractFactoryPattern;
public interface ProductA {
public void aaa();
}
|
package com.rengu.operationsoanagementsuite.Repository;
import com.rengu.operationsoanagementsuite.Entity.DeploymentDesignDetailEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository... |
package com.beike.action.pay;
import java.io.ByteArrayInputStream;
import java.io.PrintWriter;
import java.util.HashMap;
import java.util.Map;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.logging.Lo... |
package exceptions;
@SuppressWarnings("serial")
public class DBCloseException extends DBException {
}
|
import java.awt.*;
import javax.swing.*;
public class TestSwing1 {
public static void main (String[] arv)
{
JFrame f = new JFrame();
f.setSize (2000, 1000);
f.setVisible(true);
}
} |
package de.scads.gradoop_service.server;
import de.scads.gradoop_service.server.helper.GraphHelper;
import de.scads.gradoop_service.server.helper.PatternMatchingHelper;
import de.scads.gradoop_service.server.helper.ServiceHelper;
import de.scads.gradoop_service.server.helper.filtering.FilteringHelper;
import de.scads.... |
package fileOperations;
import java.io.File;
public class FileOperations {
/* Class used to define Special File/DIrectory Related Operations */
public static boolean exists(String path) {
File justChecking = new File(path);
return justChecking.exists();
}
} |
package me.matyyy.score.basic.utils;
import java.util.ArrayList;
import java.util.List;
import me.matyyy.score.basic.SuserBoard;
public class UtilsSboard {
public static List<SuserBoard> boards = new ArrayList<>();
public static List<SuserBoard> getBoards() {
return new ArrayList<SuserBoard>... |
/*
* 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 fourinline;
import java.awt.Dimension;
import java.awt.GridLayout;
import java.net.SocketException;
import java.net.UnknownHos... |
package vnfoss2010.smartshop.serverside.servlet;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
im... |
package main;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.awt.CardLayout;
import java.awt.GridLayout;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.TitledBorder;
import j... |
package gina.nikol.qnr.demo.dao;
import java.util.List;
import gina.nikol.qnr.demo.entity.Location;
public interface LocationDAO {
public List<Location> getLocations();
public Location getLocation(int locId);
}
|
package com.javarush.task.task05.task0507;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
/*
Среднее арифметическое
*/
public class Solution {
public static void main(String[] args) throws Exception {
InputStream inputStream = System.i... |
package com.example.gauravbharti.garagebluetooth;
import android.app.Activity;
import android.app.FragmentManager;
import android.content.Context;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import android.view.LayoutInflater;
import android.view.View;
import android.view.Vie... |
package io.github.henryssondaniel.teacup.engine.junit;
import io.github.henryssondaniel.teacup.engine.Executor;
import io.github.henryssondaniel.teacup.engine.ExecutorFactory;
enum ExecutorHolder {
;
private static final Executor EXECUTOR = ExecutorFactory.create();
static Executor getExecutor() {
return ... |
package ru.job4j.array;
import org.junit.Test;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
public class CheckArrayCharTest {
@Test
public void whenLookForHellInWordHelloThanFind() {
CheckArrayChar check = new CheckArrayChar();
boolean result = check.contains("Hello", "Hell"... |
package cl.cehd.ocr.algorithm.usecase;
import cl.cehd.ocr.algorithm.entity.AccountDigit;
import cl.cehd.ocr.algorithm.entity.IndividualDigitIdentifier;
import java.util.List;
import java.util.stream.Collectors;
public class AccountNumberIdentifier {
private final IndividualDigitIdentifier individualDigitIdentif... |
import java.util.Arrays;
import java.util.List;
public class UnsuportedException {
public static void main(String[] args) {
String[] flowers = { "Ageratum", "Allium", "Poppy", "Catmint" };
List<String> flowerList = Arrays.asList(flowers);
flowerList.add("Celosia");
}
}
|
package com.example.holdempub;
import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import android.os.Bundle;
public class TradePage extends AppCompatActivity {
RecyclerView tradeRc;
TradeRecyclerAdapter ... |
package com.gmail.filoghost.holographicdisplays.commands.main;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import com.gmail.filoghost.holographicdisplays.Ho... |
package travel.api.config.response;
import net.sf.json.JSONObject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
/**
* @author Administrator
*/
@Controller
public class CommonRetu... |
package ir.ac.kntu;
import javafx.animation.AnimationTimer;
import javafx.application.Application;
import javafx.event.EventHandler;
import javafx.scene.Group;
import javafx.scene.ParallelCamera;
import javafx.scene.Scene;
import javafx.scene.input.KeyCode;
import javafx.scene.input.KeyEvent;
import javafx.s... |
package com.citibank.ods.modules.product.broker.functionality.valueobject;
/**
*
* @author Hamilton Matos,Jul 22, 2007
*/
public class BrokerListFncVO extends BaseBrokerListFncVO
{
} |
package com.example.vehiclehirebookingsystem.http;
import com.example.vehiclehirebookingsystem.VehicleService;
import com.example.vehiclehirebookingsystem.model.Vehicle;
import com.example.vehiclehirebookingsystem.repository.VehicleNotFoundException;
import lombok.RequiredArgsConstructor;
import org.springframework.fo... |
package by.cdptr.javabasics.l4_2;
import java.util.Random;
import java.util.Scanner;
public class MassivKratnyyK {
public static int enterNumber() {
Scanner scan = new Scanner(System.in);
while (!scan.hasNextInt()) {
System.out.println("Введено невалидное число! Попробуйте снова");... |
package formularios;
import java.awt.BorderLayout;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import java.awt.Color;
import javax.swing.JMenuBar;
import javax.swing.JMenu;
import javax.swing.JMenuI... |
package com.spring.scrapper.vboard;
import java.util.List;
import com.spring.scrapper.vboard.vo.VBoardVO;
public interface VBoardDAO {
public VBoardVO selectVBoard(VBoardVO vo) throws Exception;
public List<VBoardVO> selectVBoardList(VBoardVO vo) throws Exception;
public boolean insertVBoard(VBoardVO vo) throws... |
package com.quickly.adapter;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.ImageView;
import com.bumptech.glide.Glide;
import com.quickly.R;
import com.zhouwei.mzbanner.holder.MZViewHolder;
public class HomeBannerViewHolder implements MZViewHolder... |
/*
* Copyright © 2018 www.noark.xyz All Rights Reserved.
*
* 感谢您选择Noark框架,希望我们的努力能为您提供一个简单、易用、稳定的服务器端框架 !
* 除非符合Noark许可协议,否则不得使用该文件,您可以下载许可协议文件:
*
* http://www.noark.xyz/LICENSE
*
* 1.未经许可,任何公司及个人不得以任何方式或理由对本框架进行修改、使用和传播;
* 2.禁止在本项目或任何子项目的基础上发展任何派生版本、修改版本或第三方版本;
* 3.无论你对源代码做出任何修改和改进,版权都归Noark... |
package com.kingnode.gou.dto;
import java.io.Serializable;
/**
* 活动范围表
*
* @author rascal
*/
public class ActivityDto implements Serializable{
private String name; //特卖名称
private String content; //特卖内容
private String startTime; //开始时间
private String endTime; //结束时间
private Stri... |
package com.wirelesscar.dynafleet.api.types;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class fo... |
package com.n2s.miniproject.servlet;
import java.io.IOException;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servle... |
package com.izasoft.jcart.web.validators;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.MessageSource;
import org.springframework.stereotype.Component;
import org.springframework.validation.Errors;
import org.springframework.validation.Validator;
import com.izasoft.... |
package edu.ucsb.cs56.pconrad.parsing.syntax;
public class LessThan extends OperatorScaffold {
// begin constants
public static final LessThan LESSTHAN = new LessThan();
// end constants
public LessThan() {
super("<");
}
}
|
package Problem_15654;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.StringTokenizer;
public class Main {
public static int N, M;
public static int[] arr;
public static int[] idx;
public static boolean[] tr;
pub... |
package com.cxxt.mickys.playwithme.model.bean;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* PWMUser
* 用户的对象数据类
*
* @author huangyz0918
*/
@Data
@EqualsAndHashCode(callSuper=false)
public class PWMUser extends BasePWMBean {
// non null
private String username;
private String phone;
... |
class A{
A(){
System.out.println("parent class constructor");
}
}
public class superconstructorcall extends A {
superconstructorcall(){
/* here compiler automatically adds the :super()*/ /* super() is used to call the parent class constructor*/
System.out.pr... |
package apascualco.blog.springboot.utils;
import apascualco.blog.springboot.persistence.entidades.*;
import apascualco.blog.springboot.persistence.repositorio.CarroceriaREPO;
import apascualco.blog.springboot.persistence.repositorio.MotorREPO;
import apascualco.blog.springboot.persistence.repositorio.RuedasREPO;
impor... |
package demo;
import akka.actor.ActorRef;
import akka.actor.ActorSystem;
import demo.Client.*;
import demo.Balancer.*;
/**
* @author Luciano Freitas
* @description
*/
public class ElasticLoadBalancer {
public static void main(String[] args) {
final ActorSystem system = ActorSystem.create("system");
f... |
//
// TGServerThread.java
//
// Written by : Priyank Patel <pkpatel@cs.stanford.edu>
//
// Accepts connection requests and processes them
package Chat;
// socket
import java.net.*;
import java.io.*;
// Swing
import javax.swing.JTextArea;
// Crypto
import java.security.*;
import java.util.HashMap;
import javax.cr... |
package homework_2016_3_10;
/**
* How many days is from a day before to today
* use java api
* @author 151250137
*
*/
public class Homework3_2 {
}
|
package old.Data20180508;
public class SearchinRotatedSortedArrayII {
public static void main(String[] args) {
System.out.println(new SearchinRotatedSortedArrayII().search(new int[]{1, 3, 1, 1, 1}, 3));
}
public boolean search(int[] nums, int target) {
int low = 0, high = nums.length - 1,... |
package nz.co.zufang.model;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.*;
import java.util.Date;
/**
* Created by Mark on 2/25/2016.
*/
@Entity
@Table(name = "TBL_INFO")
public class Info{
@Id
@Column(name = "ID", unique = true)
@GeneratedValue(generator="system-uuid")
... |
package main.com.java.basics.annotation;
import java.lang.annotation.Annotation;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.Arrays;
/**
* @author Heena Hussain
* Example to read the annotation
*/
public class RunTest
{
public static void main(String[] args)
{
Class testExam... |
package com.jinglangtech.teamchat.model;
/**
* Created by icebery on 2017/4/25 0025.
*
* 登录用户
*/
public class LoginUser {
public int type;
public String _id;
public String token;
public String name;
public String avatar;
public String account;
public boolean isUpdated;
public boole... |
package Services.Impl;
/**
* Created by Emma on 8/12/2018.
*/
//add
public class HiresServiceImpl {
}
|
package Lesson_5;
import Lesson_5.Services.BookService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.Req... |
package com.aut.yuxiang.lbs_middleware;
import android.databinding.BaseObservable;
import android.databinding.Bindable;
/**
* Created by yuxiang on 2/02/17.
*/
public class LocationBindingData extends BaseObservable {
private String longitude;
private String latitude;
private String accuracy;
@Bi... |
package bioskopp;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* Servlet implementation class MojNalogServlet
*/
public class MojNalogServlet extends HttpServ... |
package com.ebook.admin.controller;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.convert.ReadingCo... |
package se.mauritzz.kth.inet.http.body;
public class PlainTextResponseBody extends HttpBody {
private String body;
public PlainTextResponseBody(String body) {
super(BodyType.TEXT_PLAIN);
this.body = body;
}
@Override
public String getBody() {
return body;
}
}
|
package org.dajlab.mondialrelayapi.soap;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Classe Java pour anonymous c... |
package com.example.demo.security;
import java.util.ArrayList;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.authority.SimpleGrantedAuthority;
import org.springframework.security... |
package com.example.feeasy.activities;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
imp... |
package com.example.demo.mapper;
import com.example.demo.entity.SysMonthlyReportMajor;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* Mapper 接口
* </p>
*
* @author zjp
* @since 2021-03-30
*/
public interface SysMonthlyReportMajorMapper extends BaseMapper<SysMonthlyReportMajor> {
}
|
package com.zut.lcy.mybatisplus.util;
import com.baomidou.mybatisplus.annotation.DbType;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.generator.AutoGenerator;
import com.baomidou.mybatisplus.generator.config.DataSourceConfig;
import com.baomidou.mybatisplus.generator.config.Global... |
/*
* 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.
*/
/**
*
* @author bernice.templeman001
*/
public class Tree {
public Tree()
{
treeCount++;
}
publ... |
package com.staniul.teamspeak.modules.adminlists;
public class Servergroup {
private int id;
private int rank;
private String icon;
public Servergroup() {
}
public Servergroup(int id, int rank, String icon) {
this.id = id;
this.rank = rank;
this.icon = icon;
}
... |
package trunk.Control;
import trunk.Model.*;
/**
* With this simulation, the user shall indicate a per annum percentage that each
* equity will decrease. This class implements the FutureSimulation interface, and
* acts as a concrete strategy within the Strategy design pattern.
*/
public class BearMarke... |
/*
* Copyright 2002-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package org.maia.mvc.gerenciadorOfertas.domain;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
imp... |
package com.sshfortress.common.util.tabletoentity;
public class ColumnAttribute {
//字段名称
private String columnName;
//字段类型
private String columType;
//字段长度
private int length;
//小数点后
private int scale;
//是否为 nullable
private int isNullable;
// 是否为主键
private boolean isPK;
// 属性
private S... |
package com.icanit.app_v2.adapter;
import java.util.List;
import android.content.Context;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnFocusChangeListener;
import android.view.ViewGroup;
import android.view.ViewGroup.LayoutParams;
import ... |
/**
*
*/
package com.UBQPageObjectLib;
import java.util.List;
import org.openqa.selenium.By;
import org.openqa.selenium.Keys;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.How;
import com.UBQGenericLib.Web... |
package com.alugueaki.project.repositories;
import org.springframework.data.jpa.repository.JpaRepository;
import com.alugueaki.project.domain.Locatario;
public interface LocatarioRepository extends JpaRepository<Locatario, Integer> {
}
|
package com.yokoapps.alarmzeker;
import java.util.ArrayList;
import java.util.Random;
import android.app.AlarmManager;
import android.app.NotificationChannel;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.BroadcastReceiver;
import android.content.Context;
import andr... |
package org.narl.hrms.visual.rest;
import static org.springframework.data.mongodb.core.aggregation.Aggregation.group;
import static org.springframework.data.mongodb.core.aggregation.Aggregation.match;
import static org.springframework.data.mongodb.core.aggregation.Aggregation.newAggregation;
import java.util.Ar... |
package net.droidlabs.viking.bindings.map.managers;
import com.google.android.gms.maps.GoogleMap;
import com.google.android.gms.maps.OnMapReadyCallback;
import java.util.Collection;
public interface IMapEntityManager<T> {
void add(GoogleMap googleMap, T item);
void addItems(GoogleMap googleMap, Collection<T> it... |
package com.wkrzywiec.spring.library.integration.dao;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextC... |
/** https://codeforces.com/problemset/problem/886/C #greedy #hash-table */
import java.util.HashSet;
import java.util.Scanner;
class PetyaAndCatacombs {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
HashSet<Integer> minuteSet = new HashSet<>();
mi... |
package generator.util.loop;
import generator.util.Random;
import generator.visitors.AtomicValueType;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Stack;
import java.util.stream.Stream;
public class LoopUtils {
public LoopUtils() {
}
private final ArrayList<Str... |
package com.tu.mq.kafka;
import org.apache.kafka.clients.consumer.ConsumerRecord;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.kafka.annotation.KafkaListener;
/**
* @Description 监听,消费消息
* @Classname Listener
* @Date 2019/5/23 10:40
* @Created by tuyongjian
*/
public class L... |
package com.ahmedonics.apps.ultimateutilitymaster.activities.Others;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.view.View;
import android.view.WindowManager;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;
import com.ahmedonics.apps.ul... |
package com.ex.musicdb.model.binding;
import com.ex.musicdb.model.entities.enums.Genre;
import org.springframework.format.annotation.DateTimeFormat;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.time.LocalDateTime;
pub... |
package org.garret.perst.impl;
import org.garret.perst.*;
import org.garret.perst.reflect.*;
import java.util.Date;
class BtreeFieldIndex extends Btree implements FieldIndex {
String className;
String fieldName;
long autoincCount;
transient Type cls;
transient Field fld;
public BtreeFie... |
package com.example.seyoung.finalhhproject;
import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.Base... |
package cn.com.xbed.common.util.response;
/**
* 业务返回参数
* @Title: ServiceCode.java
* @Package cn.com.xbed.util.response
* @Description: TODO
* @author porridge
* @date 2015年11月26日 下午1:07:40
* @version V1.0
*/
public class ServiceCode {
public static final int OK = 21020000;
public static final String OK_DE... |
package org.zeos.cafe.dao.impl;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.zeos.cafe.dao.DishDao;
import org.zeos.cafe.entity.Dish;
import org.zeos.cafe.entity.DishType;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.