text stringlengths 7 1.01M |
|---|
// Copyright 2018 The Cockroach 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 applicable law or agr... |
/*
* Copyright (c) 2012 Soar Technology Inc.
*
* Created on July 10, 2012
*/
package org.jsoar.kernel.io.xml;
import java.io.File;
import java.io.IOException;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import o... |
package org.example.controller;
import com.github.sarxos.webcam.Webcam;
import com.github.sarxos.webcam.WebcamPanel;
import com.github.sarxos.webcam.ds.ipcam.IpCamDevice;
import com.github.sarxos.webcam.ds.ipcam.IpCamDeviceRegistry;
import com.github.sarxos.webcam.ds.ipcam.IpCamDriver;
import com.github.sarxos.webcam.... |
package ${package};
/**
* Hello world!
*/
public class App {
public static void main( String[] args ) {
System.out.println( "Hello World!" );
}
}
|
//
// ========================================================================
// Copyright (c) 1995-2017 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the ter... |
/*
* 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... |
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_comment
comment|/* * 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 ... |
package com.xyc.security.helper;
import com.xyc.security.annotation.Module;
import com.xyc.security.annotation.Permission;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;
import java.io.IOExceptio... |
package com.gulimail.gulimail.coupon.service.impl;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com... |
/*
* 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.ldb.dao;
/**
* @ProjectName: spring
* @Package: com.ldb.dao
* @ClassName: LdbDao
* @Author: LJP
* @Description:
* @Date: 2019/8/15 22:28
* @Version: 1.0
*/
public interface LdbDao {
public void query();
}
|
package org.knowm.xchange.binance.dto.account;
import com.fasterxml.jackson.annotation.JsonProperty;
public class FutureTransferResponse {
public final long tranId;
public FutureTransferResponse(@JsonProperty("tranId") long tranId) {
this.tranId = tranId;
}
public long getTranId() {
... |
package com.wangyizhuo.rfidindoorlocation;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
... |
package cn.enilu.flash.api.interceptor;
import cn.enilu.flash.bean.entity.system.User;
import cn.enilu.flash.bean.vo.SpringContextHolder;
import cn.enilu.flash.security.JwtToken;
import cn.enilu.flash.security.JwtUtil;
import cn.enilu.flash.service.system.UserService;
import cn.enilu.flash.utils.HttpUtil;
import org.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 ... |
// PROGRAM-NAME : Multiply two Numbers
// By Spenser Daniel
// PROGRAM-CODE :
class multitwo
{
public void main()
{
int a=5;
int b=13;
int prod=a*b;
System.out.println("Product of two numbers="+prod);
}
} |
/**
* 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.ryanst.app.activity.launchMode;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.Button;
import com.ryanst.app.R;
import com.ryanst.app.core.BaseActivity;
import butterknife.BindView;
import butterknife.Bu... |
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* 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 the License, or (at your option)
* any la... |
/*
* Copyright 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 applica... |
package io.fabric8.certmanager.api.model.v1alpha3;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
impo... |
/**
* 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.cache2k.core;
/*
* #%L
* cache2k initialization tests
* %%
* Copyright (C) 2000 - 2019 headissue GmbH, Munich
* %%
* 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
*
* ... |
package com.kbd.cockfit;
import android.graphics.drawable.Drawable;
import android.net.Uri;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AlertDialog;
import androidx.fragment.app.Fragment;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerv... |
/*
* Copyright 2002-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
*
* Unless required by ap... |
/*********************************************************************************
* *
* The MIT License (MIT) *
* ... |
package com.deeal.exchange.view.activity_transition.fragment;
import android.animation.TimeInterpolator;
import android.app.Fragment;
import android.content.Context;
import android.os.Bundle;
import android.view.View;
import android.view.animation.DecelerateInterpolator;
import com.deeal.exchange.view.activity_transi... |
package com.worm.web_images20.model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.util.MultiValueMap;
import org.springframework.web.multipart.MultipartFile;
import javax.persistence.... |
package me.skiincraft.api.osu.impl.v1.user;
import com.google.gson.annotations.SerializedName;
import me.skiincraft.api.osu.impl.v2.user.UserCompactImpl;
public class UserV1CompactImpl extends UserCompactImpl {
@SerializedName(value = "country")
private final String countryCode;
public UserV1CompactImpl... |
/*
* Copyright 2015-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 app... |
package jetbrains.mps.lang.messages.constraints;
/*Generated by MPS */
import jetbrains.mps.smodel.runtime.base.BaseConstraintsDescriptor;
import org.jetbrains.mps.openapi.language.SConcept;
import jetbrains.mps.smodel.adapter.structure.MetaAdapterFactory;
public class MacroMessageExpression_Constraints extends Base... |
package de.mhus.dboss.core.impl.ql;
import java.io.File;
import java.io.IOException;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.LinkedList;
import org.apache.log4j.Logger;
import de.mhus.dboss.core.DBossException;
public class QueryParser {
private boolean DEBUG = false;... |
/*
* Copyright 2018 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 applica... |
public class Exercicio_3_13_3 {
public static void main(String[] args) {
for (int i = 1; i <= 100; i++) if (i % 3 == 0) System.out.println(i);
}
}
|
/**
* 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.apdoer.condition.core.utils;
public class RedisKeyBuildUtils {
private static final String PUSH_USER_GROUP_REDIS_KEY = "PUG_";// 用户组
public static String buildPushUserGroupRedisKey(Integer userId) {
return PUSH_USER_GROUP_REDIS_KEY + userId;
}
}
|
package com.example.luciano.testesantigo.Intent.IntentEnviarSMS;
import android.app.ListActivity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.ListView;
public class MenuIntentEnviarSMS extends List... |
package org.xtext.service.roboticMiddleware.ide.contentassist.antlr.internal;
import java.io.InputStream;
import org.eclipse.xtext.*;
import org.eclipse.xtext.parser.*;
import org.eclipse.xtext.parser.impl.*;
import org.eclipse.emf.ecore.util.EcoreUtil;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.xtext.pa... |
package ru.job4j.loop;
/**
* Class Fitness calculates number of month needed one bodybuilder to overtake another in dead lift.
* @author Vit Efremov (freshman4000@gmail.com)
* @since 04.07.2019.
* @version 1.0.
*/
public class Fitness {
/**
* Month calculation.
* @param ivan 1st bodybuilder.
* ... |
/*
* 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 io.github.hotstu.moui.widget.recycler;
import androidx.recyclerview.widget.RecyclerView;
/**
* 判断recyclerview到底部的辅助类,继承fetchdata方法实现加载更多功能
*/
public abstract class ReachBottomListener extends RecyclerView.OnScrollListener {
private static final String TAG = ReachBottomListener.class.getSimpleName();
... |
package org.atlasapi.query.v4.schedule;
import java.time.ZonedDateTime;
import java.util.Collections;
import java.util.List;
import java.util.Set;
import java.util.stream.Collectors;
import javax.servlet.http.HttpServletRequest;
import com.google.api.client.util.Lists;
import com.metabroadcast.applications.client.mo... |
/*
* Copyright Strimzi authors.
* License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html).
*/
package io.strimzi.operator.cluster.operator.resource;
import org.junit.jupiter.api.Test;
import static io.strimzi.operator.cluster.operator.resource.Quantities.formatMemory;
impo... |
package arrays.arraylistnumbers;
import java.util.ArrayList;
public class Classifier {
private ArrayList<Integer> listA;
private ArrayList<Integer> listB;
private ArrayList<Integer> listC;
private ArrayList<Integer> listD;
public void classify(ArrayList<Integer> a, ArrayList<Integer> b){
... |
package com.qa.ims.utils;
import java.util.Scanner;
public class Utils {
public static final String MYSQL_URL = "35.197.254.95:3306";
public static final Scanner SCANNER = new Scanner(System.in);
private Utils() {
}
public static String getInput() {
return SCANNER.nextLine();
}
public static int getInt()... |
package com.ensaf.etudiant.mtapplication.util;
import android.util.EventLogTags;
import com.ensaf.etudiant.mtapplication.R;
import com.ensaf.etudiant.mtapplication.model.DummyModel;
import com.ensaf.etudiant.mtapplication.model.ImageGalleryCategoryModel;
import com.ensaf.etudiant.mtapplication.model.ImageGallerySubca... |
package com.ToxicBakery.viewpager.transforms;
import android.view.View;
public class ZoomOutTranformer extends ABaseTransformer {
protected void onTransform(View view, float position) {
float scale = 1.0f + Math.abs(position);
view.setScaleX(scale);
view.setScaleY(scale);
view.setP... |
package com.axiba.blockloading;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.os.Build;
import android.util.AttributeSet;
import android.view.View;
... |
/*
* 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 taskmgt;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.text.*;
import java.util.*;
impo... |
/*
* 3D City Database - The Open Source CityGML Database
* https://www.3dcitydb.org/
*
* Copyright 2013 - 2021
* Chair of Geoinformatics
* Technical University of Munich, Germany
* https://www.lrg.tum.de/gis/
*
* The 3D City Database is jointly developed with the following
* cooperation partners:
*
* Virtua... |
/*
* libjingle
* Copyright 2015 Google Inc.
*
* 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 list of conditions and the fo... |
package com.TeamOne411.backend.service;
import com.TeamOne411.backend.entity.Vehicle;
import com.TeamOne411.backend.entity.users.CarOwner;
import com.TeamOne411.backend.repository.VehicleRepository;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.logging.Level;
import java.util.... |
package com.thoughtworks.dddworkshop.infrastructure.persistence.mapping;
import com.thoughtworks.dddworkshop.domain.vo.PaymentEventType;
import lombok.*;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.time.LocalDateTime;
@NoArgsConstructor
@Getter
@Setter
... |
/*
* 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.web.erwins_fst.moneymoney;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an A... |
package com.ql.util.express.instruction.detail;
import java.util.List;
import com.ql.util.express.InstructionSet;
import com.ql.util.express.InstructionSetContext;
import com.ql.util.express.InstructionSetRunner;
import com.ql.util.express.OperateData;
import com.ql.util.express.RunEnvironment;
import com.ql.util.exp... |
/*
* Copyright 2010 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 applica... |
package net.boomerangplatform.mongo.service;
import java.util.Optional;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import net.boomerangplatform.mongo.entity.RevisionEntity;
public interface RevisionService {
void deleteWorkflow(RevisionEntity flowWorkflowVersionEn... |
package com.atguigu.gmall.sms.controller;
import java.util.Arrays;
import java.util.Map;
import com.atguigu.core.bean.PageVo;
import com.atguigu.core.bean.QueryCondition;
import com.atguigu.core.bean.Resp;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans... |
/*
* Copyright 2006-2018 Prowide
*
* 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... |
package com.site.common;
import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import org.springframework.stereotype.Component;
/**
* Spring Context 工具类
*/
@Component
public class SpringContextUtils impleme... |
package com.afrozaar.wordpress.wpapi.v2.api;
import com.afrozaar.wordpress.wpapi.v2.exception.TermNotFoundException;
import com.afrozaar.wordpress.wpapi.v2.exception.WpApiParsedException;
import com.afrozaar.wordpress.wpapi.v2.model.Post;
import com.afrozaar.wordpress.wpapi.v2.model.Term;
import java.util.List;
impor... |
/**
* Copyright © 2018 The Lambico Datatest Team (lucio.benfante@gmail.com)
*
* This file is part of lambico-datatest-jpa.
*
* 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 org.monarchinitiative.phenol.cli.demo;
import com.google.common.collect.ArrayListMultimap;
import com.google.common.collect.Multimap;
import org.monarchinitiative.phenol.io.OntologyLoader;
import org.monarchinitiative.phenol.ontology.algo.OntologyAlgorithm;
import org.monarchinitiative.phenol.ontology.data.Dbx... |
package org.nuaa.tomax.harcs.common;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
/**
* @Author: ToMax
* @Description:
* @Date: Created in 2019/7/14 15:21
*/
public class ConfigUtil {
/**
* 加载配置文件
* @param fileName 文件名称
... |
/*
* 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 frc.robot.commands.HopperCommands;
import frc.robot.subsystems.hopper;
//import frc.robot.commands.*;
import edu.wpi.first.wpilibj2.command.CommandBase;
public class HopperBSetPos extends CommandBase{
private hopper hopper;
private double value;
public HopperBSetPos(hopper subsystem, double valu... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.cosmos.implementation.directconnectivity;
import com.azure.cosmos.BadRequestException;
import com.azure.cosmos.BridgeInternal;
import com.azure.cosmos.ConflictException;
import com.azure.cosmos.CosmosClie... |
/*
Copyright (c) 2015 LinkedIn 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... |
package top.gabin.tools.request.ecommerce.profitsharing;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* <pre>
* 不需要进行分账的订单,可直接调用本接口将订单的金额全部解冻给二级商户。
* 文档地址:https://pay.weixin.qq.com/wiki/d... |
/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2002, 2014 Oracle and/or its affiliates. All rights reserved.
*
*/
package com.sleepycat.persist.impl;
import com.sleepycat.bind.EntryBinding;
import com.sleepycat.bind.tuple.TupleBase;
import com.sleepycat.compat.DbCompat;
import com.... |
package org.anarres.ircd;
import javax.annotation.OverridingMethodsMustInvokeSuper;
/** Abstract superclass of Client and Server. */
public abstract class Target {
private Server server;
private Link link;
private String name;
protected Target(Link link, String name) {
this.server = null;
... |
/*
* This Java source file was generated by the Gradle 'init' task.
*/
package local.mc;
public class Library {
public boolean someLibraryMethod() {
return true;
}
}
|
package org.wikipedia.dataclient;
/**
* The API reported an error in the payload.
*/
public interface ServiceError {
String getTitle();
String getDetails();
}
|
package org.icepear.echarts.origin.coord;
/**
* https://github.com/apache/echarts/blob/790687df55a5dbe286e52cf182c0983938efd367/src/coord/axisCommonTypes.ts#L137
*/
public interface ValueAxisBaseOption extends NumericAxisBaseOptionCommon {
ValueAxisBaseOption setType(String type);
ValueAxisBaseOption setAx... |
// This code is based on:
//
// com.thoughtworks.selenium.webdriven.commands.WaitForPageToLoad
//
// in Selenium WebDriver.
//
// The following copyright is copied from original.
// ---
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// d... |
/*
* 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 org.decomposer.math;
import org.decomposer.math.vector.MapVector;
public interface EigenUpdater
{
void update(MapVector pseudoEigen, MapVector trainingVector, TrainingState currentState);
}
|
/**
* Copyright 2011-2015 John Ericksen
*
* 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... |
package threading;
/**
* Deadlock describes a situation where two or more threads are blocked
* forever, waiting for each other. Deadlock occurs when multiple threads
* need the same locks but obtain them in different order. A Java
* multithreaded program may suffer from the deadlock condition because
* the s... |
/*
* 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 ... |
/*
* 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 Aula01_Aquecimento;
import java.util.Scanner;
/**
*
* @author Marcos
*/
public class _1158_Soma_De_Impares_Co... |
package org.ojalgo.matrix.jama;
/** Eigenvalues and eigenvectors of a real matrix.
<P>
If A is symmetric, then A = V*D*V' where the eigenvalue matrix D is
diagonal and the eigenvector matrix V is orthogonal.
I.e. A = V.times(D.times(V.transpose())) and
V.times(V.transpose()) equals the identity matri... |
package yaes;
import java.io.FileOutputStream;
import java.util.Properties;
public class Version {
public static final String PROJECTNAME = "YAES: Yet Another Extensible Simulator";
/**
* Description of the Field
*/
public static String VERSION_DATE = "April 12, 2016";
/**
* ... |
package io.github.powerinside.syncplay;
import android.content.ContentValues;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.database.Cursor;
import android.database.SQLException;
import android.database.sqlite.SQLiteConstraintException;
... |
package com.fguarino.scoreboard.framework;
import java.io.File;
import java.io.IOException;
import java.util.Timer;
import javafx.application.Platform;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FX... |
/*
* Copyright 2017-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 appli... |
package com.liushaoming.jseckill.backend.mq;
import com.liushaoming.jseckill.backend.constant.MQConstant;
import com.rabbitmq.client.Channel;
import com.rabbitmq.client.ConfirmListener;
import com.rabbitmq.client.MessageProperties;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.bea... |
package org.jpacman.framework.model;
/**
* Directions in which sprites can move.
*
* @author Arie van Deursen, TU Delft, Jan 23, 2012
*/
public enum Direction {
UP(0, -1),
DOWN(0, 1),
LEFT(-1, 0),
RIGHT(1, 0);
private int dx, dy;
/**
* Create a new direction.
* @param dx horizontal move
* @para... |
package controllers;
import akka.dispatch.MessageDispatcher;
import com.fasterxml.jackson.databind.JsonNode;
import dispatchers.AkkaDispatcher;
import models.PropuestaMusical;
import play.libs.Json;
import play.mvc.Controller;
import play.mvc.Result;
import java.util.concurrent.CompletableFuture;
import java.util.con... |
/*
* Copyright 2011 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 applica... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2018.07.17 at 08:... |
/*
* This file is part of AudioCue,
* Copyright 2017 Philip Freihofner.
*
* 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, t... |
package Presentacion;
import Dominio.*;
import java.io.*;
import java.util.*;
public class Main {
public static Scanner in = new Scanner(System.in);
public static String codigoLogin;
public static void main(String[] args) throws IOException { //Añadimos objetos a la programa
List<Emp... |
package com.example.shinelon.ocrcamera.dataModel;
/**
* Created by Shinelon on 2017/7/7.
*/
public class UserInfoLab {
private String phone;
private String name;
private String email;
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.ema... |
/*
* 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) 2010 ZXing 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 applicable law or agr... |
package de.develman.mmi.export;
import de.develman.mmi.model.Graph;
/**
* @author Georg Henkel <georg@develman.de>
*/
public class GraphExporter
{
private final Graph graph;
public GraphExporter(Graph graph)
{
this.graph = graph;
}
public String export()
{
StringBuilder bui... |
package primal.bukkit.world;
import org.bukkit.Material;
/**
* Blast resistance
*
* @author cyberpwn
*/
public enum BlastResistance
{
BARRIER(18000003),
BEDROCK(18000000),
COMMAND(18000000),
ENDER_PORTAL(18000000),
ENDER_PORTAL_FRAME(18000000),
ANVIL(6000),
ENCHANTMENT_TABLE(6000),
OBSIDIAN(6000),
ENDER_... |
package com.ruoyi.system.service;
import com.ruoyi.system.domain.Summary;
import java.util.List;
/**
* 总结上报 服务层
*
* @author lyb
* @date 2019-08-15
*/
public interface ISummaryService
{
/**
* 查询总结上报信息
*
* @param sId 总结上报ID
* @return 总结上报信息
*/
public Summary selectSummaryById(Integer ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.