text stringlengths 7 1.01M |
|---|
package de.metas.inoutcandidate.api;
import java.util.Collection;
import java.util.List;
import java.util.Optional;
import java.util.stream.Stream;
import de.metas.inoutcandidate.ShipmentScheduleId;
import de.metas.quantity.Quantity;
import de.metas.util.ISingletonService;
/**
* Packaging related DAO
*
* @author ... |
package us.fjj.spring.learning.aspectj5notifytype.aftertest;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.After;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Pointcut;
@Aspect
public class AfterAspect {
@Pointcut("execution(* us.fjj.spring.learning.aspectj... |
package cn.hutool.core.lang;
import java.io.Serializable;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import cn.hutool.core.util.ArrayUtil;
import cn.hutool.core.util.StrUtil;
/**
* {@link ParameterizedType} 接口实现,用于重新定义泛型类型
*
* @author looly
* @since 4.5.7
*/
public class Paramete... |
/*
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
*/
package de.hybris.platform.commerceorgaddon.controllers.pages;
import de.hybris.platform.acceleratorstorefrontcommons.annotations.RequireHardLogIn;
import de.hybris.platform.acceleratorstorefrontcommons.breadcrumb.Breadcrumb;
import ... |
package org.arend.naming;
import org.arend.core.context.binding.Binding;
import org.arend.frontend.ConcreteReferableProvider;
import org.arend.frontend.reference.ConcreteLocatedReferable;
import org.arend.naming.reference.Referable;
import org.arend.naming.resolving.visitor.DefinitionResolveNameVisitor;
import org.are... |
/**
* Copyright (c) 2015, Benny Bobaganoosh. All rights reserved.
* License terms are in the included LICENSE.txt file.
*/
package engine.rendering;
import static org.lwjgl.opengl.GL11.*;
/**
* Interface for some piece of hardware, physical or virtual, that is capable of
* graphics rendering.
*
* @author Ben... |
package com.stripe.android.paymentsheet;
import java.lang.System;
@kotlin.Metadata(mv = {1, 5, 1}, k = 1, d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\t\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b... |
package com.didichuxing.doraemonkit.ui.realtime.widget;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.LinearGradient;
import android.graphics.Paint;
import android.graphics.Path;
import android.graphics.Shader;
import android.text.TextUtils;
imp... |
/*
* 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 com.senior.project.genealogy.response;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import java.util.List;
public class PeopleResponse {
@SerializedName("error")
@Expose
private Message error;
@SerializedName("peopleList")
@Expose
priv... |
/*
* MIT License
*
* Copyright (c) 2022 MASES s.r.l.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... |
package com.rohan.java.concurrency.concepts.deadlocks;
import java.util.Random;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
/**
* Created by rohan on 18/03/2017.
*
* Base
*/
public class RunnerUsingLocks {
private Account acc1 = new Account();
private Account ... |
/*
* Copyright (c) 2007-2017 Xplenty, Inc. All Rights Reserved.
*
* Project and contact information: http://www.cascading.org/
*
* This file is part of the Cascading project.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*... |
package com.murilo.jumia.controller;
import com.murilo.jumia.model.*;
import com.murilo.jumia.model.DTO.PaginatedRepresentation;
import com.murilo.jumia.model.DTO.PhoneDTO;
import com.murilo.jumia.model.DTO.RequestFilter;
import com.murilo.jumia.service.PhoneService;
import org.junit.jupiter.api.Test;
import org.mock... |
package net.floodlightcontroller.cgnipdecap;
import java.util.Collection;
import java.util.Collections;
import java.util.Map;
import java.util.Arrays;
import org.projectfloodlight.openflow.protocol.OFMessage;
import org.projectfloodlight.openflow.protocol.OFPacketIn;
import org.projectfloodlight.openflow.protocol.OFP... |
import java.util.List;
/**
* A generic B+ Tree interface (DO NOT edit this file)
*
* @author sapan (sapan@cs.wisc.edu)
*/
public interface BPTreeADT<K, V> {
/**
* Inserts the key and value in the appropriate nodes in the tree
*
* Note: key-value pairs with duplicate keys can be inserted into ... |
package seedu.dictionote.commons.core;
/**
* Container for user visible messages.
*/
public class Messages {
public static final String MESSAGE_UNKNOWN_COMMAND = "Unknown command";
public static final String MESSAGE_INVALID_COMMAND_FORMAT = "Invalid command format! \n%1$s";
public static final String ME... |
package ru.holuhoev.bet;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class Application {
public static void main(String[] args) throws Exception {
SpringApplication.run(Application.class, args);
}... |
/*
* Copyright (C) 2013, 2014 Brett Wooldridge
*
* 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... |
// Targeted by JavaCPP version 1.5.6-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.cpython;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import static org.bytedeco.cpython.global.python.*;
// #endif
@Opaque... |
/**
*
*/
package convex_hull;
import java.awt.geom.Line2D;
import java.awt.geom.Point2D;
/**
* <h2>LineSide</h2>
*
* @author Cristian Abrante Dorta
* @company University Of La Laguna
* @date 22/04/2018
* @version 1.0.0
*/
public enum LineSide {
LEFT,
RIGHT,
CONTAINED;
static public final doubl... |
package ch.uzh.ifi.hase.soprafs22.rest.dto;
public class BillingGetDTO {
private long billingId;
private String bookingType;
private long bookingId;
private String paymentStatus;
public long getBillingId() {
return billingId;
}
public void setBillingId(long billingId) {
t... |
package io.quarkus.mongodb.panache.runtime;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
import java.util.Set;
import java.util.stream.Stream;
import org.bson.Document;
import org.bson.conversions.Bson;
import com.mongodb.ReadPreference;
import com.mongodb.client.FindIterable;
import... |
package com.ybsystem.tweetmate.fragments.timeline;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.fragment.app.Fragment;
import com.ybsystem.tweetmate.R;
import com.ybsystem.tweetmate.adapters.recycler.TweetRecyclerAdapter;
impor... |
package nachos.network;
import nachos.machine.*;
/**
* A mail message. Includes a packet header, a mail header, and the actual
* payload.
*
* @see nachos.machine.Packet
*/
public class MailMessage {
/**
* Allocate a new mail message to be sent, using the specified parameters.
*
*... |
package org.intermine.bio.dataconversion;
/*
* Copyright (C) 2002-2017 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/... |
package me.bassintag.recordshelf.db.provider.dao;
import java.util.List;
import me.bassintag.recordshelf.db.object.Artist;
/*
** Created by Antoine on 02/09/2017.
*/
public interface IArtistDao {
// GET
Artist getArtistById(int id);
Artist getArtistByName(String name);
List<Artist> getAllArtists();
// UPD... |
/*
* MIT License
*
* Copyright (c) 2021 MASES s.r.l.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... |
/*******************************************************************************
*
* Pentaho Big Data
*
* Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the "License... |
// Copyright 2016 Google 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 by applicable law... |
package io.dkozak.jobscheduler.mainview;
import io.dkozak.jobscheduler.personView.PersonView;
import io.dkozak.jobscheduler.services.MessageService;
import io.dkozak.jobscheduler.services.database.dao.DaoManager;
import io.dkozak.jobscheduler.taskview.TaskView;
import io.dkozak.jobscheduler.utils.NotifiablePresenter;
... |
package org.mvel2.jsr223;
import javax.script.Compilable;
import javax.script.CompiledScript;
import javax.script.ScriptEngine;
import javax.script.ScriptEngineManager;
import javax.script.ScriptException;
import javax.script.SimpleBindings;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public ... |
package hashindex;
import java.io.ByteArrayOutputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import btree.AddFileEntryException;
import btree.GetFileEntryException;
import global.AttrType;
import global.PageId;
import global.SystemDefs;
public class HashUtils {
... |
/*
* Copyright (c) 2019 VMware Inc. All Rights Reserved.
* SPDX-License-Identifier: MIT
*
* 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... |
/*
* Copyright (C) 2016 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 ... |
package com.technology.oracle.scheduler.batch.shared.service;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.technology.jep.jepria.shared.record.JepRecord;
import com.technology.oracle.scheduler.main.shared.service.SchedulerServiceAsync;
public interface BatchServiceAsync extends SchedulerSer... |
/*
* Copyright (c) Steven P. Goldsmith. All rights reserved.
*/
package com.codeferm.periphery.demo;
import com.codeferm.periphery.I2c;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.Callable;
import java.util.concurrent.TimeUnit;
import org.apache.logging.log4j.LogManager;
import picocl... |
// Copyright 2019 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... |
package cn.leancloud.logging;
import cn.leancloud.AVLogger;
public abstract class InternalLogger {
private AVLogger.Level level = AVLogger.Level.INFO;
public void setLevel(AVLogger.Level level) {
this.level = level;
}
protected abstract void internalWriteLog(AVLogger.Level level, String msg);
protecte... |
/*
* @lc app=leetcode id=387 lang=java
*
* [387] First Unique Character in a String
*
* https://leetcode.com/problems/first-unique-character-in-a-string/description/
*
* algorithms
* Easy (50.17%)
* Likes: 1055
* Dislikes: 80
* Total Accepted: 283.3K
* Total Submissions: 563.2K
* Testcas... |
/**
* Copyright 2013-2019 Valery Silaev (http://vsilaev.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required b... |
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2020 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation ... |
/*
w * Copyright (c) 2020 Martin Koster
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publ... |
package com.atguigu.gmall.gateway;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
@SpringBootApplication
//@EnableDiscoveryClient
public class GmallGatewayApplication {
... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... |
/*
* Copyright (c) 2004, 2018, 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 org.colorcoding.ibas.bobas.core.fields;
import org.colorcoding.ibas.bobas.MyConfiguration;
import org.colorcoding.ibas.bobas.mapping.DbField;
public abstract class FieldDataDbBase<T> extends FieldDataBase<T> implements IFieldDataDb {
private String dbField;
@Override
public String getDbField() {
if (th... |
/*
* Copyright 2019-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... |
package com.github.hypfvieh.paulmann.features;
import java.nio.charset.StandardCharsets;
import com.github.hypfvieh.bluetooth.wrapper.BluetoothGattCharacteristic;
/**
* Abstraction for all Paulmann bluetooth features which were String based (characteristics supports (ASCII) String values).
*
* @author David M.
*
*/
... |
package com.tomkasp.fitapp.activitytrackers.readmodel.impl;
import com.tomkasp.fitapp.activitytrackers.domain.Activity;
import com.tomkasp.fitapp.activitytrackers.infrastructure.dto.ActivityDto;
import org.springframework.stereotype.Component;
import java.util.ArrayList;
import java.util.Collections;
import java.util... |
package com.baomidou.jobs.rpc.remoting.invoker.route;
import com.baomidou.jobs.rpc.remoting.invoker.route.impl.*;
/**
* @author xuxueli 2018-12-04
*/
public enum LoadBalance {
RANDOM(new XxlRpcLoadBalanceRandomStrategy()),
ROUND(new XxlRpcLoadBalanceRoundStrategy()),
LRU(new XxlRpcLoadBalanceLRUStrategy... |
/**
* Copyright (C) 2019 Cambridge Systematics
*
* 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... |
/*
* Copyright 2013 MovingBlocks
*
* 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 t... |
package UI.dashboard.domain;
import java.util.Date;
public final class Transaction {
private Date time;
private String country;
private String city;
private String theater;
private String room;
private int seats;
private double price;
private long movieId;
private String title;
... |
package edu.rise.ihnilatis;
import android.app.Application;
import android.content.Context;
import com.facebook.react.PackageList;
import com.facebook.react.ReactApplication;
import com.horcrux.svg.SvgPackage;
import com.reactnativecommunity.webview.RNCWebViewPackage;
import com.facebook.react.ReactNativeHost;
import ... |
package org.ovirt.engine.core.common;
import java.util.HashMap;
public enum AuditLogType {
UNASSIGNED(0),
// -- VDC Log types --
VDC_START(1),
VDC_STOP(2),
// -- VDS Log types --
VDS_FAILURE(12), // When VDS changes status to up -> down or in VDC
// initialization the VDS is down
VDS_... |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the "Licen... |
/**
* Copyright © 2016-2018 dujoy.cn
*/
package org.thingsboard.server.dao.model.nosql;
import com.datastax.driver.core.utils.UUIDs;
import com.datastax.driver.mapping.annotations.ClusteringColumn;
import com.datastax.driver.mapping.annotations.Column;
import com.datastax.driver.mapping.annotations.PartitionKey;
imp... |
package com.fxgraph.graph;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.fxgraph.layout.Layout;
import javafx.beans.property.BooleanProperty;
import javafx.beans.property.SimpleBooleanProperty;
import javafx.scene.Parent;
import javafx.scene.input.MouseEvent;
import javafx.scene.i... |
/*
* Copyright 2002-2015 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... |
/**
* Copyright (c) 2009 Pyxis Technologies inc.
*
* This is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This software is ... |
// Copyright 2020 Mavenir
//
// 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 wri... |
package cz.mg.entity.common;
import cz.mg.annotations.classes.Entity;
import cz.mg.annotations.storage.Value;
import cz.mg.entity.services.factories.EntityClassFactory;
import cz.mg.entity.utilities.EntityClass;
public @Entity class TestEntitySubClass extends TestEntityClass {
public static EntityClass entity = E... |
/*
* Copyright 2008-present MongoDB, 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 ag... |
/*
* Copyright (C) 2020 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... |
public class IntegerToEnglishWord {
class Solution {
public String numberToWords(int num) {
if (num == 0){
return "Zero";
} else {
StringBuilder sb = new StringBuilder();
while (num > 0){
if (num >= 1_000_000_000){
... |
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// This file is a part of the 'gewt-material' project.
// Copyright 2016 Elmar Sonnenschein, esoco GmbH, Flensburg, Germany
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in complian... |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... |
package java.nio;
import java.nio.impl.*;
public abstract class ByteBuffer {
protected ByteOrder order;
public static ByteBuffer allocate(int capacity) {
return new ArrayByteBufferImpl(capacity);
}
public static ByteBuffer allocateDirect(int capacity) {
return new DirectByteBufferImpl(capacity);
}
publi... |
package org.tec.datastructures;
public class DoubleList<T> {
private DoubleNode<T> root;
private int length = 0;
DoubleList(){
this.root = null;
}
public void addNode(DoubleNode<T> newNode) {
if(this.root == null) {
this.root = newNode;
this.length++;
}
else {
DoubleN... |
/*******************************************************************************
* Copyright (c) 2011, 2015 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 mage.game.permanent.token;
import mage.MageInt;
import mage.constants.CardType;
import mage.constants.SubType;
/**
* @author mschatz
*/
public final class AetherbornGreenToken extends TokenImpl {
public AetherbornGreenToken(int power_val, int toughness_val) {
super("AetherbornGreen", power_val ... |
/*
* Hibernate Validator, declare and validate application constraints
*
* License: Apache License, Version 2.0
* See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
*/
package org.hibernate.validator.test.internal.xml;
import static org.hibernate.validator.internal.uti... |
package com.neusoft.entity.vo;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ServiceUserAllotVo implements Serializ... |
package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 付费外卡模版配置
*
* @author auto create
* @since 1.0, 2021-08-18 17:24:35
*/
public class PaidOuterCardTemplateConfDTO extends AlipayObject {
private static final long serialVersionUI... |
package org.culpan.bris.sprites;
import com.badlogic.gdx.graphics.g2d.Batch;
import com.badlogic.gdx.math.Rectangle;
public interface NonPlayerObject {
void move();
Rectangle getBoundingRectangle();
boolean isDestroyed();
void destroy();
void draw(Batch batch);
}
|
/*
* Copyright 2012-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
package com.ppdai.das.server;
import java.sql.JDBCType;
import java.sql.SQLException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.google.common.collect.Lists;
import com.ppdai.das.client.Hints;
import com.ppdai.das.client.SqlBuilder;
import com.ppdai.das.client.TableDefinition;
i... |
/* 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.google.android.gms.nearby;
public final class R {
public static final class attr {
public static final int adSize = 0x7f010... |
package com.kymjs.base.backactivity;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* To work on unit tests, switch the Test Artifact in the Build Variants view.
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() throws Exception {
assertEquals(4, 2 + 2);
}
} |
package com.packtpub.mmj.mcrsrvc.domain.model;
/**
* @param <T>
* @author Sourabh Sharma
*/
public abstract class BaseEntity<T> extends Entity<T> {
private final boolean isModified;
/**
* @param id
* @param name
*/
public BaseEntity(T id, String name) {
super.id = id;
super.name = name;
... |
package com.xyzniu.fpsgame.programs;
import android.content.Context;
import com.xyzniu.fpsgame.R;
import static android.opengl.GLES20.*;
public class EndPointShaderProgram extends ShaderProgram {
private final int uModelViewProjectionLocation;
private final int uLightColorLocation;
private final int... |
/*
Copyright (c) 2018 Joey <majunjiev@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
Unless required by applicable law or agreed to in wri... |
package net.chakramod.mod.block;
import net.chakramod.mod.ChakraMod;
import net.chakramod.mod.block.custom.glowstoneCrystal.GlowstoneCrystalSpecial;
import net.chakramod.mod.block.custom.stoneWorkBench.StoneWorkBench;
import net.chakramod.mod.item.ModItemGroup;
import net.fabricmc.fabric.api.item.v1.FabricItemSettings... |
/*
The MIT License
Copyright (c) 2004-2015 Paul R. Holser, Jr.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, mod... |
package info.androidhive.barcodereader;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolb... |
/**
* Copyright © 2016-2021 The Thingsboard 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 applicab... |
package org.protege.editor.owl.model.selection;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.ArgumentCaptor;
import org.mockito.Mock;
import org.mockito.runners.MockitoJUnitRunner;
import org.protege.editor.core.util.HandlerRegistration;
import org.semanticweb.owl... |
/* Generated by camel build tools - do NOT edit this file! */
package org.apache.camel.component.master;
import java.util.Map;
import org.apache.camel.CamelContext;
import org.apache.camel.spi.ConfigurerStrategy;
import org.apache.camel.spi.GeneratedPropertyConfigurer;
import org.apache.camel.spi.PropertyConfigurerGe... |
/*
* Copyright 2015 Karl Dahlgren
*
* 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 ... |
/**
* @PartnerAction.java
* @com.lingnet.vocs.action.partner
* @Description:
*
* @author zy
* @copyright 2017
* @version V
* @since 2017年6月2日
*/
package com.lingnet.vocs.action.partner;
import java.net.URLDecoder;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.u... |
package com.goat.chapter200.base;
/**
* 媒体播放器 接口,其实现类有 box播放器,cd播放器
*
*/
public interface MediaPlayer {
void insert();
}
|
package ru.taximaxim.codekeeper.apgdiff.utils;
import java.io.Serializable;
/**
* Objects of this class are unmodifiable.
* Use {@link ModPair} and {@link #copyMod()} to get modifiable Pairs.
*/
public class Pair<K, V> implements Serializable {
private static final long serialVersionUID = 3151284706296455602L... |
package org.kunze.diansh.controller.vo;
import lombok.Data;
import org.kunze.diansh.salesTicket.SalesTicket;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
/***
* 相似商品
*/
@Data
public class BeSimilarSpuVo implements Serializable {
/**spuId*/
privat... |
package br.com.command.activities;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.widget.Toast;
import android.widget.ToggleButton;
import br.com.command.comandos.ControleRemoto;
import br.com.command.comandos.GaragemAbrirCommand;
im... |
/*
* ***** BEGIN LICENSE BLOCK *****
* Zimbra Collaboration Suite Server
* Copyright (C) 2011 Zimbra, Inc.
*
* The contents of this file are subject to the Zimbra Public License
* Version 1.3 ("License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
... |
[
buildVersion=51.0,
instances=(
ConnectApi.OrchestrationInstance
[
buildVersion=51.0,
id=0jE9A000000000VUAQ,
pausedInterviewId=0Fo9A0000002HdcSAE,
stageInstances=(
ConnectApi.OrchestrationStageInstance[
... |
/*
* Copyright (C) 2004 - 2014 Brian McCallister
*
* 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 ... |
package com.leviathanstudio.test.pack.animation;
import javax.vecmath.Quat4f;
import com.leviathanstudio.craftstudio.client.model.CSModelRenderer;
import com.leviathanstudio.craftstudio.client.util.MathHelper;
import com.leviathanstudio.craftstudio.common.animation.CustomChannel;
import com.leviathanstudio.craftstudi... |
/*
* NullYAGetCharFieldTest2.java
* Copyright 2008, 2009, 2010, 2011, 2012, 2013 Fiji Systems Inc.
* This file is part of the FIJI VM Software licensed under the FIJI PUBLIC
* LICENSE Version 3 or any later version. A copy of the FIJI PUBLIC LICENSE is
* available at fivm/LEGAL and can also be found at
* http://... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.