text stringlengths 10 2.72M |
|---|
package com.tencent.mm.plugin.fav.a;
public enum m$b {
Sight(1),
AdUrl(2),
Chat(3),
TalkChat(4),
Fav(5);
public int value;
private m$b(int i) {
this.value = 0;
this.value = i;
}
}
|
/*package cn.ssh.fast;
//import org.csource.fastdfs.ClientGlobal;
//import org.csource.fastdfs.StorageClient;
//import org.csource.fastdfs.StorageServer;
//import org.csource.fastdfs.TrackerClient;
//import org.csource.fastdfs.TrackerServer;
import org.junit.Test;
import cn.ssh.common.utils.FastDFSClient;
public clas... |
package com.junior.stouring.tabsswipefragments;
import com.junior.stouring.R;
import com.junior.stouring.TouringPlace;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView... |
package com.example.myapplication;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.widget.ListView;
import android.widget.Toast;
import com.android.volley.Request;
import com.android.volley.RequestQueue;
import com.android.volley.Response;
import com... |
package com.rekoe.msg;
import com.rekoe.model.gameobjects.client.Client;
import com.rekoe.msg.cs.CSLoginMessage;
/**
* @author 科技㊣²º¹³
* Feb 16, 2013 2:35:33 PM
* http://www.rekoe.com
* QQ:5382211
*/
public class SCMessageRecognizer implements IMessageRecognizer<Integer> {
@Override
public BaseI... |
package hirondelle.web4j.security;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.util.*;
import hirondelle.web4j.util.Util;
import hirondelle.web4j.model.ModelUtil;
import hirondelle.web4j.util.EscapeChars;
import hir... |
/*
* [y] hybris Platform
*
* Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved.
*
* This software is the confidential and proprietary information of SAP
* ("Confidential Information"). You shall not disclose such Confidential
* Information and shall use it only in accordance with the ter... |
package com.github.frostyaxe.cucumber.stepdefs;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
import or... |
package com.tencent.mm.plugin.nearby.ui;
import android.content.Intent;
import android.view.MenuItem;
import android.view.MenuItem.OnMenuItemClickListener;
import com.tencent.mm.model.au;
import com.tencent.mm.model.bl;
import com.tencent.mm.model.c;
import com.tencent.mm.plugin.messenger.foundation.a.a.h.a;
import co... |
package com.kevin.spring5.tutorial.samples.controller;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.server.ServerHttpRequest;
import org.springframework.http.server.ServerHttpResponse;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestCon... |
/**
* Helios, OpenSource Monitoring
* Brought to you by the Helios Development Group
*
* Copyright 2007, Helios Development Group and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free softw... |
/**
* © Copyright IBM Corporation 2015
*
* 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 samsungTest;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.*;
public class BOJ_21609_상어중학교 {
private static int N,M, gr,gc,max, grain;
private static int[][] map;
private static int[][] dir = {{-1,0},{1,0},{0,-1},{0,1}};
private static boole... |
package com.kdp.wanandroidclient.ui.main;
import android.content.Intent;
import android.graphics.Color;
import android.os.Build;
import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.support.v7.widget.SearchView;
import android.text.TextUtils;
import android.view.LayoutInflater;
imp... |
/**
*
*/
package org.lucidant.springaop;
import java.time.LocalDate;
import java.time.Month;
import org.aspectj.lang.annotation.Pointcut;
import org.lucidant.springaop.model.MyPerformanceMonitorInterceptor;
import org.lucidant.springaop.model.Person;
import org.lucidant.springaop.model.PersonService;
import org.spr... |
package communicatorclient;
import com.google.gson.Gson;
import com.google.gson.JsonSyntaxException;
import communicatorshared.CommunicatorWebSocketMessage;
import communicatorshared.CommunicatorWebSocketMessageOperation;
import javax.websocket.*;
import java.io.IOException;
import java.net.URI;
import java.net.URISy... |
package br.com.allerp.allbanks.entity.conta;
import javax.persistence.Entity;
import javax.persistence.Table;
import br.com.allerp.allbanks.entity.GenericEntity;
@Entity
@Table(name = "EXTRATO_BANCARIO")
public class ExtratoBancario extends GenericEntity {
private static final long serialVersionUID = 43... |
package com.clashwars.cwutils.events;
import java.io.ByteArrayInputStream;
import java.io.DataInputStream;
import java.util.UUID;
import org.bukkit.Bukkit;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.plugin.messaging.PluginMessageListener;
import com.clashwars.cwutils.... |
package naruter.com.outsourcing.dao;
import naruter.com.outsourcing.vo.MemberInfo;
public interface MeminfoDAO {
public Integer loginSelect(MemberInfo memInfo);
public Integer join(MemberInfo memInfo);
//아이디 중복 조회 필요쓰
}
|
public class CalculateSalary {
private int BaseSalary;
private int ExtraHours;
public CalculateSalary(int BaseSalary, int ExtraHours) {
setBaseSalary(BaseSalary);
setExtraHours(ExtraHours);
}
public int calculateSalary(int HourlyRate){
int totalSalary = getBaseSalary() + (g... |
package gui;
import javax.swing.*;
import map.Square;
import java.awt.Dimension;
import java.awt.Color;
import java.util.Arrays;
import javax.swing.border.*;
import java.awt.*;
import map.Background;
public class Case extends JButton {
/**
*
*/
private static final long serialVersionUID = 1L;
... |
package Sem2.HashTable;
public class Main {
public static void main(String[] args) {
MyHashTable table = new MyHashTable(100);
table.put("table", "стол");
String r = table.getK("table");
System.out.println(r);
}
}
|
package com.bingo.code.example.design.memento.module;
/**
* ����¼��խ�ӿڣ�û���κη�������
*/
public interface Memento {
}
|
package com.nixsol.mahesh.model.response;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import java.util.ArrayList;
public class FactResponse {
@SerializedName("title")
@Expose
private String name;
@SerializedName("rows")
@Expose
private ArrayL... |
package com.fundwit.sys.shikra.actuator;
import org.springframework.stereotype.Service;
import reactor.core.publisher.Mono;
@Service
public class ApplicationStatusManagerImpl implements ApplicationStatusManager{
// dataSourceCheck
// mqCheck
// redisCheck
@Override
public Mono<Boolean> isAlive() ... |
/**
*
*/
package com.cnk.travelogix.b2c.storefront.security;
import de.hybris.platform.core.model.user.CustomerModel;
import de.hybris.platform.servicelayer.session.SessionService;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import javax.annotation.Resource;
import javax.servlet.Fil... |
/*
* 文 件 名: UserStatusRestService.java
* 描 述: UserStatusRestService.java
* 时 间: 2013-6-27
*/
package com.babyshow.rest.userstatus;
import java.util.Date;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.babyshow.rest.Res... |
package com.bowlong.concurrent.async;
import java.util.concurrent.Callable;
public abstract class CallableExcept implements Callable<Exception> {
@Override
public Exception call() throws Exception {
try {
exec();
} catch (Exception e) {
return e;
}
return null;
}
public abstract void exec() throws... |
import com.dto.BookDto;
import com.service.BookApiService;
import com.util.JDBCUtil;
import org.junit.Assert;
import org.junit.Test;
import java.math.BigDecimal;
import java.sql.SQLException;
import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
/**
... |
package com.walkerwang;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.net.ServerSocket;
import java.net.Socket;
public class ServerClient {
public static void main(String[] args) throws Exception {
@SuppressWarnings("resource")
ServerSocket server = new ServerSocket(1118);
... |
package TIterator;
public interface Iterator {
Object next();
boolean hasNext();
}
class ConcreteIterator implements Iterator {
IterableCollection collection;
int index;
public ConcreteIterator(IterableCollection collection) {
this.collection = collection;
}
@Override
publi... |
package com.nmhung.model;
import lombok.Data;
@Data
public class UserModel {
private Integer id;
private String username;
private String password;
private String fullname;
private String email;
private RoleModel role;
public UserModel() {
}
public UserModel(Integer id, String username, Stri... |
package edu.kit.pse.osip.core.utils.formatting;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
/**
* JUnit test class for FormatChecker.java.
*
* @author Maximilian Schwarzmann
* @version 1.1
*/
public class FormattingTest {
/**
* Tests no... |
package mymodules;
import dagger.Module;
import dagger.Provides;
import mInterface.Lognview;
import mybase.Baseview;
/**
* Created by 地地 on 2017/12/11.
* 邮箱:461211527@qq.com.
*/
@Module
public class Guanzhumoudule {
private Baseview baseview;
public Guanzhumoudule(Baseview baseview) {
this.baseview... |
/*
Given a linked list, rotate the list to the right by k places, where k is non-negative.
Example 1:
Input: 1->2->3->4->5->NULL, k = 2
Output: 4->5->1->2->3->NULL
Explanation:
rotate 1 steps to the right: 5->1->2->3->4->NULL
rotate 2 steps to the right: 4->5->1->2->3->NULL
Example 2:
Input: 0->1->2->NULL, k = 4
Out... |
package com.hcl.dmu.demand.vo;
public class DemandTrakerVo {
private int demandId;
private String Sno;
private String streamName;
private String projectName;
private String skill;
private int count;
private int fullfilled;
private int gap;
private Demand... |
package com.app.artclass.database;
import android.os.Build;
import androidx.annotation.RequiresApi;
import androidx.room.TypeConverter;
import com.app.artclass.WEEKDAY;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import java.lang.reflect.Type;
import java.text.DecimalFormat;
import java.t... |
package ru.otus.api.service;
import ru.otus.api.model.Accaunt;
import java.util.Optional;
public interface DBServiceAccaunt {
long saveAccaunt(Accaunt accaunt);
Optional<Accaunt> getAccaunt(long id);
}
|
package global;
public final class ConstantVars {
private static RID globalRID;
private static int readCount;
private static int writeCount;
private static int allocateCount;
public static final void setGlobalRID(RID rid){
if(globalRID==null)
globalRID = new RID();
globalRID.slotNo = rid.slotNo;
global... |
package com.tieto.javabootcamp.service;
import com.tieto.javabootcamp.model.text.Comment;
import com.tieto.javabootcamp.model.text.PrivateMessage;
public interface PrivateMessageService {
public PrivateMessage saveAritcle(PrivateMessage article);
public Iterable<PrivateMessage> listArticles();
}
|
package br.com.treinarminas.academico;
public class PrimeiraClasse {
public static void main(String[] args) {
System.out.println("teste de classe");
System.out.println("teste de git");
}
}
|
package include.linguistics.chinese;
import include.Tuple2;
import chinese.pos.CTag;
public final class CTagCSetOfLabels extends Tuple2<CTag, CSetOfLabels> {
public CTagCSetOfLabels() {
super();
}
public CTagCSetOfLabels(final CTagCSetOfLabels tag_tagset) {
refer(tag_tagset.m_object1, tag_tagse... |
/*
* [y] hybris Platform
*
* Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved.
*
* This software is the confidential and proprietary information of SAP
* ("Confidential Information"). You shall not disclose such Confidential
* Information and shall use it only in accordance with the ter... |
package xframe.example.pattern.chainofresp;
public abstract class Handler {
protected Handler nextor;
public Handler getNextor() {
return nextor;
}
public void setNextor(Handler nextor) {
this.nextor = nextor;
}
//首先调用自身的handle 方法,在调用next方法
public abstract void handle(Request<?> request... |
package com.library.bexam.dao;
import com.library.bexam.common.pojo.model.Result;
import com.library.bexam.entity.ClassEntity;
import com.library.bexam.form.ClassForm;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* 班级操作数据库类
* @author caoqian
* @date 20181213
*/
public inte... |
package cr.ulacit.dao;
import org.appfuse.dao.BaseDaoTestCase;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
public class MenuDishDaoTest extends BaseDaoTestCase {
@Autowired
private MenuDishDao menuDisDao;
@Test
public void testFindById() throws Exception{
log.debug("... |
package com.quam.quamtest.net;
import android.content.Context;
import com.quam.quamtest.BuildConfig;
import com.quam.quamtest.net.rest.Api;
import com.quam.quamtest.net.rest.Constant;
import com.quam.quamtest.utils.SharedUtils;
import com.google.gson.ExclusionStrategy;
import com.google.gson.FieldAttributes;
import c... |
package ex2;
import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JTextField;
import javax.... |
public class Polinomio implements Function{
private int grado;
private int[] coef;
public Polinomio(int grado, int[] coef){
this.grado = grado;
this.coef = coef;
}
@Override
public double evaluate(double x) {
double valor = 0;
for (int i = 0; i <= this.grado; i++){
valor = this.coef[i] + (x ... |
package main;
import net.egork.collections.intcollection.IntArray;
import net.egork.utils.io.InputReader;
import net.egork.utils.io.OutputWriter;
import java.util.ArrayList;
public class TaskA {
public void solve(int testNumber, InputReader in, OutputWriter out) {
ArrayList arr=new ArrayList<Integer>();... |
package com.sdl.webapp.tridion.query;
import com.google.common.collect.ArrayListMultimap;
import com.google.common.collect.Multimap;
import com.sdl.webapp.common.api.model.entity.Teaser;
import lombok.Data;
import java.util.List;
@Data
/**
* <p>Abstract BrokerQuery class.</p>
*/
public abstract class BrokerQuery {... |
package com.example.chris.androidcodingchallenge;
import android.graphics.Bitmap;
import java.io.IOException;
import java.util.List;
interface RemoteDataSource {
List<User> createUserList() throws IOException;
Bitmap getBitmapFromUrl(String urlName) throws IOException;
}
|
package cc.stan.example.springbootwithdockergradleexample.ctl;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class HelloCtl {
@GetMapping("/")
public String hello() {
return "springboot with docker gradl... |
package com.tencent.sqlitelint.util;
import com.tencent.matrix.d.b;
public class SLog {
private static final String TAG = "SQLiteLint.SLog";
private static volatile SLog mInstance = null;
public static native void nativeSetLogger(int i);
public static SLog getInstance() {
if (mInstance == nu... |
package net.somethingnew.kawatan.flower;
import android.content.Context;
import android.widget.EditText;
import android.widget.ImageView;
import androidx.cardview.widget.CardView;
import net.somethingnew.kawatan.flower.db.DatabaseHelper;
import net.somethingnew.kawatan.flower.model.AvailableBookInfo;
import net.some... |
package lnyswz.oa.bean;
import java.io.Serializable;
/**
*
* @author wenyang
* @hibernate.class table="t_user"
*/
public class User implements Serializable{
private int id;
private String name;
private String password;
private Person person;
/**
* @hibernate.id
* generator... |
package com.brainmentors.apps.configdemo;
public interface IB {
void print();
void calc();
}
|
package com.example.onul_app;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import androidx.appcompat.app.AppCompatActivity;
public class SelectLoginOrSignUp extends AppCompatActivity {
private Button login_btn;
private Button sign_up_btn;
... |
package com.diozero.sampleapps.gol;
/*-
* #%L
* Organisation: diozero
* Project: diozero - Sample applications
* Filename: GameOfLife.java
*
* This file is part of the diozero project. More information about this project
* can be found at https://www.diozero.com/.
* %%
* Copyright (C) 2016 - 2023 di... |
package com.agileengine.test.gallery.model;
import lombok.*;
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Getter
public class Image {
private String complexSearchKey;
private String id;
private String croppedImageUrl;
private String fullImageUrl;
private String author;
private St... |
package com.ssm.wechatpro.service;
import com.ssm.wechatpro.object.InputObject;
import com.ssm.wechatpro.object.OutputObject;
public interface WechatOutRefundService {
/**
* 客户进行申请退款
* @param inputObject
* @param outputObject
* @throws Exception
*/
public void applyForRefund(InputObject inputObject,Outp... |
package org.company.wsse;
import org.apache.cxf.annotations.EndpointProperties;
import org.apache.cxf.annotations.EndpointProperty;
import org.apache.cxf.ws.security.SecurityConstants;
import javax.jws.WebService;
@EndpointProperties(value = {
@EndpointProperty(key = SecurityConstants.SIGNATURE_PROPERTIES, v... |
package com.lingnet.vocs.dao.impl.statistics;
import java.util.List;
import java.util.Map;
import org.apache.commons.lang.StringUtils;
import org.hibernate.SQLQuery;
import org.springframework.stereotype.Repository;
import com.lingnet.common.dao.impl.BaseDaoImplInit;
import com.lingnet.util.JsonUtil;
impo... |
package com.tencent.mm.plugin.wallet_index.ui;
import android.content.DialogInterface;
import android.content.DialogInterface.OnCancelListener;
class WalletOpenFingerprintPayRedirectUI$1 implements OnCancelListener {
final /* synthetic */ WalletOpenFingerprintPayRedirectUI pDJ;
WalletOpenFingerprintPayRedire... |
/**
* Methods to work with utils.
*/
package api.longpoll.bots.methods.impl.utils; |
package com.plexobject.dp.sample.dao.memory;
import com.plexobject.dp.sample.dao.SecurityDao;
import com.plexobject.dp.sample.domain.Security;
public class SecurityDaoImpl extends BaseDaoImpl<String, Security> implements SecurityDao {
}
|
package SVisitor;
import java.util.ArrayList;
import java.util.List;
public class VisitorTest {
public static void main(String[] args) {
//creating all objects for structure
CarBody carBody = new CarBody();
Wheel wheel1 = new Wheel("front-left");
Wheel wheel2 = new Wheel("front-r... |
package com.waes.backend.stepDefs;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import org.junit.Assert;
import com.google.gson.Gson;
import com.waes.backend.utili... |
package banyuan.day04.morning.practice01.P05;
/*
1) 创建一个老师类:Teacher
2) 为老师添加字段:id,name,sex,age,height
3) 分别为字段添加对应的属性:
id:int,不用校验
name:string,长度大于一位少于四位
sex:string,只能是男和女
age:int,只能在20-55之间
height:double,只能在1.50-1.80之间
定义一个ShowData方法,打印编号、姓名、性别、身高
4) 创建一个老师对象,调用其ShowData();
*/
public class Teacher {
priva... |
package kevin.jugg.product_service.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import java.io.Serializable;
/**
* @Description:商品类
* @Author: Kevin
* @Create 2020-01-09 14:47
*/
@Data
public class Product implements Serializab... |
package eg.edu.alexu.csd.oop.draw;
public class Triangle extends LineSegment{
}
|
package com.fleet.mybatis.dynamic.sql.service.impl;
import com.fleet.mybatis.dynamic.sql.dao.UserDynamicSqlSupport;
import com.fleet.mybatis.dynamic.sql.dao.UserMapper;
import com.fleet.mybatis.dynamic.sql.entity.User;
import com.fleet.mybatis.dynamic.sql.page.PageUtil;
import com.fleet.mybatis.dynamic.sql.page.entity... |
package com.tencent.mm.plugin.gallery.ui;
import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.view.ViewGroup.LayoutParams;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import android.widget.AdapterView;
import android.widg... |
package com.utils.tools.security.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.utils.tools.security.mapper.CompanyMapper;
import com.utils.tools.security.pojo.Company;
import com.utils.tools.security.ser... |
package br.com.biblioteca.livros.adapter.datastore.converter;
import br.com.biblioteca.livros.adapter.datastore.entity.LivrosEntity;
import br.com.biblioteca.livros.core.model.Livros;
public class ModelToEntity {
public static LivrosEntity modelParaEntity(Livros livros){
return new LivrosEntity().builder()
... |
package com.kplibwork.libcommon;
import android.app.Activity;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.net.wifi.WifiManager;
import android.telephony.TelephonyManager;
import android.util.Log;
import java.math.BigInteger;
import java.securi... |
package com.uwetrottmann.trakt5.entities;
public class Settings {
public User user;
public Account account;
public Connections connections;
public SharingText sharing_text;
}
|
package com.test.kani.songhistory.activity;
import android.content.Context;
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.Button;
import android.widget.CheckBox;
import android.widget.Ed... |
package com.designpattern.structuralpattern.decorator;
public class ConcreteComponent implements Component {
@Override
public void method() {
System.out.println("this is old method");
}
}
|
package org.sherlock.s01;
import lombok.SneakyThrows;
import org.springframework.stereotype.Service;
/**
* @author Evgeny Borisov
*/
@Service
public class BaronDeveloper {
@SneakyThrows
public void use(Box box) {
String content = box.getContent();
if (content.contains("poison")) {
... |
public class Bomba {
private String combustivel;
private double valorLitro;
private double qtdLitros;
private double valorTotal;
private boolean disponivel;
public Bomba(String combustivel, double valorLitro){
this.combustivel = combustivel;
this.valorLitro = valorLitro;
}
... |
package id.ac.ub.ptiik.papps.base;
<<<<<<< HEAD
import java.util.ArrayList;
=======
>>>>>>> masteronline
public class NavMenu {
public static final int MENU_HOME = 0;
public static final int MENU_MESSAGES = 1;
public static final int MENU_SCHEDULE = 2;
public static final int MENU_AGENDA = 3;
public static fin... |
package com.pro.mongo.vo;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import lombok.Data;
@Data
@Document("blogs")
public class MemoVO {
@Id
ObjectId _id;
String objectId;
String user_id;
String type;
String t... |
/*
* Copyright (c) 2014-2016 Hewlett Packard Enterprise Development Company, L.P.
*
* 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
*
* Unle... |
package com.web.mapper;
import com.web.pojo.TbProperty;
public interface TbPropertyMapper {
int deleteByPrimaryKey(Integer id);
int insert(TbProperty record);
int insertSelective(TbProperty record);
TbProperty selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(TbProperty record);
... |
/*
* 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 com.app.lifecycle;
import java.io.IOException;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* Servlet implementation class LifeCycleServlet
*/... |
package com.folder.functions;
public class FunctionsJavaTest {
public static boolean checkPalindrom(String str) {
StringBuilder stringBuilder = new StringBuilder(str);
String inversedString = stringBuilder.reverse().toString();
return inversedString.equalsIgnoreCase(str);
}
//Высчи... |
package org.jrenner.learngl.cube;
import com.badlogic.gdx.math.MathUtils;
import com.badlogic.gdx.math.Vector3;
import org.jetbrains.annotations.NotNull;
import org.jrenner.learngl.Main;
import org.jrenner.learngl.gameworld.Chunk;
import org.jrenner.learngl.gameworld.CubeData;
import org.jrenner.learngl.gamewo... |
package com.splendid.config;
import java.io.IOException;
import java.io.InputStream;
import java.io.Reader;
import java.io.StringReader;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Map;
public class Configuration {
public static final Path DEFAULT_OUTPUT_PATH... |
package com.example.mario.xiaoyou;
import android.animation.Animator;
import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.app.ActivityOptions;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Bitma... |
package org.pyload.android.client.module;
import java.util.HashMap;
public class GuiTask {
private HashMap<Throwable, Runnable> exceptionMap;
private final Runnable task;
private final Runnable success;
//how often the task can be called
public int tries = 2;
// called when anything goes wrong (optional)
... |
package modelo.mutacion;
import java.util.Random;
import modelo.poblacion.Chromosome;
import modelo.poblacion.Function;
import modelo.poblacion.FunctionAnd;
import modelo.poblacion.FunctionIf;
import modelo.poblacion.FunctionNot;
import modelo.poblacion.FunctionOr;
import modelo.poblacion.Gene;
import modelo.poblacio... |
package piefarmer.immunology.block;
import java.util.Random;
import net.minecraft.block.BlockContainer;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.item.EntityItem;
import net.minecraft.e... |
package com.tencent.mm.plugin.ipcall.ui;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
import com.tencent.mm.R;
import com.tencent.mm.sdk.platformtools.bi;
import java.util.ArrayList;
import java.util.List;
public final class f extends Base... |
package tw.org.iii.java;
import java.io.File;
public class Brad55 {
public static void main(String[] args) {
String path = "dir2";
File file = new File(path);
if (file.exists()) {
System.out.println("exist");
if (file.isDirectory()) {
System.out.println("dir");
}else if (file.isFile()) {
S... |
package code.interview;
public class FourBillion {
public static void main(String[] args) {
System.out.println(Integer.MAX_VALUE);
System.out.println(Math.pow(2, 31));
System.out.println(31 & 2);
System.out.println(54 & 0x1F);
}
}
|
package com.training.day11.loops;
public class TenBreak {
public static void main(String[] args) {
/*
// Case 1 : Inside one loop if condition matches
for (int i=1; i<=20; i++) {
if (i == 10) {
break;
}
System.out.print("i : " +i + " \t");
}
// Note : It will stop printing values ... |
package net.h2.web.core.config.basicsec;
public interface CasAuthenticationConfigurer extends
BaseAuthenticationConfigurer {
String casUrl();
String applicationUrl();
String applicationName();
String casFailedUrl();
}
|
package com.polsl.edziennik.desktopclient.view.common.panels.button;
import java.awt.FlowLayout;
import java.util.ResourceBundle;
import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.JPanel;
import com.polsl.edziennik.desktopclient.controller.utils.LangManager;
import com.polsl.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.