text stringlengths 10 2.72M |
|---|
package com.example.tiamo.gym;
import android.content.Intent;
import android.media.MediaPlayer;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.KeyEvent;
import android.... |
package factory.design.pattern.example1;
import java.util.Scanner;
public class CakeTest {
public static void main(String args[]) {
Cake cake = null;
System.out.println("Which Cake you would like to eat : BlackForest/BlueBerry/LitchiGateaux/Pineapple");
Scanner scanner = new Scanner(System.i... |
package chatterby.network;
import chatterby.messages.Message;
/**
* A consumer of recieved messages.
*
* @author scoleman
* @version 1.0.0
* @since 1.0.0
*/
public interface PayloadConsumer
{
public void consume(Message message);
} |
/*
* 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 dagtgen;
/**
*
* @author Arshad
*/
public class HEFT {
public static Matrix compMatrix;
public static ... |
package com.tencent.tencentmap.mapsdk.a;
public final class gq extends gu {
int b;
public final void a(int i) {
if (this.e != null) {
gr grVar = this.e[0];
this.f.remove(Integer.valueOf(grVar.b()));
this.f.put(Integer.valueOf(i), grVar);
}
this.b = i... |
package cn.edu.hebtu.software.sharemate.Fragment;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentTabHost;
import android.util.DisplayMetrics;
import android.view.LayoutInflate... |
package bean;
public class PathAttribute {
private String file;
private String path;
private String attribute;
private boolean hasAttribute;
public PathAttribute(String file, String path, String attribute, boolean hasAttribute) {
this.file = file;
this.path = path;
this.attribute = attribute;
this.hasAt... |
package com.example.dllo.notestudio.DemoTwoFragmentIntent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.RecyclerVi... |
package algorithms;
import java.util.*;
/**
* Created by matie on 2017-05-11.
*/
public class Dijkstra {
public static Graph calculateShortestPath(Graph graph, Node source){
source.setDistance(0);
Set<Node> settledNodes = new HashSet<>();
Set<Node> unsettledNodes = new HashSet<>(); // t... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ogo.spec.game.view;
/**
*
* @author s102877
*/
public class Test {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
Timer t =... |
package br.ufla.lemaf.ti.lemaf4j.formatters;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.Assert.*;
public class CPFFormatterTest {
private CPFFormatter formatterToTest;
private static final String ... |
package sos.services.servlets;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http... |
package com.qy.zgz.kamiduo.widget;
import android.content.Context;
import android.graphics.Rect;
import android.util.AttributeSet;
import android.widget.TextView;
/**
* 自定义TextView实现跑马灯效果
* Created by baochen on 2016/1/25.
*/
public class MyTextView extends TextView {
public MyTextView(Context context) {
... |
package com._1c.g5.v8.project.SimpleLogger;
/**
* Created by sshelomentsev on 09/12/14.
*/
public class LoggerImpl implements Logger {
@Override
public void error(String message) {
//DateTime dt = new DateTime();
//System.out.println("ERROR [" + dt.getMillis() + "] " + message);
Sys... |
package com.mimi.mimigroup.model;
public class SM_OrderDelivery_Sync {
String DeliveryOrderID;
String OrderID;
String TransportCode;
String NumberPlate;
String CarType;
String DeliveryStaff;
Integer DeliveryNum;
String DeliveryDate;
String HandlingStaff;
String HandlingDate;
... |
package communication.wrapper;
import communication.packets.response.DownloadFileResponsePacket;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.http.websocketx.BinaryWebSocketFrame;
imp... |
/*
* Copyright (c) 2018, Lawrence Livermore National Security, LLC. Produced at the Lawrence Livermore National Laboratory
* CODE-743439.
* All rights reserved.
* This file is part of CCT. For details, see https://github.com/LLNL/coda-calibration-tool.
*
* Licensed under the Apache License, Version 2.0 (the “Licensee... |
package vfc.service;
import vfc.domain.EventMember;
public interface EventMemberService {
public EventMember saveEventMember(EventMember eventMember);
public boolean isUserEventExist(int eventid, int userid);
}
|
/**
*
*/
package org.rebioma.server;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.rebioma.client.bean.api.APISigninResponse;
import org.rebioma.cli... |
package com.zhowin.miyou.recommend.callback;
/**
* author : zho
* date :2020/9/28
* desc :更多礼物
*/
public interface OnHomePageMoreGiftListener {
void onSeeMoreItemClick(int position);
}
|
package model;
public class Voo {
private String origem, destino, data, horaSaida, horaChegada;
public Voo(String origem, String destino, String data, String horaSaida, String horaChegada) {
this.origem = origem;
this.destino = destino;
this.data = data;
this.horaSaida = horaSaida;
this.horaCheg... |
package com.bit.myfood.model.enumclass;
import lombok.AllArgsConstructor;
import lombok.Getter;
@Getter
@AllArgsConstructor
public enum OrderType {
ALL(0, "일괄", "일괄 구매"),
EACH(1, "개별", "개별 구매"),
;
private Integer id;
private String title;
private String description;
}
|
package randomBlockPartition;
public class accumulator {
public static enum counter{RESIDUALERROR,ITERATION};
} |
package com.zilker.taxi.bean;
/*
* Distance between the source and the destination.
*/
public class Route {
private int source;
private int destination;
private float distance;
public Route () {}
public Route(int source, int destination, float distance) {
super();
this.source = source;
this.destin... |
package pt.ipbeja.estig.po2.boulderdash.model;
import javafx.scene.image.ImageView;
/**
* @author Tomás Jorge, 20436
* @author Luiz Felhberg, 20347
* @version 15/05/2021
* ----------------------------
*/
public abstract class AbstractPosition extends ImageView {
public AbstractPosition() { }
}
|
package com.lfd.day0126_02_mp3;
interface MusicInterface {
public abstract void play();
public abstract void pause();
} |
package com.cnk.travelogix.product.transport.masters.core.jalo;
import com.cnk.travelogix.product.transport.masters.core.constants.TransportproductmasterscoreConstants;
import de.hybris.platform.jalo.JaloSession;
import de.hybris.platform.jalo.extension.ExtensionManager;
import org.apache.log4j.Logger;
@SuppressWarni... |
package com.jingb.application.ninegag;
import android.content.Context;
import android.util.Log;
import android.widget.BaseAdapter;
import android.widget.Toast;
import com.android.volley.RequestQueue;
import com.android.volley.Response;
import com.android.volley.VolleyError;
import com.android.volley.toolbox.Volley;
i... |
package net.minecraft.client.renderer.culling;
import net.minecraft.util.math.AxisAlignedBB;
public interface ICamera {
boolean isBoundingBoxInFrustum(AxisAlignedBB paramAxisAlignedBB);
void setPosition(double paramDouble1, double paramDouble2, double paramDouble3);
}
/* Location: C:\Users\BSV\A... |
package org.seltak.anubis.modules.combat;
import de.Hero.settings.Setting;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.util.EnumHand;
import org.seltak.anubis.Anubis;
import org.seltak.anubis.module.Category;
im... |
package com.example.win81.bustracker;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
public class MainActivity extends AppCompatActivity {
private ImageView imageView;
private ImageView image... |
package com.ss.android.ugc.aweme.miniapp;
import android.content.Context;
public interface g {
boolean a(Context paramContext, String paramString);
boolean a(String paramString);
}
/* Location: C:\Users\august\Desktop\tik\df_miniapp\classes.jar!\com\ss\androi\\ugc\aweme\miniapp\g.clas... |
package cb;
//Program that reads the grade of a student and returns a statement
public class SwitchStatement {
public static void main(String[] args) {
char x='D';
switch(x) {
case 'A':
System.out.println("Excellent !!!");
break;
case 'B':
case 'C':
System.out.println(... |
package com.andraganoid.playsomemedia.model;
import android.app.Application;
import android.os.AsyncTask;
import androidx.lifecycle.LiveData;
import java.util.List;
public class AudioRepository {
private AudioDao aDao;
private LiveData <List <Audio>> rAllAudios;
public AudioRepository(Application ap... |
package com.ss.android.ugc.aweme.miniapp.g;
import com.ss.android.ugc.aweme.miniapp.MiniAppService;
import com.ss.android.ugc.aweme.miniapp.l.a;
import com.ss.android.ugc.aweme.miniapp.utils.b;
import com.ss.android.ugc.aweme.miniapp_api.a.h;
import com.ss.android.ugc.aweme.miniapp_api.a.q;
import com.ss.androi... |
package com.ifre.util.encrypte;
public class CustomClassTest {
/* public static void main(String[] args) {
IfreClassLoader loader = new IfreClassLoader(Thread.currentThread().getContextClassLoader());
// Thread.currentThread().setContextClassLoader(loader);
try {
Class<?> clazzScoreModelObj ... |
package com.ch.web.gateway.boot;
import com.ch.web.gateway.interceptor.BaseInterceptor;
import com.ch.web.gateway.session.BaseSessionPool;
import com.ch.web.gateway.util.InterceptorRegistryUtil;
import com.google.common.collect.ImmutableList;
import org.springframework.context.ApplicationContext;
import org.springfram... |
package com.example.dllo.notestudio.Tool.VolleyTwicePackge;
import com.android.volley.Request;
import com.android.volley.RequestQueue;
import com.android.volley.Response;
import com.android.volley.VolleyError;
import com.android.volley.toolbox.StringRequest;
import com.android.volley.toolbox.Volley;
import java.util.... |
package com.tencent.mm.plugin.appbrand.jsapi.c;
import com.tencent.mm.plugin.appbrand.e;
import com.tencent.mm.plugin.appbrand.e.b;
import com.tencent.mm.plugin.appbrand.jsapi.c.a.a;
import com.tencent.mm.plugin.appbrand.l;
import com.tencent.mm.sdk.platformtools.x;
class c$2 extends b {
final /* synthetic */ l f... |
package com.hesoyam.pharmacy.pharmacy.dto;
import com.hesoyam.pharmacy.pharmacy.model.Order;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;
public class ShowOrdersDTO {
private Long id;
private LocalDateTime deadLine;
private String pharmacyName;
private List<ShowO... |
package com.qiang.graduation.main.dao;
import com.qiang.graduation.main.entity.Order;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface OrderRepository ex... |
package com.meebu;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.Toast;
public class MainActivity extends BaseActivity {
@Override
protected void onNetworkOn() {
Toast.makeText(this, "ON", Toast.LENGTH_SHORT).show();
... |
/**
* Coppyright (C) 2020 Luvina
* BaseDaoImpl.java, Nov 17, 2020, BuiTienDung
*/
package Manageruser.dao.impl;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import Manageruser.dao.BaseDao;
/**
* @author Bùi Tiến Dũng
*
*/
public class BaseDaoImpl implements BaseDao ... |
package com.tencent.mm.plugin.card;
import com.tencent.mm.kernel.b.f;
import com.tencent.mm.kernel.b.g;
import com.tencent.mm.kernel.c.e;
import com.tencent.mm.model.p;
import com.tencent.mm.plugin.card.a.a;
import com.tencent.mm.plugin.card.c.b;
import com.tencent.mm.plugin.card.model.am;
public class PluginCard ext... |
package arrayVisitors.util;
/**
* Defines methods to print results on StdOut
*
* @author Rohit Mahendra Dhuri
*/
public interface StdoutDisplayInterface {
/**
* Writes to the console
*/
void writeToStdout();
} |
/**
* @author I077988
*/
package com.cnk.travelogix.suppliers.air.converter;
import java.util.ArrayList;
import java.util.List;
import org.opentravel.ota._2003._05.ActionType;
import org.opentravel.ota._2003._05.AirItineraryType;
import org.opentravel.ota._2003._05.AirItineraryType.OriginDestinationOptions;
import ... |
package cn.sharp.android.ncr;
public class MessageId {
private final static int INTERVAL = 1000;
public final static int NAMECARD_REC_SUCCESS = 0;
public final static int NAMECARD_REC_FAILURE = NAMECARD_REC_SUCCESS
+ INTERVAL;
// public final static int DECODE_IMAGE_DATA_SUCCESS = 1;
// public final static in... |
package com.qd.mystudy.helloworld;
/**
* Created by liqingdong911 on 2014/12/15.
*/
public class HelloWorldRuning {
public static volatile boolean isRunning = false;
public static Thread thread = null;
public static void start(){
thread = new Thread(new Runnable() {
@Overr... |
package com.example.lenovo.medleybranch;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import androidx.fragment.app.... |
package logic;
/**
* The DamageType enum represents different types of damage from different {@link entity.tower.base.Tower Towers}.
*/
public enum DamageType {
/**
* The damage dealt by {@link entity.tower.MachineGunTower Machine Gun Towers}.
*/
MG,
/**
* The damage dealt by {@link entit... |
package com.mideas.rpg.v2.game.spell.list;
import com.mideas.rpg.v2.Sprites;
import com.mideas.rpg.v2.game.spell.Spell;
public class ShadowBolt extends Spell {
private static int cd;
public ShadowBolt() {
super(4000, 4000, 2000, 0, 0, 0, 3, 0, 903);
name = "ShadowBolt";
sprite = Sprites.spell_shadow_bolt;
... |
package io.github.Theray070696.raycore.block;
import io.github.Theray070696.raycore.RayCore;
import io.github.Theray070696.raycore.item.ItemModelProvider;
import net.minecraft.block.Block;
import net.minecraft.block.BlockContainer;
import net.minecraft.block.SoundType;
import net.minecraft.block.material.Material;
imp... |
package leetcode_arrays_strings;
import java.io.File;
import java.io.IOException;
import java.util.Arrays;
import java.util.Scanner;
import random_generator.Random_String;
/**
* Question 561: Array Partition I -- Given an array of 2n integers, your task
* is to group these integers into n pairs of integer, say (a1... |
package com.rastiehaiev.notebook.test.condition;
/**
* @author Roman Rastiehaiev
* Created on 13.10.15.
*/
public interface ICondition {
boolean isTrue();
}
|
package com.application.university.model;
import java.util.List;
public class Student extends Person {
private List<Course> courses;
public Student(String firstName, String lastName, int age, List<Course> courses) {
super(firstName, lastName, age);
this.courses = courses;
}
public List<Course> getCourses()... |
package controller.command.impl;
import controller.command.Command;
import controller.constants.FrontConstants;
import controller.exception.ServiceLayerException;
import controller.service.RouteService;
import controller.service.ServiceFactory;
import controller.service.impl.ServiceFactoryImpl;
import controller.const... |
/*
* UniTime 3.2 - 3.5 (University Timetabling Application)
* Copyright (C) 2008 - 2013, UniTime LLC, and individual contributors
* as indicated by the @authors tag.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* ... |
package com.legalzoom.api.test.dto;
/**
*
hmaheshwari
Jan 6, 2016
3:30:43 PM
*/
public class CreateSignInDTO implements DTO {
private SignInDTO signin;
private String message;
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
public Si... |
package com.smxknife.java.ex4.innerstatic;
import java.util.LinkedList;
import java.util.List;
public class StaticMain {
public static void main(String[] args) {
List<Integer> list = new LinkedList<>();
((LinkedList<Integer>) list).addFirst(1);
}
}
|
package com.enat.sharemanagement.security.user;
import com.enat.sharemanagement.security.role.RoleDTO;
import lombok.Data;
import java.io.Serializable;
import java.util.List;
@Data
public class UserResponseDTO implements Serializable {
private long id;
private String username;
private String fullName;
... |
package com.charlieworld.springboot.controller;
import com.charlieworld.springboot.dto.UserDto;
import com.charlieworld.springboot.entity.User;
import com.charlieworld.springboot.repository.UserRepository;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.sprin... |
package com.tencent.mm.plugin.voip.ui;
import android.content.Intent;
import com.tencent.mm.pluginsdk.permission.RequestFloatWindowPermissionDialog;
import com.tencent.mm.pluginsdk.permission.RequestFloatWindowPermissionDialog.a;
class g$1 implements a {
final /* synthetic */ a oSQ;
final /* synthetic */ g oS... |
/*
* Copyright (c) 2017. Universidad Politecnica de Madrid
*
* @author Badenes Olmedo, Carlos <cbadenes@fi.upm.es>
*
*/
package org.librairy.modeler.lda.graph;
import com.google.common.primitives.Doubles;
import es.cbadenes.lab.test.IntegrationTest;
import org.apache.spark.api.java.JavaRDD;
import org.apache.spa... |
lass Solution {
public int[] sortedSquares(int[] A) {
int negative_count = 0;
while(negative_count < A.length && A[negative_count] < 0) {
negative_count++;
}
int j = negative_count;
int i = negative_count - 1;
int t = 0;
... |
package com.zhcw.analysisdata.base;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.view.Window;
import android.view.WindowManager;
/**
* Created by YangChun .
* on 2017/3/6.
*/
public abstract class BaseActivity extends FragmentActivity {
@Override
protected void... |
package javabasico.aula15labs;
import java.util.Scanner;
/**
* @author Kim Tsunoda
* Objetivo Faca um Programa que peça dois números e imprima o maior deles.
*
*/
public class Exercicio01 {
public static void main(String[] args) {
Scanner scan = new Scanner (System.in);
System.out.pri... |
package collisionengine;
import java.lang.String;
public class CollisionEngine
{
public CollisionEngine(int xdim, int ydim, int zdim)
{
environment = new int[xdim][ydim][zdim];
}
int[][][] environment;
int[] objectNumbers;
String[] objectNames;
ThreeDObjects ThreeDobjs... |
package com.webcloud.func.template;
import java.io.IOException;
import java.io.InputStream;
import java.util.Calendar;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.graphics.Bi... |
package day14_methods_Part2;
public class lab3 {
public static void main(String[] args) {
specialEleven(35);
}
public static void specialEleven(int x) {
if(x%11==0 || x%11==1) {
System.out.println("this number is special of 11");
}else {
System.out.println("this number is not special to 11");
}
}... |
/*
* Copyright (C) 2013 Square, Inc.
*
* 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 agree... |
package com.jhon.rain.mapper;
import com.jhon.rain.entity.SysLog;
import com.jhon.rain.entity.SysLogWithBLOBs;
public interface SysLogMapper {
int deleteByPrimaryKey(Integer id);
int insert(SysLogWithBLOBs record);
int insertSelective(SysLogWithBLOBs record);
SysLogWithBLOBs selectByPrimaryKey(Inte... |
package pers.pbyang.entity;
public class MapData {
private int mid;
private String country;
private double area;
private double pop;
private double allgdp;
private double avegdp;
public int getMid() {
return mid;
}
public void setMid(int mid) {
this.mid = mid;
}
public String getCountry() {
return c... |
package info_2_ex_8;
import java.util.GregorianCalendar;
/**
* The main part of the calculator doing the calculations.
*
* @author David J. Barnes and Michael Kolling
* @version 2008.03.30
*/
public class CalcEngine {
// The calculator's state is maintained in three fields:
// buildingDisplayValue, haveLeftOp... |
package com.qd.mystudy.spring;
/**
* Created by tony on 7/19/15.
*/
public interface Sleepable {
void sleep();
}
|
package com.gauro.rabbitmqexceptiondlx.bootstrap;
import com.gauro.rabbitmqexceptiondlx.domain.Picture;
import com.gauro.rabbitmqexceptiondlx.producer.MyPictureProducer;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;
import java.ut... |
package com.example.Classes;
/**
* Created by Taylor on 7/22/2016.
*/
public class Address {
private String building;
private Coordinate coord;
private String street;
int zipcode;
public Address(String building, Coordinate coord, String street) {
this.building = building;
this.co... |
package com.zemal.util;
import com.alibaba.fastjson.JSONObject;
import java.lang.reflect.Type;
public class JsonUtil {
public static String object2JsonString(Object obj){
return JSONObject.toJSONString(obj);
}
public static <T> T jsonString2Object(String jsonString, Type type){
return J... |
package EightOhOne;
public class Q3 {
public static void line(){
for (int i = 0; i < 10; i++) {
System.out.print("*");
}
}
public static void line(int n){
for (int i = 0; i < n; i++) {
System.out.print("*");
}
}
public static void line(int n,char c){
for (int i = 0; i < n;... |
package com.fleet.shiro.controller;
import com.fleet.shiro.json.R;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.apache.shiro.authz.annotation.RequiresRoles;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.spr... |
package kodlamaio.hrms.entities.concretes.dto;
import java.time.LocalDate;
import kodlamaio.hrms.entities.concretes.Cv;
import kodlamaio.hrms.entities.concretes.CvSchool;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class C... |
package net.chrisrichardson.eventstore.examples.customersandorders.order;
import io.eventuate.EntityWithIdAndVersion;
import net.chrisrichardson.eventstore.examples.customersandorders.common.domain.Money;
import java.util.concurrent.CompletableFuture;
public interface OrderService {
CompletableFuture<EntityWith... |
package assemAssist.model.exceptions;
/**
* Thrown to indicate that a method has been passed an illegal deadline as
* argument.
*
* @author SWOP Group 3
* @version 3.0
*/
public class IllegalDeadlineException extends IllegalArgumentException {
/**
* Initialises an IllegalDeadlineException with no detail me... |
package it.unirc.pwm.eureca.action.support;
import java.util.Map;
import org.apache.struts2.interceptor.SessionAware;
import com.opensymphony.xwork2.ActionSupport;
import com.sun.org.apache.xml.internal.utils.LocaleUtility;
public class CambiaLingua extends ActionSupport implements SessionAware{
priv... |
package com.herz.sockets.game.client.constants;
public class Strings {
public static final String BUTTON_GUESS = "Guess?";
public static final String APP_NAME = "Game v0.1";
public static final String CONNECTING_TO_SERVER = "Connecting . . . . . . ";
public static final String WELCOME =
"We... |
package com.tencent.mm.plugin.wxpay;
public final class a$g {
public static final int aa_entrance_ui = 2130903040;
public static final int aa_large_footer = 2130903041;
public static final int aa_query_list_item = 2130903042;
public static final int aa_query_list_ui = 2130903043;
public static fina... |
// lingxu-bu 凌虚步
inherit SKILL;
mapping *action = ({
([ "action" : "$n一式「雪地莲花」,身子掣忽一转,$N只觉的眼前一花,失去了目
标。\n",
"dodge" : 40
]),
([ "action" : "$n一式「一狐冲天」,双脚点地,身子突然拔高了丈许,缓缓飘落在
$N身后。\n",
"dodge" : 60
]),
([ "action" : "$n一式「移行幻影」,身行一晃,顿时无数条身影一下子出现在$N的
面前。\n",
"dodge" : 80
]),
([ ... |
package com.example.appframework.http.request;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.core.MethodParameter;
import org.springframework.web.bind.support.WebArgumentResolver;
import org.springframework.web.bind.support.WebDataBinderFactory;
import org.springframework.web.context.r... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package cz.mutabene.controller.admin;
import cz.mutabene.model.entity.UserRoleEntity;
import cz.mutabene.model.form.admin.UserRoleAddForm;
import cz.mutabene.model.form.admin.UserRoleEditForm;
import cz.mutabene.model.f... |
package mg.egg.eggc.compiler.libegg.type;
import java.util.Vector;
/**
* La classe DTypeClasse implémente le type classe.
* Le type classe est représenté par le nom de la classe, ainsi qu'un lien vers
* une interface dans la hiérarchie des classes.
*
* @author CD2005
* @see DInterface
*/
public class TClasse i... |
package net.hamnaberg.jsonstat.generator;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
import net.hamnaberg.jsonstat.generator.model.Dataset;
import net.hamnaberg.jsonstat.generator.model.Dimen... |
package com.ssgmail.shubhammsoni.materialapp;
import android.app.ProgressDialog;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.design.widget.FloatingActionButton;
import android.support.v4.app.Fragment;
import android.text.TextUtils;
import android.view.LayoutInflater;
imp... |
/*
* Copyright (C) 2014 - 2015 Marko Salmela, http://fuusio.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 ... |
/*
* Copyright: (c) 2004-2011 Mayo Foundation for Medical Education and
* Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the
* triple-shield Mayo logo are trademarks and service marks of MFMER.
*
* Except as contained in the copyright notice above, or as used to identify
* MFMER as the auth... |
package b4a.example.designerscripts;
import anywheresoftware.b4a.objects.TextViewWrapper;
import anywheresoftware.b4a.objects.ImageViewWrapper;
import anywheresoftware.b4a.BA;
public class LS_detailinform{
public static void LS_general(java.util.LinkedHashMap<String, anywheresoftware.b4a.keywords.LayoutBuilder.ViewW... |
package com.example.yudipratistha.dompetku;
import android.app.ActionBar;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.design.widget.FloatingActionButton;
import android.support.v4.app.Fragment;
im... |
package category.arraysandstring;
public class PoorPigs {
public int poorPigs(int buckets, int minutesToDie, int minutesToTest) {
if(buckets <= 1 || minutesToDie <= 0 || minutesToTest <= 0) return 0;
int pigs = 1, num = 1;
int factor = (minutesToTest / minutesToDie) + 1;
w... |
package com.sunyd.service;
import com.sunyd.common.exception.DefaultException;
import com.sunyd.common.exception.ExceptionStatus;
import com.sunyd.dao.MySqlDB;
import lombok.Data;
import lombok.ToString;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.spring... |
package reports;
import algo.CSRMatrix;
import algo.ISOR;
import algo.SOR;
import org.junit.Test;
import util.Common;
import util.MatrixCreator;
/**
* Created by anthony on 20.01.17.
*/
public class SORReportTest {
@Test
public void test() {
int size = 100;
int density = 5;
CSRMat... |
package br.uff.ic.provmonitor.output;
/**
* ProvMonitor output types supported by {@link ProvMonitorOutputManager}.
* @see ProvMonitorOutputManager
* @author Vitor C. Neves - vcneves@ic.uff.br
*/
public enum ProvMonitorOutputType {
CONSOLE("CONSOLE","CONSOLE"),
FILE("FILE","FILE");
private String code;
pri... |
package com.techlab.case1;
public class Foo {
@RequireRefacatoring
public void m1() {
System.out.println("This is method1");
}
@RequireRefacatoring
public void m2() {
System.out.println("This is method2");
}
public void m3() {
System.out.println("This is method3");
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.