text stringlengths 7 995k |
|---|
package com.fsck.k9.ui.messageview;
import android.app.Activity;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.content.IntentSender;
import android.content.pm.PackageManager.NameNotFoundException;
import android.graphics.drawable.Drawable;
import andro... |
package com.shangzf.datasource;
import com.shangzf.datasource.annotation.DS;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.After;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframe... |
package io.ticktok.server.clock.repository;
import io.ticktok.server.clock.Clock;
import lombok.extern.slf4j.Slf4j;
import org.springframework.data.mongodb.core.FindAndModifyOptions;
import org.springframework.data.mongodb.core.MongoOperations;
import org.springframework.data.mongodb.core.query.Criteria;
import org.sp... |
/*
* Copyright 2019 Immutables Authors and Contributors
*
* 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 applica... |
/*
* Copyright (c) 2018. JeongHa, Cho
*/
package head.first.design.pattern.rule.command.v3.remoteWl;
public class GarageDoorUpCommand implements Command {
GarageDoor garageDoor;
public GarageDoorUpCommand(GarageDoor garageDoor) {
this.garageDoor = garageDoor;
}
public void execute() {
garageDoor.up();
}
... |
package org.zstack.header.search;
import org.zstack.header.message.APIMessage;
public class APISearchGenerateSqlTriggerMsg extends APIMessage {
private String resultPath;
public String getResultPath() {
return resultPath;
}
public void setResultPath(String resultPath) {
this.resultPa... |
/*
* 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... |
/**
* Copyright 2009-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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unle... |
package com.troy.crypto.tracker.repository;
import com.troy.crypto.tracker.domain.User;
import java.time.Instant;
import java.util.List;
import java.util.Optional;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepos... |
package com.il360.shenghecar.model.user;
import java.io.Serializable;
/**
* Bank
*
*/
public class Bank implements Serializable {
private static final long serialVersionUID = 1L;
/** 银行编号 **/
private String bankNo;
/** 银行名称 **/
private String bankName;
/** 分行名称 **/
private String branchName;
/** 地区编码 **/
... |
/**
* Copyright 2005-2013 Restlet S.A.S.
*
* The contents of this file are subject to the terms of one of the following
* open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
* 1.0 (the "Licenses"). You can select the license that you prefer but you may
* not use this file except in compli... |
package com.prt2121.client;
import com.prt2121.remoteservice.IRemoteService;
import com.prt2121.remoteservice.IRemoteServiceCallback;
import com.prt2121.remoteservice.ISecondary;
import android.app.Activity;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import an... |
package com.s6.plugin.feign.adapter.handler;
import org.junit.Test;
import static org.junit.Assert.*;
public class FeignClientHandlerTest {
@Test
public void testConstructor() {
{
FeignClientHandler handler = new FeignClientHandler("1");
assertEquals(handler.getDstVersion(), F... |
import java.util.List;
import java.util.LinkedList;
public class Order {
private List<Drink> contents = new LinkedList<>();
//public void setOwner(String who) { /* ...*/ }
//public void setRecipient(String who) { /* ...*/ }
//public List<Order.Drink> getDrinks() { return new LinkedList<>(); }
public... |
package Sorts.src.sort;
import static Sorts.src.sort.SortUtils.*;
/**
* Implementation of gnome sort
*
* @author Podshivalov Nikita (https://github.com/nikitap492)
* @since 2018-04-10
*
**/
public class GnomeSort implements SortAlgorithm{
@Override
public <T extends Comparable<T>> T[] sort(T[] arr) {
... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
package com.mm87.android.lib.socialnet.facebook;
/**
* Created by marco.mendoza on 29/08/2016.
*/
public interface FbListener {
void onSuccess();
void onCancel();
void onError();
} |
/*
* Copyright (C) 2014 The Android Open Source Project
*
* 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... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.synapse.fluent.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.management.ProxyResource;
import com.azure... |
package cn.fuzongyao.learning.springboot;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* @author fuzongyao
* @date 2021/4/30
* @since 1.0.0
*/
@SpringBootApplication
@MapperScan("cn.fuzo... |
package org.hisp.dhis.common;
/*
* Copyright (c) 2004-2020, University of Oslo
* 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 retain the above copyrig... |
/*
* Licensed to the University Corporation for Advanced Internet Development,
* Inc. (UCAID) under one or more contributor license agreements. See the
* NOTICE file distributed with this work for additional information regarding
* copyright ownership. The UCAID licenses this file to You under the Apache
* Lic... |
package nablarch.fw.handler.dispatch.test2.ss00A001;
import nablarch.fw.ExecutionContext;
import nablarch.fw.Handler;
import nablarch.fw.Request;
import nablarch.fw.Result;
import nablarch.fw.Result.Success;
public class B11AC001Action implements Handler<Request<String>, Result> {
public Result handle(Reques... |
package brickst.robocust.connection;
import org.apache.log4j.Logger;
import java.net.*;
import java.io.IOException;
/**
* The ServerSocketListener class accepts connections from the specified
* port and invokes its abstract processRequest() method with each.
*
* FUTURE: Separate listening and accepting into two c... |
package com.cla.sds.wechatworkappidentity;
import java.io.IOException;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.SerializerProvider;
import com.cla.sds.SdsObjectPlainCustomSerializer;
public class WechatWorkappIdenti... |
// Copyright (C) 2009 The Android Open Source Project
//
// 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 ... |
/*
* Copyright 2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* 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.apach... |
package com.alibaba.ttl;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.atomic.AtomicReference;
import static com.alibaba.ttl.TransmittableThreadLocal.Transmitter.*;
/**
* {@link TtlRunnable} decorate {@link Runnable}, so as ... |
package pl.fhframework.dp.transport.dto.commons;
import lombok.Getter;
import lombok.Setter;
import java.io.Serializable;
/**
* @author <a href="mailto:dariusz_skrudlik@javiko.pl">Dariusz Skrudlik</a>
* @version : $, : $
* @created 2019-05-31
*/
@Getter @Setter
public class OperationResultBaseDto implements S... |
package org.yzh.web.service;
import org.yzh.web.model.protocol.T0200;
import org.yzh.web.model.vo.Location;
import org.yzh.web.model.vo.LocationQuery;
import java.util.List;
public interface LocationService {
List<Location> find(LocationQuery query);
void batchInsert(List<T0200> list);
} |
package jdk.character;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
public class Test3 {
public static void printLots(List<Integer> L, List<Integer> P) {
Comparator<Integer> comparator = new Comparator<Integer>(){
@Override
public int compare(Integer o1, Integer o2... |
/*
* Copyright 2019 NAVER Corp.
*
* 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 de.embl.cba.mobie.command;
import bdv.viewer.SourceAndConverter;
import de.embl.cba.mobie.color.LabelConverter;
import org.scijava.plugin.Parameter;
import org.scijava.plugin.Plugin;
import sc.fiji.bdvpg.scijava.ScijavaBdvDefaults;
import sc.fiji.bdvpg.scijava.command.BdvPlaygroundActionCommand;
@Plugin(type ... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
package com.system.work.controller;
import com.system.work.entity.SbComputers;
import com.system.work.service.SbComputersService;
import lombok.extern.slf4j.Slf4j;
import com.system.work.param.SbComputersPageParam;
import io.geekidea.springbootplus.framework.common.controller.BaseController;
import io.geekidea.springb... |
/**
* Copyright 2012 XnnYygn
*
* 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 biweekly.property;
import java.util.Date;
import java.util.LinkedHashMap;
import java.util.Map;
import biweekly.component.VAlarm;
import biweekly.util.Duration;
/*
Copyright (c) 2013-2020, Michael Angstadt
All rights reserved.
Redistribution and use in source and binary forms, with or without
modificati... |
package cn.faury.fwmf.module.api.menu.bean;
import cn.faury.fdk.common.db.PrimaryKeyEnableBean;
import cn.faury.fdk.common.utils.JsonUtil;
import cn.faury.fwmf.module.api.menu.generate.bean.RoleRFunctionGenerateBean;
import java.io.Serializable;
/**
* POJO对象:角色关联功能按钮表
*
* <pre>
* RoleRFunctionGenerateBean为数据... |
package com.bluedrop.assignment.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.bind.annotation.RestController;
import springfox.documentation.builders.PathSelectors;
import springfox.documentation.builders.RequestH... |
// 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... |
/*! ******************************************************************************
*
* Hop : The Hop Orchestration Platform
*
* Copyright (C) 2017 by Hitachi Vantara : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, ... |
/*
* Copyright 2014-present Facebook, 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... |
package com.bbva.kyof.vega.unit.autodiscovery;
import org.junit.Test;
import com.bbva.kyof.vega.autodiscovery.client.LLZAutoDiscTopicEndPoint;
import com.bbva.kyof.vega.autodiscovery.client.LLZAutodiscEndPointType;
import com.bbva.kyof.vega.autodiscovery.client.hazelcast.LLZHazelcastManager;
import com.bbva.kyof.vega... |
/* Copyright (C) 2005-2011 Fabio Riccardi */
package com.lightcrafts.image.metadata;
import com.lightcrafts.mediax.jai.operator.TransposeType;
import static com.lightcrafts.image.types.TIFFConstants.*;
import static com.lightcrafts.mediax.jai.operator.TransposeDescriptor.*;
/**
* An <code>ImageOrientation</code> s... |
package com.suchgame.stackz.ui;
import java.nio.ShortBuffer;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Set;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Bitmap.Config;
import android.graphics.Color;
import android.ope... |
package com.oblador.keychain.cipherStorage;
import android.annotation.SuppressLint;
import android.os.Build;
import android.security.keystore.KeyGenParameterSpec;
import android.security.keystore.KeyInfo;
import android.security.keystore.KeyProperties;
import android.security.keystore.UserNotAuthenticatedException;
im... |
/********************************************************************************
* Copyright (c) 2011-2017 Red Hat Inc. and/or its affiliates and others
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* http://www.apach... |
import java.util.Scanner;
public class FaixaEtariaa {
public static void main(String args[]) {
Scanner in = new Scanner(System.in);
int i=1, C1=0, C2=0, C3=0, C4=0, C5=0;
int idade, porcentagem,soma;
for(i=1;i<=15;i++) {
System.out.println("Digite a idade da "+i+" pessoa:");
idade=in.nextInt();
if (ida... |
/*
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
/**************************************************************************
/* The interface for a single test-case.
/*
/* Copyright (c) 2009 by Bernhard Bablok (mail@bablokb.de)
/*
/* This program is free software; you can redistribute it and/or modify
/* it under the terms of the GNU Library General Public License as... |
/*
* Copyright (c) 2022, Peter Abeles. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.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.apac... |
/*
* Copyright 2015-2018 52°North Initiative for Geospatial Open Source
* Software 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... |
package com.ithawk.demo.netty.socket.client;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;
import java.time.LocalDateTime;
import java.util.concurrent.TimeUnit;
public class SocketClientHandler extends SimpleChannelInboundHandler<String> {
// msg的消息类型与类中的泛型类... |
package org.anddev.andengine.extension.multiplayer.protocol.shared;
import java.io.DataInputStream;
import java.io.IOException;
import org.anddev.andengine.extension.multiplayer.protocol.adt.message.IMessage;
public abstract class BaseMessageExtractor<M extends IMessage>
{
public abstract M readMessage(short paramS... |
package mclaudio76.multitenantjpa;
import org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource;
import mclaudio76.multitenantjpa.tenant.TenantContext;
public class RoutingDatasource extends AbstractRoutingDataSource {
@Override
protected Object determineCurrentLookupKey() {
return TenantContext.g... |
/*
* Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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/li... |
/*
* Copyright 2015-2017 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* 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://w... |
/*
* 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 labrpc.secondquestion.model;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
impo... |
package com.github.punchat.messaging.domain.role;
import com.github.punchat.dto.messaging.role.RoleRequest;
import com.github.punchat.messaging.domain.channel.BroadcastChannel;
import java.util.Set;
public interface RoleService {
Role create(RoleRequest request);
Role edit(Role role, RoleRequest request);
... |
package fantasticbits;
/**
* Created by Mohamed BELMAHI on 11/12/2016.
*/
public class Snaffle extends Unit {
Wizard scarrier;
Snaffle() {
this.r = 150.0;
this.m = 0.5;
this.f = 0.75;
carrier = null;
type = Utilitaire.SNAFFLE;
}
Collision collision(final double from) {
if (carrier || dead) {... |
/**
* Copyright (c) 2003-2017 The Apereo Foundation
*
* Licensed under the Educational Community 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://opensource.org/licenses/ecl2
*
* Unless requ... |
/**
*
*/
package net.rickcee.fix.util;
import org.springframework.stereotype.Component;
/**
* @author rickcee
*
*/
@Component
public class FIX50 {
// public synchronized AllocationReport generateAllocationReport(FixAllocationMsgModel model) {
// AllocationReport ai = new AllocationReport();
//
// ai.getHea... |
/*
* Copyright 2012 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.macro.mall.mapper;
import com.macro.mall.model.UmsGrowthChangeHistory;
import com.macro.mall.model.UmsGrowthChangeHistoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UmsGrowthChangeHistoryMapper {
long countByExample(UmsGrowthChangeHistoryExample example... |
/**
* 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 2017 The Nomulus Authors. 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 by a... |
/*
* 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 org.json;
import java.io.Closeable;
/*
Copyright (c) 2002 JSON.org
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 us... |
package io.github.vampirestudios.vks.entity;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityType;
import net.minecraft.entity.MovementType;
import net.minecraft.entity.data.DataTracker;
import net.minecraft.entity.data.Tracked... |
package cn.lastwhisper.consistenthash;
import java.util.Collection;
import java.util.Objects;
import java.util.SortedMap;
import java.util.TreeMap;
/**
* https://www.iteye.com/blog/imtinx-1290696
*
*/
class ConsistentHash<T> {
/**
* 计算使用的hash函数,推荐使用MD5
*/
private final Objects hashFunction;
... |
/*
* Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... |
package modelo;
import comunicacaoSerial.ArduinoSerial;
public class EnviaDados extends PropriedadesSensor
{
public void Executar()
{
PropriedadesSensor prop = new PropriedadesSensor();
AtualizaDados s = new AtualizaDados();
ArduinoSerial arduino = new ArduinoSerial("COM1");
... |
package com.direwolf20.logisticslasers.common.network.packets;
import com.direwolf20.logisticslasers.common.container.CraftingStationContainer;
import com.direwolf20.logisticslasers.common.tiles.ControllerTile;
import net.minecraft.entity.player.ServerPlayerEntity;
import net.minecraft.inventory.container.Container;
i... |
import java.util.*;
// take the grades of three students and make various calculations
public class TwoDimArray
{
public static void main(String[] args)
{
Scanner keyboard = new Scanner(System.in);
int[][] scores = new int[3][3];
int classSum = 0;
// fill the array
fo... |
/*
* Original work Copyright 2015 Real Logic Ltd.
* Modified work Copyright (c) 2008-2017, 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
*
* htt... |
package com.axellience.vuegwtexamples.client.examples.simplerender;
import com.axellience.vuegwt.core.annotations.component.Component;
import com.axellience.vuegwt.core.annotations.component.Prop;
import com.axellience.vuegwt.core.client.component.IsVueComponent;
import com.axellience.vuegwt.core.client.component.hook... |
package br.com.hostpet.springbootapi.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import br.com.hostpet.springbootapi.entity.Pessoa;
import java.util.Optional;
@Repository
public interface PessoaRepository extends JpaRepository<Pessoa, L... |
/*
* Copyright 2019 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 requi... |
package com.datastax.refdata;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.UUID;
import java.util... |
/*
*
* * Copyright (c) [2019-2021] [NorthLan](lan6995@gmail.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
... |
/**
* personium.io
* Copyright 2014 FUJITSU LIMITED
*
* 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 applica... |
package br.ufsc.ppgcc.experion.extractor.algorithm.keygraph;
import edu.uci.ics.jung.algorithms.layout.*;
import edu.uci.ics.jung.graph.Graph;
import edu.uci.ics.jung.graph.SparseMultigraph;
import edu.uci.ics.jung.visualization.BasicVisualizationServer;
import edu.uci.ics.jung.visualization.decorators.ToStringLabelle... |
package com.daoy.ui.views.storefront.converters;
import java.io.Serializable;
public class StorefrontDate implements Serializable {
private String day;
private String weekday;
private String date;
public String getDate() {
return date;
}
public void setDate(String date) {
this.date = date;
}
public Str... |
/*
* 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 Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.search.predicate;
import com.google.common.annotations.Beta;
import com.yahoo.document.predicate.Predicate;
import com.yahoo.search.predicate.index.*;
import com.yahoo.search.predicate.index.conju... |
/**
* ****************************************************************************
* Copyright (c) 2008 SAP AG.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* ht... |
package com.atguigu.springcloud;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
/**
* @author 王柳
* @date 2020/4/3 15:21
*/
@SpringBootApplication
@EnableEurekaServer//... |
/**
* Copyright 2017 VMware, Inc.
* <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>
* https://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable law or... |
package dev.mojobojo.tntman;
import java.util.ArrayList;
import java.util.Random;
public class RockGround {
public int groundLength;
ArrayList<Vector2d> bricks;
Texture spriteSheet;
Sprite rock;
public RockGround(Texture spriteSheet, int groundLength) {
this.groundLength = groundLength;
this.spriteSheet ... |
package com.tenforwardconsulting.cordova.bgloc;
import java.util.ArrayList;
import android.annotation.TargetApi;
import android.app.Notification;
import android.app.PendingIntent;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilte... |
/*
* PVLoggerDocument.java
*
* Created on Wed Dec 3 15:00:00 EDT 2003
*
* Copyright (c) 2003 Spallation Neutron Source
* Oak Ridge National Laboratory
* Oak Ridge, TN 37830
*/
package xal.app.pvlogger;
import xal.extension.application.*;
import xal.extension.application.smf.*;
import xal.service.pvlogger.*;
i... |
package linked_List;
import java.util.Iterator;
public class LinkedList<T> implements Iterable<T> {
private Node head;
private Node tail;
private int size;
public int size() {
return this.size;
}
private void setSize(int size) {
this.size = size;
}
public void addFi... |
/*******************************************************************************
* Copyright 2013
* Telecooperation (TK) Lab
* Technische Universität Darmstadt
*
* 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 ... |
package com.andedit.dungeon.input;
import com.badlogic.gdx.controllers.Controller;
import com.badlogic.gdx.controllers.ControllerAdapter;
import com.badlogic.gdx.utils.Array;
import com.badlogic.gdx.utils.IntArray;
import com.badlogic.gdx.utils.IntMap;
public class ButtonListener extends ControllerAdapter {
privat... |
/*
* Copyright 2002-2017 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
package com.external.plugins;
import com.appsmith.external.exceptions.pluginExceptions.AppsmithPluginError;
import com.appsmith.external.exceptions.pluginExceptions.AppsmithPluginException;
import com.appsmith.external.exceptions.pluginExceptions.StaleConnectionException;
import com.appsmith.external.models.ActionConf... |
/*
* Copyright 2014 Groupon, Inc
*
* Groupon licenses this file to you 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 a... |
/*
* Copyright 1999-2011 Alibaba Group Holding Ltd.
*
* 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 applica... |
package com.mypurecloud.sdk.v2.api.request;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.mypurecloud.sdk.v2.ApiException;
import com.mypurecloud.sdk.v2.ApiClient;
import com.mypurecloud.sdk.v2.ApiRequest;
import com.mypurecloud.sdk.v2.ApiRequestBuil... |
/*
* Copyright 2000-2013 JetBrains s.r.o.
*
* 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.