text stringlengths 7 1.01M |
|---|
package synergyviewcore.timebar.action;
import de.jaret.util.ui.timebars.swt.TimeBarViewer;
/**
* The Class ViewPropertyAction.
*/
public class ViewPropertyAction extends BaseTimeBarAction {
/**
* Instantiates a new view property action.
*
* @param tbv
* the tbv
*/
publ... |
/*
* Copyright (c) 2017 Sergio Gonçalves Puntar Filho
*
* This program is made available under the terms of the MIT License.
* See the LICENSE file for details.
*/
package br.com.sgpf.common.document.excel.impl;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
im... |
package com.codewarriors.components;
import static org.junit.Assert.*;
import com.codewarriors.components.EventComponentEvents;
import org.junit.Test;
public class EventComponentEventsTests {
// checking does the eventComponentRandomEventGenerator returns an value.
@Test
public void eventComponentRandomEventGener... |
package io.arabesque.computation;
import io.arabesque.aggregation.AggregationStorage;
import io.arabesque.conf.Configuration;
import io.arabesque.embedding.Embedding;
import io.arabesque.graph.MainGraph;
import io.arabesque.pattern.Pattern;
import net.openhft.koloboke.collect.IntCollection;
import net.openhft.koloboke... |
package com.pubnub.api;
import com.pubnub.api.builder.PresenceBuilder;
import com.pubnub.api.builder.PubNubErrorBuilder;
import com.pubnub.api.builder.SubscribeBuilder;
import com.pubnub.api.builder.UnsubscribeBuilder;
import com.pubnub.api.callbacks.SubscribeCallback;
import com.pubnub.api.endpoints.DeleteMessages;
i... |
package org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.parts;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import org.eclipse.draw2d.IFigure;
import org.eclipse.draw2d.Shape;
import org.eclipse.draw2d.StackLayout;
import org.eclipse.draw2d.geometry.Dimension;
import org.eclip... |
/**
* 满二叉树:每一个节点都有左右子树,并且所有叶子节点都在同一层。
* 完全二叉树:属于满二叉树的一个子集。
* 平衡二叉树:节点的左右子树高度不超过1。
* 二叉搜索树:中序遍历的结果是一个递增序列,左孩子都小于根结点,右孩子都大于根节点。
* 前缀树:也叫字典树,不太懂。
* <p>
* https://mp.weixin.qq.com/s/k4-RaW4ROlo6chSXsO_4AA
* <p>
* https://juejin.im/post/5ead8119e51d454dc146626e#heading-22
*/
package org.glamey.training.codes.tree;... |
package jdo.product.model.feature.interaction;
import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import jdo.product.model.Product;
import jdo.product.model.feature.ProductFeature;... |
/*********************************************************************
*
* Copyright (C) 2003 Andrew Khan
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of th... |
// RobotBuilder Version: 4.0
//
// This file was generated by RobotBuilder. It contains sections of
// code that are automatically generated and assigned by robotbuilder.
// These sections will be updated in the future when you export to
// Java from RobotBuilder. Do not put any code or make any change in
// the blocks... |
/*
* MIT License
*
* Copyright (c) 2021 MASES s.r.l.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... |
/*
* Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package ch04.s02.p01;
class Calculator {
private final ArithmaticOperator op;
public Calculator(ArithmaticOperator op) {
this.op = op;
}
public int run(int x, int y) {
return op.operate(x, y);
}
public long run(long x, long y) {
return op.operate(x, y);
}
pub... |
/*
* Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package byx.ioc.annotation.container.test6.y;
import byx.ioc.annotation.annotation.Component;
@Component
public class C {
public C() {
}
public C(Integer i) {
}
}
|
/*
* Copyright (c) 2008-2020, Hazelcast, Inc. All Rights Reserved.
*
* 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 ... |
/*
* Copyright 2019-present HiveMQ GmbH
*
* 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 ag... |
import applet.ShadowGuiSketch;
import applet.GuiSketch;
import peasy.PeasyCam;
import processing.core.PGraphics;
public class ShadowTest extends ShadowGuiSketch {
public static void main(String[] args) {
GuiSketch.main("ShadowTest");
}
float t = 0;
PeasyCam cam;
public void settings() {
... |
/*
Copyright 2012 Selenium committers
Copyright 2012 Software Freedom Conservancy
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... |
/******************************************************************************
* Compilation: javac Bag.java
* Execution: java Bag < input.txt
* Dependencies: StdIn.java StdOut.java
*
* A generic bag or multiset, implemented using a singly linked list.
*
* % more tobe.txt
* to be or not to - be - - ... |
package projeto.seguranca.software;
import java.util.Scanner;
import projeto.seguranca.software.criptografia.CifraTransposicao;
/**
* Hello world!
*
*/
public class App {
public static void main(String[] args) {
// for(int i = 0; i< 255 ; i++){
// System.out.println(((char)i));
// }
/*... |
/*
* Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package com.xuexiang.xpage.util;
/**
* 常量
* @author xuexiang
*/
public class Consts {
// Generate
public static final String SEPARATOR = "$$";
public static final String PROJECT = "XPage";
public static final String TAG = PROJECT + "::";
public static final String FRAGMENT = "android.support.v4... |
package com.atguigu.gulimall.product.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 品牌分类关联
*
* @author Bohua
* @email 2662940084@gmail.com
* @date 2021-05-28 11:36:06... |
/*
* 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 may ... |
/**
* Copyright (C) 2016 - present McLeod Moores Software Limited. All rights reserved.
*/
package com.mcleodmoores.starling.client.fpml5_8;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertNotEquals;
import org.testng.annotations.Test;
import com.mcleodmoores.starling.client.po... |
// Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writi... |
/*
* 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 may ... |
package fadeapp.widgets;
import android.content.Context;
import android.hardware.SensorManager;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.ViewConfiguration;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.recyclerview.widget.BridgeR... |
/*
* Copyright (c) 2019, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* The Universal Permissive License (UPL), Version 1.0
*
* Subject to the condition set forth below, permission is hereby granted to any
* person obtaining a copy of ... |
package org.almotech.oscal.fragments;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.os.Build;
import android.os.Bundle;
import android.os.Handler;
import android.support.v4.app.Fragment;
import android.support.v4.app.LoaderManager.LoaderCallbacks;
import ... |
package loops;
public class p12 {
public static void main(String[] args)
{
//n is given by myself here;
int i,n=4,s=0;
for(i=1;i<=n;i++)
{
s=s+(i+(i*10+9));
}
System.out.println(s);
}
}// s=1+19+2+29+3+39;
|
package co.infinum.testapp.activities;
import android.os.Bundle;
import android.os.Handler;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.LinearLayoutManager;
import android.view.View;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import butterknife... |
/*
* Copyright (C) 2015 Twitter, 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 agr... |
/*================================================================================
Copyright (c) 2012 Steve Jin. All Rights Reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must re... |
package com.power.common.filter;
import com.power.common.exception.IPException;
import com.power.common.util.IpUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.servlet.*;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;... |
/* Copyright 2008-2019 Douglas Wikstrom
*
* This file is part of Verificatum Core Routines (VCR).
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including wi... |
/**
* Apache License Version 2.0, January 2004 http://www.apache.org/licenses/
* <p>
* TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
* <p>
* 1. Definitions.
* <p>
* "License" shall mean the terms and conditions for use, reproduction, and distribution as defined
* by Sections 1 through 9 of this d... |
package com.threathunter.bordercollie.slot.api;
import com.threathunter.babel.meta.ServiceMeta;
import com.threathunter.babel.meta.ServiceMetaUtil;
import com.threathunter.babel.rpc.Service;
import com.threathunter.bordercollie.slot.util.MetricsHelper;
import com.threathunter.bordercollie.slot.util.SystemClock;
import... |
package eu.chargetime.ocpp.feature;
/*
ChargeTime.eu - Java-OCA-OCPP
MIT License
Copyright (C) 2016-2018 Thomas Volden <tv@chargetime.eu>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal... |
package net.zhfish.tio.exception;
public class TioWebsocketException extends RuntimeException {
public TioWebsocketException() {
}
public TioWebsocketException(String message) {
super(message);
}
public TioWebsocketException(String message, Throwable cause) {
super(message, cause... |
/*
* Copyright (c) 2014 Javaranger.com. All Rights Reserved.
*/
package com.feizi.task;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import java.text.SimpleDateFormat;
import java.util.Date;
/**
* @Desc 任务调度器
* @Author feizi
* @Date 2016/10/24 9:45
... |
package com.att.aro.core.preferences;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.fail;
import java.io.File;
import java.io.IOException;
import java.nio.file.Paths;
import java.util.ArrayList;
impo... |
package com.rxhui.common.base;
/**
* @author ppgeneve
* @Description:
* @Date 2018/7/5 13:59
*/
public class BaseConstants {
}
|
/*
* Copyright 2012-2019 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 requ... |
package com.feng.project.system.role.service;
import java.util.List;
import java.util.Set;
import com.feng.project.system.role.domain.Role;
/**
* 角色业务层
*
* @author feng
*/
public interface IRoleService
{
/**
* 根据条件分页查询角色数据
*
* @param role 角色信息
* @return 角色数据集合信息
*/
public List<... |
package sockslib.quickstart;
import sockslib.utils.Arguments;
import sockslib.utils.Timer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.annotation.Nullable;
import java.io.IOException;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.InetSocketAddress;
import ja... |
package works.weave.socks.cart.middleware;
/*
import io.prometheus.client.Histogram;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.ApplicationContext;
import org.springframework.data.rest.core.config.R... |
package com.tts;
import java.lang.Math;
public class Calculator {
public double Add(double num1, double num2){
return num1 + num2;
}
public double Subtract(double num1, double num2){
return num1 - num2;
}
public double Multiply(double num1, double num2){
return num1 * num2;
... |
package org.infinispan.cdi.util;
import javax.enterprise.context.spi.CreationalContext;
import javax.enterprise.inject.spi.Bean;
import javax.enterprise.inject.spi.InjectionTarget;
/**
* An implementation of {@link ContextualLifecycle} that is backed by an
* {@link InjectionTarget}.
*
* @param <T>
* @author Pete... |
/*
* Copyright 2013 Websquared, 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 agre... |
package org.gradle.test.performance.mediummonolithicjavaproject.p467;
public class Production9343 {
private String property0;
public String getProperty0() {
return property0;
}
public void setProperty0(String value) {
property0 = value;
}
private String property1;
... |
package run.var.teamcity.cloud.docker.web;
import javax.annotation.Nullable;
/**
* Exception thrown when an error occurred during a container test.
*/
public class ContainerTestException extends RuntimeException {
/**
* Creates a new exception with the specified message.
*
* @param msg the messa... |
// Object.java - The root of all evil.
/* Copyright (C) 1998, 1999, 2000 Free Software Foundation
This file is part of libgcj.
This software is copyrighted work licensed under the terms of the
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
details. */
package java.lang;
/**
* @author Tom Trome... |
/*
* Copyright (c) 2021. Liem Doan
*/
package com.fromlabs.inventory.recipeservice.domains;
import com.fromlabs.inventory.recipeservice.detail.RecipeDetailService;
import com.fromlabs.inventory.recipeservice.domains.restaurant.services.RestaurantInventoryDomainService;
import com.fromlabs.inventory.recipeservice.do... |
/*
* ========================================================================
*
* 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 th... |
/*
* smart-doc
*
* Copyright (C) 2019-2020 smart-doc
*
* 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 ... |
/**
* Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package com.xiaomi.infra.galaxy.sds.thrift;
import libthrift091.scheme.IScheme;
import libthrift091.scheme.SchemeFactory;
import libthrift091.scheme.StandardScheme;
import libthrif... |
package kr.devx.catcher;
public class CatcherLog {
private final String TAG;
private final String USER;
private final int LEVEL;
private final String TITLE;
private final String CONTENT;
public static class Builder {
private final String USER;
private final int LEVEL;
p... |
/**
* Copyright (c) 2016 Dan Mulloy
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, p... |
/**
* 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 m... |
package com.rtalpha.pms.app.model;
import org.pojomatic.annotations.AutoProperty;
/**
* @author Ricky Shi
* @since Aug 17, 2017
*/
@AutoProperty
public class PackageTourUpdateModel extends ProductUpdateModel {
private static final long serialVersionUID = 1L;
}
|
package io.perfeccionista.framework.comparators.string;
import io.perfeccionista.framework.Environment;
import io.perfeccionista.framework.cucumber.resolver.CucumberResolverExpression;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.time.format.DateTimeFormatter;
impor... |
/*
* Copyright 2002-2016 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 ltd.newbee.mall.service.impl;
import ltd.newbee.mall.dao.CommentsMapper;
import ltd.newbee.mall.entity.GoodsComments;
import ltd.newbee.mall.service.NewBeeMallCommentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.ArrayLi... |
package com.company.BSTstudents;
/**
* Created by User on 4/18/2015.
*/
/*************************************************************************
* Compilation: javac LinkedListST.java
* Execution: java LinkedListST
*
* Symbol table implementation with linked list.
*
* % java LinkedListST
* 128.112... |
package com.texastoc.service;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.texastoc.exception.DuplicateSeasonException;
import com.texastoc.exception.GameInProgressException;
import com.te... |
package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 商品明细信息
*
* @author auto create
* @since 1.0, 2017-08-16 14:41:52
*/
public class GoodsInfo extends AlipayObject {
private static final long serialVersionUID = 41424152888352196... |
package org.gradle.trace.listener;
import org.gradle.api.internal.TaskInternal;
import org.gradle.api.internal.tasks.execution.ExecuteTaskBuildOperationDetails;
import org.gradle.internal.operations.BuildOperationDescriptor;
import org.gradle.internal.operations.OperationFinishEvent;
import org.gradle.internal.operati... |
package tracks.levelGeneration.constraints;
import java.util.HashMap;
import tools.GameAnalyzer;
public class AvatarNumberConstraint extends AbstractConstraint {
/**
* hashmap contains the number of objects for each type
*/
public HashMap<String, Integer> numOfObjects;
/**
* Object for ga... |
package org.spring.springboot.config.ds;
import com.alibaba.druid.pool.DruidDataSource;
import org.apache.ibatis.session.SqlSessionFactory;
import org.mybatis.spring.SqlSessionFactoryBean;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springf... |
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
*
* Licensed under the GridGain Community Edition License (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.gridgain.com/products/software/community-edition... |
/*
* Copyright (c) 1998, 2006, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package javax.swing.plaf.metal;
import javax.swing.plaf.*;
import javax.swing.*;
/**
* {@code MetalT... |
package com.distkv.common.utils;
import com.distkv.common.exception.DistKVException;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.Future;
public class FutureUtils {
/**
* Get the object from the given future. This will throw DstExcep... |
/*
* Copyright 2019 EPAM Systems
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
/*
* 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 may not ... |
/*
* 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 ma... |
package com.mpiannucci.reactnativecontextmenu;
import android.content.Context;
import android.gesture.Gesture;
import android.util.Log;
import android.view.GestureDetector;
import android.view.Menu;
import android.view.MenuItem;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
... |
package org.smyld.db.oracle;
import java.io.IOException;
import java.io.LineNumberReader;
import java.io.StringReader;
import java.util.Vector;
import org.smyld.db.SMYLDSQLException;
import org.smyld.db.Utility;
public class OracleSqlException extends SMYLDSQLException implements OraConstants {
/**
*
*/
priv... |
package org.unipampa.edu.br;
public class IngredientsCompartment extends Compartment {
private final int MAX_WATER;
private final int MAX_COFFEE;
private final int MAX_MILK;
private final int MAX_CINNAMON;
private final int MAX_CHOCOLATE;
private final int MAX_SUGAR;
private int amountWat... |
/**
* 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 may... |
package jdk.statement;
import java.time.LocalDateTime;
import org.junit.Assert;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
*
*
* @since 2017-07-27
* @author fixalot
*/
public class SynchronizedTest {
private static final Logger logger = LoggerFactory.getLogger(Synchro... |
package org.firstinspires.ftc.teamcode.Autonomous.RedTeam;
import org.firstinspires.ftc.teamcode.Autonomous.BaseSkyStoneAuto;
import static org.firstinspires.ftc.teamcode.Hardware.ExemplaryBlinkinLED.LED_RED;
public class RedSkyStoneAuto extends BaseSkyStoneAuto {
@Override
public void runOpMode() throws Int... |
/* Copyright (c) 2017 FIRST. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted (subject to the limitations in the disclaimer below) provided that
* the following conditions are met:
*
* Redistributions of source code must retain the above cop... |
package com.aliyun.odps.tunnel;
import com.aliyun.odps.Column;
import com.aliyun.odps.OdpsException;
import com.aliyun.odps.TableSchema;
import com.aliyun.odps.commons.transport.Connection;
import com.aliyun.odps.commons.transport.Headers;
import com.aliyun.odps.commons.transport.Response;
import com.aliyun.odps.commo... |
package com.github.vole.portal.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.vole.portal.model.entity.SysRole;
/**
*
* SysRole 表数据库控制层接口
*
*/
public interface SysRoleMapper extends BaseMapper<SysRole> {
} |
/**
* 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... |
/*******************************************************************************
* Copyright (c) 2015 Eclipse RDF4J contributors, Aduna, and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Distribution License v1.0
* which accompanies th... |
package yyl.normal;
public class DataExample {
Long id;
String name;
public Long getId() {
return this.id;
}
public String getName() {
return this.name;
}
public void setId(Long id) {
this.id = id;
}
public void setName(String name) {
this.name = name;
}
public boolean e... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v10/enums/lead_form_field_user_input_type.proto
package com.google.ads.googleads.v10.enums;
public interface LeadFormFieldUserInputTypeEnumOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.ads.googlead... |
package com.kmjd.jsylc.zxh.module.card.utils;
import java.util.regex.Pattern;
/**
* 银行卡工具类
*
* Author: nanchen
* Email: liushilin520@foxmail.com
* Date: 2017-11-28 13:26
*/
public class BankInfoUtil {
String s1 = "^(621096|621098|622150|622151|622181|622188|622199|955100|621095|620062|621285|621798|62179... |
package com.project.convertedCode.globalNamespace.namespaces.PhpParser.namespaces.Node.namespaces.Name.classes;
import java.lang.invoke.MethodHandles;
import com.runtimeconverter.runtime.passByReference.PassByReferenceArgs;
import com.runtimeconverter.runtime.classes.NoConstructor;
import com.runtimeconverter.runtime.... |
package ua.com.mcgray.configuration;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
/**
* @author orezchykov
* @since 07.02.15
*/
@Configuration
@Import({SimpleFileConfigurationServic... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed ... |
package com.yeyu.bean;
import org.springframework.stereotype.Component;
@Component
public class Car {
}
|
package com.otaliastudios.cameraview;
import androidx.annotation.Nullable;
/**
* Flash value indicates the flash mode to be used.
*
* @see CameraView#setFlash(Flash)
*/
public enum Flash implements Control {
/**
* Flash is always off.
*/
OFF(0),
/**
* Flash will be on when capturing.... |
package org.barcodeapi.server.gen.types;
import java.awt.image.BufferedImage;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import org.barcodeapi.server.gen.CodeGenerator;
import org.barcodeapi.server.gen.CodeType;
import org.json.JSONObject;
import org.krysalis.barcode4j.HumanReadablePlacement;
i... |
/* jahmm package - v0.6.1 */
/*
* Copyright (c) 2004-2006, Jean-Marc Francois.
*
* This file is part of Jahmm.
* Jahmm is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the Licen... |
import java.util.ArrayList;
import java.util.concurrent.*;
import java.util.concurrent.locks.*;
public class MultipleServices {
public static class Exp implements Callable {
private double m;
private int n;
public Exp(double m, int n) {
this.m = m;
this.n = n;
... |
/*
* The MIT License
*
* Copyright (c) 2004-, Kohsuke Kawaguchi, Sun Microsystems, Inc., and a number of other of contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.