text stringlengths 7 995k |
|---|
package de.hpi.bpmn.serialization.erdf.templates;
import de.hpi.bpmn.DiagramObject;
import de.hpi.bpmn.IntermediateCancelEvent;
import de.hpi.bpmn.serialization.erdf.ERDFSerializationContext;
public class IntermediateCancelEventTemplate extends NonConnectorTemplate {
private static BPMN2ERDFTemplate instance;
pub... |
package it.castelli.connection.messages;
import it.castelli.connection.Connection;
import it.castelli.gameLogic.Player;
import it.castelli.gui.controllers.BoardController;
import it.castelli.gui.scene.SceneManager;
import it.castelli.gui.scene.SceneType;
import javafx.application.Platform;
/**
* Message received fro... |
package com.faranjit.livescore.model;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;
/**
* Created by Bulent Turkmen on 2019-05-26.
*/
@Root(name = "item", strict = false)
public class NewsItem {
@Element(name = "title")
private String title;
@Element(name = "link")
p... |
package com.ksug.speedmatch.utility;
import android.content.Context;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import com.ksug.speedmatch.constant.ApplicationConstant;
public class PreferenceUtil {
private static SharedPreferences sharedPreferences;
private sta... |
package com.lwx.myshop.api.gateway;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springfr... |
/*
* Copyright (c) 2008-2018, 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 2011-2016 Hippo B.V. (http://www.onehippo.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 req... |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... |
package com.freeportmetrics.nearby.beaconsimulator;
import android.databinding.BaseObservable;
import android.support.annotation.NonNull;
/**
* Created by skamycki on 02/10/2017.
*/
public class NearbyViewModel extends BaseObservable {
private String url;
private boolean advertising;
public NearbyVi... |
package parser;
import java.io.Serializable;
/*
* Created on 6 Apr 2010
*/
/**
* A Rule is the basic unit of matching in the parser.
* The parser condenses lists of input tokens into tokens using rules.
*
* @author Anthony Bryant
* @param <T> - the enum type that holds all possible values for the token type
... |
/**
* fshows.com
* Copyright (C) 2013-2018 All Rights Reserved.
*/
package com.huijava.superiorjavablogs.util;
import com.huijava.superiorjavablogs.common.enums.ColorNameEnum;
import com.huijava.superiorjavablogs.entity.BlogsTagsR;
import com.huijava.superiorjavablogs.entity.Tags;
import java.util.Date;
/**
* 给一... |
/*
* Copyright 2018 Alfresco, Inc. and/or its affiliates.
*
* 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 2018-present Open Networking Foundation
*
* 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 applicabl... |
package org.ovirt.engine.core.common.action;
import java.io.Serializable;
import java.util.Map;
import javax.validation.Valid;
import org.ovirt.engine.core.common.businessentities.VM;
import org.ovirt.engine.core.common.businessentities.storage.Disk;
import org.ovirt.engine.core.compat.Guid;
public class ImportVmPa... |
package cn.structure.starter.manager.mapper;
import cn.structure.starter.manager.mapper.provider.InsertListSpecialProvider;
import org.apache.ibatis.annotations.InsertProvider;
import tk.mybatis.mapper.annotation.RegisterMapper;
import java.util.List;
/**
* 动态插入
* @param <T>
*/
@RegisterMapper
public interface In... |
package love.marblegate.splashmilk.mixin;
import net.minecraft.item.ItemStack;
import net.minecraft.item.Items;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackI... |
package com.ywwxhz.lib.database.converter;
import android.database.Cursor;
import android.text.TextUtils;
import com.ywwxhz.lib.database.sqlite.ColumnDbType;
import java.util.Date;
/**
* Author: wyouflf
* Date: 13-11-4
* Time: 下午10:51
*/
public class DateColumnConverter implements ColumnConverter<Date> {
@O... |
package org.aikodi.chameleon.support.expression;
import org.aikodi.chameleon.core.lookup.LookupException;
import org.aikodi.chameleon.oo.expression.Expression;
import org.aikodi.chameleon.oo.language.ObjectOrientedLanguage;
import org.aikodi.chameleon.oo.type.Type;
import org.aikodi.chameleon.oo.type.TypeReference;
i... |
package com.intellij.remoteServer.impl.runtime.ui.tree.actions;
import com.intellij.execution.dashboard.RunDashboardTreeAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.actionSystem.Presentation;
import com.intellij.openapi.project.DumbAware;
import com.intellij.remoteServer.... |
package ru.job4j.hibernate;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.boot.MetadataSources;
import org.hibernate.boot.registry.StandardServiceRegistry;
import org.hibernate.boot.registry.StandardServiceRegistryBuilder;
import ru.job4j.tracker.ITracker;
import ru.job4j.trac... |
/**
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
*
* 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 requ... |
package org.firstinspires.ftc.teamcode.library;
import com.qualcomm.hardware.bosch.BNO055IMU;
import com.qualcomm.hardware.bosch.JustLoggingAccelerationIntegrator;
import org.firstinspires.ftc.robotcore.external.navigation.AngleUnit;
import org.firstinspires.ftc.robotcore.external.navigation.AxesOrder;
import org.fir... |
/**********************************************************************************
* $URL$
* $Id$
***********************************************************************************
*
* Copyright (c) 2009 The Sakai Foundation
*
* Licensed under the Educational Community License, Version 2.0 (the "License");
* ... |
package wpos.dao;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;
import org.springfram... |
package de.axone.data;
import java.util.List;
import java.util.function.Function;
import java.util.function.Predicate;
import java.util.function.Supplier;
import java.util.stream.Collectors;
public abstract class Converters {
public <S,T, E extends Exception> List<T> convertList( List<S> source, ThrowingFunction<S... |
/*
* Copyright Debezium Authors.
*
* Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
*/
/*
* Written by Doug Lea with assistance from members of JCP JSR-166
* Expert Group and released to the public domain, as explained at
* http://creativecommons.o... |
package dg.sample3.processor;
import dg.sample3.PaymentRecord;
/**
* Definition of how to send a payment to a 3rd party processors.
*/
public interface Processor {
/**
* Sends a payment to an external processor.
*/
public String send( PaymentRecord 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 may ... |
package activities.cal_calc;
import activities.Activities;
import activities.AirBike;
import activities.Gimnastic;
import activities.Weightlifting;
public interface Visitor {
void calcCalWeightlifting(Weightlifting weightlifting);
void calcCalAirBike(AirBike airBike);
void calcCalGimnastic(Gimnastic gimn... |
/*
* Copyright 2013-2020 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... |
// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: braces fieldsfirst space lnc
package com.google.zxing.common;
import com.google.zxing.NotFoundException;
// Referenced classes of package com.google.zxing.common:
// ... |
/*
* MIT License
*
* Copyright (c) 2021 OroArmor (Eli Orona)
*
* 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, c... |
package com.jccdex.rpc.api;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import javax.validation.constraints.NotNull;
import com.fasterxml.jackson.databind.JsonNode;
import c... |
/*
* Copyright (C) 2012-2015 DataStax 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 app... |
package io.micronaut.inject.collect;
import jakarta.inject.Singleton;
import java.util.Iterator;
@Singleton
public class MyIterable implements Iterable<String> {
@Override
public Iterator<String> iterator() {
return new Iterator<String>() {
@Override
public boolean hasNext() ... |
package com.spacetimecat.web.example;
import com.spacetimecat.web.server.DemoServer;
public final class Main
{
private Main () {}
public static void main (String[] args) throws InterruptedException
{
final int port = 8080;
final String baseUri = String.format("http://localhost:%s/", port)... |
package rocks.inspectit.agent.java.analyzer.classes;
@SuppressWarnings("PMD")
public abstract class AbstractSubTest extends AbstractTest implements ITestTwo {
} |
package com.example.mq.allview;
import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.view.ViewGroup;
import android.widget.AbsListView;
import android.widget.RelativeLayout;
import android.widg... |
package com.kkb.constant;
/**
* @description :全局常量定义
* @version: 1.0
*/
public class GlobalConst {
public static final String SESSION_KEY_USER = "User";
public static final String HEADER_AUTHORIZATION = "Authorization";
public static final String REDIS_KEY_SET_UPLOAD_IMAGE = "upload_image_set_";
pub... |
/*
* 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
* distribut... |
/**
* Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.thinkgem.jeesite.modules.sys.utils;
import java.util.List;
import java.util.Map;
import org.apache.commons.lang3.StringUtils;
import com.google.common.collect.Lists;
import com.google.comm... |
package jp.co.tis.service;
import java.io.Serializable;
import java.util.List;
import javax.inject.Inject;
import java.io.Serializable;
import oscana.s2n.struts.GenericsUtil;
import nablarch.core.db.connection.DbConnectionContext;
import oscana.s2n.common.ParamFilter;
import nablarch.fw.dicontainer.web.RequestScoped;
... |
/*
* 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 © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.kf.common.persistence;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import com.fasterxml.jackson.annotation.JsonBackReference;
import com... |
package com.vm.greendao.db;
import java.util.Map;
import org.greenrobot.greendao.AbstractDao;
import org.greenrobot.greendao.AbstractDaoSession;
import org.greenrobot.greendao.database.Database;
import org.greenrobot.greendao.identityscope.IdentityScopeType;
import org.greenrobot.greendao.internal.DaoConfig;
import ... |
package org.springframework.samples.petclinic.model;
import java.time.LocalDate;
import javax.persistence.Entity;
import org.springframework.format.annotation.DateTimeFormat;
import lombok.Data;
@Data
@Entity
public class Event extends NamedEntity{
private String description;
@DateTimeFormat(pattern="yyyy/MM... |
package com.revature.servlets;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import com.project1.util.RequestHelperManager;
/... |
package com.fireflysource.net;
abstract public class AbstractConnection implements Connection {
protected final int id;
protected final long openTime;
protected final long maxIdleTime;
protected volatile Object attachment;
protected long closeTime;
protected long lastReadTime;
protected lo... |
package io.quarkiverse.doma.deployment;
import static java.util.stream.Collectors.toList;
import java.io.IOException;
import java.io.UncheckedIOException;
import java.nio.file.FileVisitResult;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.SimpleFileVisitor;
import java.nio.file.attribute... |
/*
* Copyright (c) 2017, Adam <Adam@sigterm.info>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* li... |
/*
Derby - Class org.apache.derbyTesting.perf.clients.PoissonLoadGenerator
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 unde... |
package com.len.service.impl;
import com.len.base.BaseMapper;
import com.len.base.impl.BaseServiceImpl;
import com.len.entity.Good;
import com.len.mapper.GoodMapper;
import com.len.service.GoodService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
*... |
package io.ebeaninternal.server.core.bootup;
import io.avaje.classpath.scanner.ClassFilter;
import io.ebean.annotation.DocStore;
import io.ebean.config.IdGenerator;
import io.ebean.config.ScalarTypeConverter;
import io.ebean.config.ServerConfig;
import io.ebean.event.BeanFindController;
import io.ebean.event.BeanPersi... |
package com.tjazi.profilesauthorizer.messages;
import java.util.UUID;
/**
* Created by Krzysztof Wasiak on 04/11/2015.
*/
/**
* Validate if given authorization token is correct for the given user profile UUID
*/
public class ValidateAuthorizationTokenRequestMessage {
/**
* User profile UUID.
*/
... |
/*
* Copyright 2018 OpenAPI-Generator Contributors (https://openapi-generator.tech)
* Copyright 2018 SmartBear Software
*
* 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://... |
/*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.atalk.service.neomedia;
/**
* Represents a factory of <tt>StreamConnector</tt> instances.
*
* @author Lyubomir Marinov
*/
public interface StreamConnectorFac... |
/*
* 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 io.github.shibadog.ragdoll.entity;
import java.time.Instant;
import java.time.LocalDateTime;
import java.time.ZoneOffset;
import java.time.temporal.TemporalAccessor;
import lombok.AllArgsConstructor;
import lombok.Data;
@Data
@AllArgsConstructor
public class Block {
private long index;
private long g... |
/*
* Copyright 2010 Google 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 agreed to in w... |
package com.sotan.mircea.shower.view;
import android.support.v4.app.Fragment;
import com.sotan.mircea.shower.presenter.Presenter;
/**
* @author mirceasotan
*/
public abstract class BaseFragment<T extends Presenter<K>, K> extends Fragment {
public abstract T getPresenter();
public abstract K getMvpView();... |
package com.github.bingoohuang.delayqueue;
import com.github.bingoohuang.delayqueue.spring.TaskDao;
import java.util.concurrent.ExecutorService;
import java.util.function.Function;
public interface TaskConfig {
ZsetCommands getJedis();
default Function<Long, String> getQueueKey() {
return l -> "delayqueue";... |
package com.spk.beans;
import java.io.Serializable;
public class EmpBO implements Serializable {
private int id;
private String ename;
private String job;
private int sal;
public EmpBO(int id, String ename, String job, int sal) {
super();
this.id = id;
this.ename = ename;
this.job = job;
this.sal = s... |
package com.ecommerce.gateway.config;
import com.codahale.metrics.MetricRegistry;
import com.codahale.metrics.servlet.InstrumentedFilter;
import com.codahale.metrics.servlets.MetricsServlet;
import com.ecommerce.gateway.web.filter.CachingHttpHeadersFilter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
impor... |
/*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*/
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distribute... |
/*******************************************************************************
* Copyright (c) 1998, 2013 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0... |
package com.olichid.springdemo;
public interface Coach {
public String getDailyWorkout();
public String getDailyFortune();
} |
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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
... |
package mezz.jei;
import javax.annotation.Nullable;
import com.google.common.base.Preconditions;
import mezz.jei.color.ColorNamer;
import mezz.jei.gui.GuiEventHandler;
import mezz.jei.ingredients.IngredientFilter;
import mezz.jei.ingredients.IngredientRegistry;
import mezz.jei.input.InputHandler;
import mezz.jei.run... |
import org.nlogo.api.*;
import org.nlogo.core.Syntax;
import org.nlogo.core.SyntaxJ;
public class GetAngle implements Reporter {
public Syntax getSyntax() {
return SyntaxJ.reporterSyntax(
new int[] { Syntax.StringType() }, Syntax.NumberType());
}
public Object report(Argument args[], Context context)
throw... |
package aula2;
import java.util.Scanner;
public class LerDoisNumerosEfetuarDivisao {
public static void main(String ... a)
{
Scanner ler = new Scanner(System.in);
double n1 = 0;
double n2 = 0;
System.out.println("Digite o primeiro número");
n1 = ler.nextDouble();
System.out.println("Digite o segund... |
package com.alibaba.alink.common.fe.def.day;
import org.apache.flink.api.common.typeinfo.TypeInformation;
import org.apache.flink.table.api.TableSchema;
import com.alibaba.alink.common.fe.def.statistics.BaseCategoricalStatistics;
import com.alibaba.alink.common.fe.def.statistics.BaseNumericStatistics;
import com.alib... |
package org.dev.app.webflux.service;
import org.dev.app.webflux.documents.Categoria;
import org.dev.app.webflux.documents.Producto;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
public interface ProductoService {
Flux<Producto> findAll();
Flux<Producto> findAllNombresToUpperCase();
... |
//package com.rezso.backend.config;
//
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.security.config.annotation.authentication.builders.AuthenticationManag... |
/**
* Copyright (c) 2018, http://www.snakeyaml.org
* <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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by a... |
package com.nastion.fly.weather.gson;
import com.google.gson.annotations.SerializedName;
public class Now {
@SerializedName("tmp")
public String temperature;
@SerializedName("cond")
public More more;
public class More {
@SerializedName("txt")
public String info;
}
} |
package com.bignerdranch.android.simpletodo;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.Log... |
package com.monolith.example.author.impl.web.dto;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.FieldDefaults;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@FieldDefaults(level = AccessLevel.... |
package org.softeg.slartus.forpdaplus.classes.common;
/**
* User: slinkin
* Date: 20.06.12
* Time: 9:50
*/
public class ArrayUtils {
public static <T> int indexOf(T needle, T[] haystack) {
for (int i = 0; i < haystack.length; i++) {
if (haystack[i] != null && haystack[i].equals(needle)
... |
package org.zhiyu.model;
import java.util.ArrayList;
import java.util.List;
public class Department {
/**
* 部门编号
*/
private String departNumber;
/**
* 部门名称
*/
private String departName;
/**
* 部门下所有员工
*/
private List<Staff> staffList;
public Department(String ... |
package es.amplia.oda.subsystem.poller;
import es.amplia.oda.core.commons.interfaces.DatastreamsEvent;
import es.amplia.oda.core.commons.interfaces.DatastreamsGetter;
import es.amplia.oda.core.commons.interfaces.DatastreamsGetter.CollectedValue;
import es.amplia.oda.core.commons.utils.DatastreamsGettersFinder;
import ... |
package com.otaliastudios.cameraview.filters;
import android.graphics.Color;
import android.opengl.GLES20;
import androidx.annotation.ColorInt;
import androidx.annotation.NonNull;
import com.otaliastudios.cameraview.filter.BaseFilter;
import com.otaliastudios.cameraview.filter.TwoParameterFilter;
import com.otaliast... |
/**
* MIT License
*
* Copyright (c) 2017-2019 Vseslav Sekorin
*
* 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, ... |
package com.github.websocket.dto;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class WhomDto i... |
package demo.stepdefinitions;
import io.cucumber.datatable.DataTable;
import io.cucumber.java.Before;
import io.cucumber.java.en.Given;
import io.cucumber.java.en.Then;
import io.cucumber.java.en.When;
import net.serenitybdd.screenplay.actors.OnStage;
import net.serenitybdd.screenplay.actors.OnlineCast;
import demo.lo... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package com.View;
public final class R {
public static final class attr {
}
public static final class color {
public ... |
/*
* 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
* distribu... |
package ar.nadezhda.multitier.frontend.config;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
@Configuration
@ComponentScan("ar.nadezhda.multitier.frontend")
public class FrontendTestConfig {
} |
/*
* Copyright 2013 Google 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 agreed to i... |
/*
* Copyright 2015-2020 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 sample;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import sample.api.facebook.Facebook;
import sample.api.facebook.Groups;
@Controller
public c... |
/*
* 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 hirs.attestationca.portal.page.controllers;
import hirs.FilteredRecordsList;
import hirs.attestationca.portal.datatables.DataTableInput;
import hirs.attestationca.portal.datatables.DataTableResponse;
import hirs.attestationca.portal.datatables.OrderedListQueryDataTableAdapter;
import hirs.attestationca.portal.... |
/**
* Copyright (c) 2016-2019 人人开源 All rights reserved.
*
* https://www.renren.io
*
* 版权所有,侵权必究!
*/
package gov.gxgt.transfer.interceptor;
import gov.gxgt.transfer.annotation.Login;
import gov.gxgt.transfer.common.exception.RRException;
import gov.gxgt.transfer.entity.TokenEntity;
import gov.gxgt.transfer.serv... |
/******************************************************************************
* This work is applicable to the conditions of the MIT License, *
* which can be found in the LICENSE file, or at *
* https://github.com/philippwinter/pacman/blob/master/LICENSE *
... |
/**
* Name: Convert Sorted List to Binary Search Tree
* Number: 109
* Tag: DFS
* Main Point: similar with 108.
The trick is we use 2 pointers to find the mid of the linkedlist
and then recursively build the tree like 108.
* Time Complexity: O(nlogn)
* Space Complexity: O(logn)
**/
/**
* Definition for sin... |
package seedu.address.logic.commands.job;
import static java.util.Objects.requireNonNull;
import static seedu.address.model.Model.PREDICATE_SHOW_ALL_JOBS;
import seedu.address.logic.CommandHistory;
import seedu.address.logic.commands.Command;
import seedu.address.logic.commands.CommandResult;
import seedu.address.mod... |
package model.tetrominos.base;
import java.awt.Color;
import java.util.Random;
import model.tetrominos.*;
import model.block.Block;
public abstract class Tetromino {
protected Block[] blocks;
protected int x;
protected int y;
protected TetrominoDirection currDir = TetrominoDirection.NORTH;
prote... |
/*
* Copyright (c) 2012 EMC Corporation
* All Rights Reserved
*/
package com.emc.storageos.api.service.impl.resource.utils;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.emc.storageos.services.util.Na... |
package b.l.a.c.c.l.k;
import androidx.annotation.NonNull;
import b.l.a.c.c.l.a;
import b.l.a.c.c.l.h;
import java.io.FileDescriptor;
import java.io.PrintWriter;
public interface c1 {
boolean a();
void b();
void c();
<A extends a.b, T extends d<? extends h, A>> T d(@NonNull T t);
void e(String... |
package io.cattle.platform.systemstack.listener;
import static io.cattle.platform.core.model.tables.ServiceTable.*;
import static io.cattle.platform.core.model.tables.StackTable.*;
import io.cattle.platform.archaius.util.ArchaiusUtil;
import io.cattle.platform.async.utils.TimeoutException;
import io.cattle.platform.c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.