text
stringlengths
10
2.72M
public enum Classe { Aerobic, Steps, Ioga }
package com.git.cloud.resmgt.common.model.po; import java.util.List; import com.git.cloud.common.model.base.BaseBO; import com.git.cloud.resmgt.compute.model.po.RmClusterPo; public class RmResPoolPo extends BaseBO implements java.io.Serializable{ // Fields /** * */ private static final long...
import java.util.ArrayList; import java.util.Calendar; import java.util.Date; public class Customer extends Account { private double balance; private Date birthday; private ArrayList<TrolleyItem> shoppingTrolley; private Membership member; public Customer(String userID, String password, String name, Date birthda...
package adcar.com.adcar; import android.app.IntentService; import android.content.Intent; import android.content.Context; import android.location.Location; import android.os.Looper; import android.util.Log; import adcar.com.handler.CoordinatesHandler; /** * An {@link IntentService} subclass for handling asynchronou...
package com.springbook.biz.common; import org.aopalliance.intercept.Joinpoint; import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.Before; import org.aspectj.lang.annotation.Pointcut; import org.springframework.context.annotation.Bean; import org.springframework.stereotype.Service; @Service ...
package com.huffingtonpost.chronos.agent; import java.util.concurrent.atomic.AtomicLong; import com.huffingtonpost.chronos.model.SupportedDriver; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeInfo; im...
package com.raiff.SolarisApp; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class SolarisAppApplication { public static void main(String[] args) { SpringApplication.run(SolarisAppApplication.class, args); } }...
package com.esum.framework.jms.topic; import javax.jms.JMSException; import javax.jms.Message; import javax.jms.MessageListener; import javax.jms.MessageProducer; import javax.jms.Session; import javax.jms.TextMessage; import org.apache.log4j.PropertyConfigurator; import org.junit.Before; import org.junit.Test; impo...
package com.show.comm.mybatis; import java.io.Serializable; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import com.fasterxml.jackson.annotation.JsonIgnore; /** * 分页数据对象 * * <pre> * 使用Paging执行分页查询(PagingInterceptor)务必保证: * 1、SQL中字段、表名不能包含...
package com.example.herokuexample.controllers; import com.example.herokuexample.persons.Person; import com.example.herokuexample.persons.PersonsRepository; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import com.google.gson.JsonSyntaxException; import org.springframework.beans.factory.annotati...
package edu.nyu.cs9053.homework4.hierarchy; public abstract class FreshWater extends BodyOfWater { private final double isSalty; public FreshWater(String name, double volume, double isSalty) { super(name, volume); this.isSalty = isSalty; } public double getIsSalty() { ...
package mx.jovannypcg.shortener.links; import android.app.ProgressDialog; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.widget.ArrayAdapter; import android.widget.ListView; import android.widget.Toast; import java.util.ArrayList; import java.u...
package com.kywpcm.DaQ; import java.util.Scanner; public class P1074_DY { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int r = sc.nextInt(); int c = sc.nextInt(); int sum=0; such(n, r, c, sum); } p...
package LimpBiscuit.Demo.Entity; import javax.persistence.*; @Entity @Table(uniqueConstraints = @UniqueConstraint(columnNames = {"name", "family"})) public class RequestOperatingSystem { @Id @GeneratedValue(strategy = GenerationType.SEQUENCE) private Integer id; private String name; private String...
package net.imglib2.view.ijmeta; import net.imglib2.transform.integer.Mixed; import net.imglib2.view.meta.MetaSpace; import net.imglib2.view.meta.MetaSpaceView; public class IjMetaSpaceView extends MetaSpaceView< IjMetaSpace, MetaDataSet > implements IjMetaSpace { public IjMetaSpaceView( final IjMetaSpace source, fi...
package EEV_v3; import java.net.PasswordAuthentication; import java.util.ArrayList; import java.util.Arrays; import java.util.Random; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.uti...
/** */ package CFG.util; import CFG.*; import org.eclipse.emf.common.notify.Adapter; import org.eclipse.emf.common.notify.Notifier; import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; import org.eclipse.emf.ecore.EObject; /** * <!-- begin-user-doc --> * The <b>Adapter Factory</b> for th...
package com.zzping.fix.mapper; import java.util.List; import com.zzping.fix.entity.FixDorm; import com.zzping.fix.entity.FixDormCriteria; import com.zzping.fix.model.FixDormModel; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; @Mapper public interface FixDormMapper { lon...
package util; /** * Created by Mitchell on 20-May-17. * Used for containing individual Moves within a @MoveSet.java */ public class MoveKey { private final int key; public MoveKey(int id) { this.key = id; } public MoveKey(MoveKey mK) { this.key = mK.getKey(); } public int g...
/* * Copyright 2002-2018 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 factoring.math; import org.junit.Test; /** * Created by Thilo Harich on 08.01.2018. */ public class SqrtTest { private static final long bit61 = 1l<<61; private static final long bit52 = 1l<<52; private static final double ONE_HALF = 1.0 / 2; private static final double BALANCE = 1.0 / 2.03; double []...
package com.example.table; import android.os.Parcel; import android.os.Parcelable; import com.example.table.ActionFunctional.TimeInterval; import java.util.ArrayList; public class Day implements Parcelable { private ArrayList<TimeInterval> intervals; Day() { intervals = new ArrayList<>(); ...
package io.qtechdigital.onlineTutoring.dto.user.request; import lombok.Getter; import lombok.Setter; import java.util.List; @Getter @Setter public class UserUpdateDto { private String username; private String firstName; private String lastName; private String password; private List<Long> roleIds;...
package Client; import Server.Login; import Server.LoginServer; import Server.Server; import util.*; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import java.util.concurrent.CopyOnWriteArrayL...
package com.example.demo1.shoppingcart.fragment; import android.content.Context; import android.graphics.Color; import android.util.Log; import android.view.View; import android.widget.TextView; import com.example.demo1.base.BaseFragment; public class ShoppingcartFragment extends BaseFragment { private TextView te...
public class Tools { public Tools() { } public void displayVector(int[] v) { for (int i = 0; i < v.length; i++) { System.out.print(v[i] + "\t"); } System.out.println(); } }
package cc.anjun.wechat.domain.res; import cc.anjun.wechat.domain.BaseMessage; public class ImageMessage extends BaseMessage { private Image Image;//Image节点 public Image getImage() { return Image; } public void setImage(Image image) { Image = image; } }
package br.crud.spring.model; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; import org.hibernate.annotations.GenericGenerator; //passando o nome da tabela, dentro do banco, pess...
import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; public class MyServer { ServerSocket socket; Socket client_socket; private int port; int client_id = 0; UtenteList Ulist = new UtenteList(); TavoloList TList = new TavoloList(); PiattoList PList = new Piatto...
package com.beike.action.coupon; import java.io.IOException; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; ...
package io.nuls.provider.rpctools; import io.nuls.base.api.provider.Result; import io.nuls.core.core.annotation.Component; import io.nuls.core.exception.NulsRuntimeException; import java.util.Map; import java.util.function.Function; @Component public class CommonTools implements CallRpc { public Result commonR...
package com.wx.dubbo.api.service; import com.wx.dubbo.api.domain.User; import java.util.List; public interface UserService { User findUser(int id); List<User> listUsers(); User findUserByName(String name); }
package yblast; public class CreateRandomArray { }
package com.openfarmanager.android.adapters; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import com.openfarmanager.android.App; import com.openfarmanager.android.model.TextBuffer; import com.openfarmanager.android.view.SearchableEditText; import com.openfarmanager.androi...
package innerclasses; public class Externa { public void method() { } }
package com.spring.service; import java.util.List; import com.news.pojo.Topic; /** * 新闻主题的服务接口 * @author yin * */ public interface TopicServices { /** * 获取全部的新闻主题列表 * @return * @throws Exception */ public List<Topic> getAllTopic(); }
package com.scc.jellyfish6.atm; import android.content.SharedPreferences; import android.os.Bundle; import android.support.v7.app.AlertDialog; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.EditText; import android.widget.Toast; public class LoginActivity extends AppC...
package org.carpark.transaction; /** A Car Park Transaction. @author Ross Huggett */ public class TransactionFactory { /** The ThreadGroup for Transaction Factory. */ private static ThreadGroup tGroup; /** Transaction counter.Counting Threads in a ThreadGroup is only an estimate. */ private static int c...
package com.chenqk.springmvc.util; import java.util.List; public class StationEntity { private String colltime; private List<Station> stationList; private List<List<String>> apList; private List<List<Double>> rssiList; private List<String> collTimeList; public List<List<String>> getApList() { r...
package com.mindstatus.phy; public class PhysiologyCycle { private double physical; private double feeling; private double intelligence; private long lifeDays; public long getLifeDays() { return lifeDays; } public void setLifeDays(long lifeDays) { this.lifeDays = lifeDays; } ...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; import java.math.RoundingMode; import java.text.DecimalFormat; public class fairShare { private static DecimalFormat df = new DecimalFormat("0.00"); static int w; ...
package com.foodaholic.asyncTask; import android.os.AsyncTask; import com.foodaholic.interfaces.OfferAndPromotionListener; import com.foodaholic.items.ItemOfferAndPromotion; import com.foodaholic.items.ItemRestaurant; import com.foodaholic.utils.Constant; import com.foodaholic.utils.JsonUtils; import org.json.JSONAr...
package com.alibaba.dubbo.config.spring.schema; import com.alibaba.dubbo.common.Version; import com.alibaba.dubbo.config.*; import com.alibaba.dubbo.config.spring.ReferenceBean; import com.alibaba.dubbo.config.spring.ServiceBean; import org.springframework.beans.factory.xml.NamespaceHandlerSupport; public cla...
package com.daexsys.automata.gui; import com.daexsys.automata.gui.listeners.KeyboardHandler; import java.awt.event.KeyEvent; public class Offsets { private int offsetX = 0; private int offsetY = 0; private GUI gui; public Offsets(GUI gui) { this.gui = gui; } public int getOffsetX(...
package com.lenovohit.ssm.payment.model; import java.util.Date; import javax.persistence.Entity; import javax.persistence.Table; import com.lenovohit.core.model.BaseIdModel; @Entity @Table(name="SSM_PAY_CHANNEL") public class PayChannel extends BaseIdModel{ private static final long serialVersionUID = -6376593015...
package com.metoo.modul.app.game.manager.tree; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.nutz.json.Json; import org.sprin...
package com.bike_rental_style.model; import java.sql.*; import java.util.ArrayList; import java.util.List; import com.util.JNDI_DataSource; public class Bike_rental_styleJNDIDAO implements Bike_rental_styleDAO_interface { private static final String FIND_BY_PK = "SELECT bk_rt_no, bike_sty_no FROM BIKE_RENTAL_STYLE...
package com.gxtc.huchuan.ui.circle.home; import android.Manifest; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.support.v7.app.AlertDialog; import android.text.Editable; import android.text.TextUtils; import android.text.TextWatcher; import android.view.View; import an...
package com.wd.news; public class textone { }
package com.eegeo.mapapi.services.tag; import androidx.annotation.UiThread; import com.eegeo.mapapi.util.Promise; /** * A service which allows you to resolve PoiSearchResult.tags to matching icons and descriptions. * * The search tag data is defined in https://github.com/wrld3d/wrld-icon-tools/blob/master/data/se...
package org.wso2.carbon.identity.user.endpoint.dto; import io.swagger.annotations.*; import com.fasterxml.jackson.annotation.*; import javax.validation.constraints.NotNull; @ApiModel(description = "") public class UserSearchEntryDTO { private String username = null; private String userId = n...
package f.star.iota.milk.ui.gamersky.gamer; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.ViewGroup; import f.star.iota.milk.R; import f.star.iota.milk.base.BaseAdapter; public class GamerSkyAdapter extends BaseAdapter<GamerSkyViewHolder, GamerSkyBean> { ...
package com.ubuntu4u.ubuntu4u.ubuntu4u_client.fragments; import android.Manifest; import android.app.ProgressDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.pm.PackageManager; import android.database.Cursor; import android.database.s...
/* * Copyright 2002-2023 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 com.example.navigator; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.fragment.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.google.android.gms.maps.CameraUpdateFactor...
package model; import java.util.Date; public class Aluguel { private Integer idAluguel; private Date dataRetirada; private Date dataDevolucao; private double valorPagar; private Date dataEntrega; private int diasAtrasados; private double valorPago; private EnumTipoPagamento tipoPagame...
package com.cigc.limit.domain; import org.springframework.jdbc.core.RowMapper; import org.springframework.lang.Nullable; import java.sql.ResultSet; import java.sql.SQLException; /** * Created by Administrator on 2018/7/2 0002. */ public class LocationMapper implements RowMapper<Location> { @Nullable @Over...
// https://leetcode.com/problems/divisor-game/ // #math #dynamic-programming class Solution { public boolean divisorGame(int n) { /* dp[n] = true/false true: start with n, the first player always wins false: start with n, always loses dp[1] = false dp[2] = true ...
package com.jstf.tests; import org.junit.AfterClass; import org.junit.BeforeClass; import com.jstf.main.JSTF; import com.jstf.selenium.JAssert; import com.jstf.selenium.JDriver; public abstract class BaseTest { protected final static String homepageUrl = "https://github.com/"; protected JDriver jDriver; protected...
package com.memory.platform.modules.system.base.dao; import com.memory.platform.hibernate4.dao.IBaseDao; import com.memory.platform.modules.system.base.model.SystemDept; /** * @author * * @param <T> * 模型 */ public interface ISystemDeptDao extends IBaseDao<SystemDept> { }
/* * @(#)ConsoleChatClient.java 1.01 09/06/99 * */ package org.google.code.netapps.chat; import java.io.*; import org.google.code.netapps.chat.primitive.*; import org.google.code.netapps.chat.basic.*; import org.google.code.netapps.chat.event.*; import org.google.code.servant.net.Client; import org.g...
package com.operacloud.pages; import java.io.IOException; import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.JavascriptExecutor; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.interactions.Actions; import o...
/** * 多数元素 https://leetcode-cn.com/problems/majority-element/description/ */ public class 多数元素 { public int majorityElementVote(int[] nums) { int count=0; int candidate=0; for (int i:nums){ if(count==0){ candidate=i; } count+=candidate==...
package com.test.search2; import java.util.ArrayList; import java.util.List; import com.test.base.TreeNode; /** * . 二叉树,插入,允许重复数据 * @author YLine * * 2019年3月14日 上午11:30:01 */ public class SolutionSearch2Insert { public static final int LEFT = 0; public static final int RIGHT = 1; /** ...
package render; import java.awt.Rectangle; import java.util.ArrayList; import java.util.Collections; import world.Map; import world.Worldhandler; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.Texture.TextureFilter; impo...
package com.example.CSVLoader; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStreamReader; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.sql.SQLException; import java.text.DateFormat; ...
/* * Copyright 2002-2022 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 com.example.mathpractice; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; public class LaunchActivity extends AppCompatActivity { private Button additionBtn; private Button subtractionBtn...
package org.obiz.sdtd.tool.rgwmap; import javax.swing.*; import java.awt.*; import java.awt.image.BufferedImage; import java.io.IOException; import java.io.PrintWriter; import java.net.URISyntaxException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.Map; public c...
package com.arthur.leetcode; /** * @title: No1734 * @Author ArthurJi * @Date: 2021/5/11 11:47 * @Version 1.0 */ public class No1734 { public static void main(String[] args) { } public int[] decode(int[] encoded) { int n = encoded.length; int[] ans = new int[n + 1]; int a = 0;...
package com.sinoway.sinowayCrawer.mapper; import java.util.List; import java.util.Map; import org.springframework.stereotype.Component; import com.sinoway.sinowayCrawer.entitys.UserInfo; @Component("userInfoMapper") public interface UserInfoMapper { List<UserInfo> selectUserByCondition(Map<S...
/* * Copyright 2002-2023 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 com.student.registration.entity; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.*; import javax.persistence.*; import java.io.Serializable; import java.util.HashSet; import java.util.Set; @Entity @Table(name = "STUDENT") @AllArgsConstructor @NoArgsConstructor @EqualsAndHashCode @...
public class ImplementStackUsingArrays { int size; int arr[]; int top; ImplementStackUsingArrays(int size) { this.size = size; this.arr = new int[size]; this.top = -1; } // push function public void push(int x) { if(!isFull()) { top++; ...
import org.cruise.model.Position; import org.cruise.model.User; import org.cruise.repositories.UserRepository; import org.cruise.service.PositionService; import org.cruise.service.PreachService; import org.cruise.service.UserService; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.bea...
package com.fmi.decorator; public abstract class AShapeDecorator implements IShape { public final IShape shape; public AShapeDecorator(final IShape shapeArg) { this.shape = shapeArg; } }
package com.alura.dto; import lombok.AllArgsConstructor; import lombok.Data; @Data @AllArgsConstructor public class ErroDeFormularioDto { private String campo; private String erro; }
package pipline; import org.junit.Test; import pipeline.filter.EqualPredicate; import pipeline.filter.PipelineFilter; import pipeline.messages.SimpleMessage; import pipeline.processing.PipelineProcessor; import pipeline.processing.PipelineSum; public class PipelineTests { PipelineProcessor _filter; PipelinePr...
package com.example.basicCalculator; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; public class MainActivity extends AppCompatActivity { Button b1; int op= 1; EditText v1,v2,r; @Overr...
package com.example.ayuth.androidpresentationremoteclient; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; import com.github.nkzawa.emitter.Emitter; ...
package org.viqueen.java.datastream; import java.io.DataInputStream; import java.io.IOException; import java.lang.annotation.Annotation; import java.util.Collection; import java.util.Optional; import java.util.Set; public class PrimitiveDataStreamCodec implements DataStreamCodec { private final Set<Class<?>> typ...
package de.varylab.discreteconformal.convergence; import static de.varylab.discreteconformal.util.DiscreteEllipticUtility.generateEllipticImage; import java.io.FileOutputStream; import java.util.HashSet; import java.util.Map; import java.util.Set; import java.util.logging.Level; import java.util.logging.Logg...
package com.igs.qhrzlc.utils; /** * 类描述: * 创建人:heliang * 创建时间:2015/12/3 16:39 * 修改人:8153 * 修改时间:2015/12/3 16:39 * 修改备注: */ public final class ActivityCode { public static final String FROM_PAGE = "fromPage"; public static final int DEFAULT_RESULT_PAGE = -1; }
package sonar.minimodem; import java.io.*; import org.apache.commons.codec.binary.Base32InputStream; public class BufferedReceiver extends InputStream { private Base32InputStream innerReader; private Process rxHandle; public BufferedReceiver(MinimodemReceiver rx) throws IOException { this.rxHandle = rx.in...
package Players.Engines; public class Boogeyman extends BattleshipEngine { @Override public void placeShip(int shipIndex) { } @Override public String fireASalvo() { return null; } }//end of class
package jnouse; import jalgo.StudentTest; import java.util.ArrayList; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; import javax.swing.JOptionPane; import jclient.VideoFile; import jmckoi.MatrixRetrieve; import Jama.Matrix; public class ChiSquareTest { /** * Signific...
package top.aldrinLake.Service; public interface ExcelServe { /** * 文件下载次数自增 */ public void addDownloadNum(int id); /** * @view 把文件名存入数据库 */ public void storeFilePath(String filePath); /** * @view 获取excel表的所有数据 */ public String getExcelInfo(int page); }
package basePage; import pageObjects.RandomDateGenerator; public class BasePage { public RandomDateGenerator rdgPgObj = new RandomDateGenerator(); }
/****************************************************************************** * __ * * <-----/@@\-----> * * <-< < \\// > >-> * ...
package org.legital.roommanagement.domain; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; @Entity public class Course { @Id @GeneratedValue(strategy = GenerationType.AUTO) private Long id; private String ...
/* * Copyright © 2020-2022 ForgeRock AS (obst@forgerock.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...
package tw.iii.ed.mydatastorage; import android.Manifest; import android.content.SharedPreferences; import android.content.pm.PackageManager; import android.os.Environment; import android.support.annotation.NonNull; import android.support.v4.app.ActivityCompat; import android.support.v4.content.ContextCompat; import a...
package de.wiltherr.ws2812fx; import java.util.List; import java.util.Set; public interface WS2812FX { int SPEED_MIN = 10; int SPEED_MAX = 65535; int BRIGHTNESS_MIN = 0; int BRIGHTNESS_MAX = 255; int MAX_NUM_SEGMENTS = 10; int COLORS_PER_SEGMENT = 3; void setBrightness(int brightness) th...
package circuits; import java.lang.StringBuilder; public abstract class Gate { protected Gate[] inGates; public Gate(Gate[] inGates) { this.inGates = inGates; } public boolean calc() throws CircuitException{ boolean []inValues = null; if(inGates != null) { inValues= new boolean[inGates.length]; fo...
package utilidades.annotations; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; @Retention(RetentionPolicy.RUNTIME) public @interface Sort { public boolean value() default true; }
import java.io.IOException; import java.nio.ByteBuffer; import java.nio.channels.SocketChannel; import java.util.HashSet; import java.util.Iterator; import java.util.Set; /** * Created by Yohann on 2016/10/8. */ public class ConnPool { //保存需要维护的通道 private Set<SocketChannel> channelSet; private Iterator<S...
package com.sunjob.yudioj_springboot_framemark.vo; public class ComplieProcess { public enum result{ CompileError , CompileSucess , CompileTimeout //编译成功 编译失败 编译超时 } private result type; public result getType() { return type; } public void setType(result type) { this.t...
package cn.xuetang.common.config; import cn.xuetang.common.action.BaseAction; import cn.xuetang.modules.app.bean.App_info; import cn.xuetang.modules.sys.bean.Sys_config; import org.nutz.dao.Cnd; import org.nutz.dao.Dao; import org.nutz.dao.Sqls; import org.nutz.filepool.FilePool; import org.nutz.log.Log; import org.nu...
package ru.itmo.ctlab.sgmwcs; import ru.itmo.ctlab.sgmwcs.graph.Edge; import ru.itmo.ctlab.sgmwcs.graph.Graph; import ru.itmo.ctlab.sgmwcs.graph.Node; import ru.itmo.ctlab.sgmwcs.graph.Unit; import ru.itmo.ctlab.sgmwcs.solver.Solver; import ru.itmo.ctlab.sgmwcs.solver.SolverException; import java.util.*; import stat...
package com.github.andrelugomes.v2.domain; import com.github.andrelugomes.v2.domain.usecase.indexing.gateway.EventParserGateway; import com.github.andrelugomes.v2.domain.usecase.indexing.entity.Event; import com.github.andrelugomes.v2.infrastructure.adapter.GsonEventParserAdapter; import com.github.andrelugomes.v2.inf...