text
stringlengths
7
995k
package com.qiangdong.reader.entity; import com.baomidou.mybatisplus.annotation.FieldFill; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import...
package com.partypopper.app.service; import android.Manifest; import android.content.Context; import android.content.pm.PackageManager; import android.location.Criteria; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import android.os.Bundle; impo...
/* * Copyright 2011-2013, by Vladimir Kostyukov and Contributors. * * This file is part of la4j project (http://la4j.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 * * ...
/* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH under * one or more contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright ownership. * Licensed under the Zeebe Community License 1.0. You may not use this file * ...
package at.droidcon.vienna2016.ui.home; import android.support.v7.widget.RecyclerView; import android.view.ViewGroup; import at.droidcon.vienna2016.data.app.SelectedSessionsMemory; import at.droidcon.vienna2016.data.app.model.Session; import at.droidcon.vienna2016.ui.sessions.list.SessionsListEntry; import at.droidco...
package com.rapiddweller.common; import org.junit.Test; import java.time.LocalTime; import static org.junit.Assert.assertEquals; public class HFTest { @Test public void testFormatPctChange100() { assertEquals("+10.0%", HF.formatPctChange100(10.0)); assertEquals("0.0%", HF.formatPctChange100(0.0)); a...
/* * Copyright 2014-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package com.oreumio.james.rest.group; import javax.persistence.*; import java.io.Serializable; /** * <pre> * 그룹 엔티티 * </pre> * * @author Jhonson choi (jhonsonchoi@gmail.com) */ @Entity @Table(name = "EML_GROUP") public class EmlGroup implements Serializable { public static String DEFAULT_ALG = "PLAIN"; /...
package receiver_in; public class TestThisReceiver { private Object data; private void use(Object data) { this.toInline(data); } private void toInline(Object data) { this.data = data; } }
package io.cattle.platform.process.network; import static io.cattle.platform.core.model.tables.SubnetTable.*; import io.cattle.platform.core.constants.NetworkConstants; import io.cattle.platform.core.constants.NetworkDriverConstants; import io.cattle.platform.core.model.Network; import io.cattle.platform.core.model.N...
package net.minecraft.entity.item; import com.google.common.collect.Lists; import java.util.ArrayList; import java.util.Iterator; import net.minecraft.block.Block; import net.minecraft.block.BlockAnvil; import net.minecraft.block.BlockFalling; import net.minecraft.block.ITileEntityProvider; import net.minecraft.block....
/* * 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 ...
/** * IK 中文分词 版本 5.0 * IK Analyzer release 5.0 * <p> * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Ap...
package org.intermine.bio.web.displayer; /* * Copyright (C) 2002-2020 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/l...
/* * Copyright 2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/******************************************************************************* * Copyright 2021 Danny Kunz * * 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....
/** * 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...
/* Generated By:JJTree: Do not edit this line. ASTWhileLoop.java Version 4.3 */ /* JavaCCOptions:MULTI=true,NODE_USES_PARSER=false,VISITOR=true,TRACK_TOKENS=false,NODE_PREFIX=AST,NODE_EXTENDS=interpreter.BaseASTNode,NODE_FACTORY=,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */ package parser.ast; public class ASTWhileLoop ext...
/* * Copyright 2008 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 org.apereo.cas.web.flow.login; import org.apereo.cas.web.flow.resolver.CasWebflowEventResolver; import lombok.RequiredArgsConstructor; import org.springframework.webflow.action.AbstractAction; import org.springframework.webflow.execution.Event; import org.springframework.webflow.execution.RequestContext; /**...
/** * Tapestry pages for courses. * * @see <a href="http://tapestry.apache.org/">Tapestry Home Page</a> * @see <a href="http://jumpstart.doublenegative.com.au/jumpstart/examples/">Jumpstart</a> * * @author Bear Giles <bgiles@coyotesong.com> */ package com.invariantproperties.project.student.maintenance.web.page...
package java_8_in_action.new_date_time; import java.time.LocalDate; import java.util.Locale; public class DateTimeFormatter { public static void main(String[] args) { // Date를 문자열로 변환 LocalDate date = LocalDate.of(2021, 9, 25); String s1 = date.format(java.time.format.DateTimeFormatter.BASIC_ISO_DATE); // ...
package com.example.playandroid.model; import java.util.List; public class MainPageBean { /** * errorCode : 0 * errorMsg : */ private DataBean data; private int errorCode; private String errorMsg; public DataBean getData() { return data; } public void setData(Da...
/* * Copyright 2016-2019 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://ww...
/* * 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.briarheart.algorithm.graph; import com.google.common.graph.ElementOrder; import com.google.common.graph.EndpointPair; import com.google.common.graph.Graph; import java.util.Collections; import java.util.HashMap; import java.util.Map; import java.util.Set; import static com.google.common.base.Precondition...
package com.pearadmin.modules.sys.service.impl; import com.github.pagehelper.PageHelper; import com.github.pagehelper.PageInfo; import com.google.common.cache.CacheBuilder; import com.google.common.cache.CacheLoader; import com.google.common.cache.LoadingCache; import com.pearadmin.common.tools.SpringUtil; import com....
/* * 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...
/* * Copyright 2010-2012 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...
package org.obolibrary.robot; import java.io.IOException; import java.util.HashMap; import java.util.Map; import org.junit.Test; import org.semanticweb.owlapi.model.OWLOntology; /** Tests for ReasonOperation. */ public class RelaxOperationTest extends CoreTest { /** * Test relaxation, basic case. * * @thr...
package de.gnmyt.mcdash.panel.routes.manage; import de.gnmyt.mcdash.api.handler.DefaultHandler; import de.gnmyt.mcdash.api.http.ContentType; import de.gnmyt.mcdash.api.http.Request; import de.gnmyt.mcdash.api.http.ResponseController; import de.gnmyt.mcdash.api.json.ArrayBuilder; import java.io.BufferedReader; import ...
/** * 2018年8月17日 created by franp */ package com.plk.sbdemo.admin.domain.quartz; import java.io.Serializable; /** * @author {AB052634/康培亮} * */ public class JobInfo implements Serializable { private static final long serialVersionUID = 1L; private String jobName; private String jobGroup; private String cro...
package club.easyutils.weprogram.model.advertise.request; import lombok.Builder; import lombok.Getter; import lombok.Setter; @Setter @Getter @Builder public class AdvertiseAddActions { /** * 转化行为发生页面的URL,小程序可在路径前增加"http://www." 或直接填写 "http://www.qq.com" * 校验逻辑: * 1.以『http://www.』 开头; * 2.必须为纯...
package org.rdtoolkit.ui.instruct; import androidx.lifecycle.LiveData; import androidx.lifecycle.MutableLiveData; import androidx.lifecycle.Transformations; import androidx.lifecycle.ViewModel; import org.rdtoolkit.model.diagnostics.Page; import org.rdtoolkit.model.diagnostics.Pamphlet; import org.rdtoolkit.model.ses...
/* * Copyright (c) 2005-2010, 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.o...
package com.lakeel.altla.vision.nearby.presentation.di; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; @javax.inject.Scope @Retention(RetentionPolicy.RUNTIME) public @interface InjectScope { }
// Targeted by JavaCPP version 1.5-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.systems.windows; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.systems.global.windows.*; @Properties(inherit = org.bytedeco.systems.presets.windows.class)...
/* * 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) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.synapse.implementation; import com.azure.core.annotation.ExpectedResponses; import com.azure.core.annotation.Get; import com.azu...
package io.github.zskamljic.restahead.request.path; import java.net.URI; import java.net.URISyntaxException; import java.util.ArrayList; import java.util.List; /** * Represents a templated path, that will need to be filled before use. */ public final class TemplatedPath extends RequestPath { private final Strin...
/* * 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 teambuilder; /** * * @author Wout */ public class Moltres extends Pokemon{ @Override public String getName() { ...
package com.anderson.estoque.service; import com.anderson.estoque.exception.ChangeException; import com.anderson.estoque.exception.DeleteException; import com.anderson.estoque.exception.InvalidValueException; import com.anderson.estoque.exception.NotFoundException; import com.anderson.estoque.model.request.ProdutoMode...
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0 * http://www.apache.org/licenses/LICENSE-2.0 */ /** * Provides the API for utilities that help to deal with files. <a name="documentation"></a> * <h2>Util File API</h2> This package contains the API for the {@link java.io.File} utilities...
package edu.indiana.d2i.komadu.query.graph; import edu.indiana.d2i.komadu.query.PROVSqlQuery; import edu.indiana.d2i.komadu.query.QueryException; import java.sql.Connection; import java.sql.SQLException; public class ActivityGraphGenerator extends NonContextGraphGenerator { @Override protected void populat...
public class Contador { int contador; int linha, coluna; boolean matriz[][]; //[] linha e [] coluna //int m[][] = new int[10][10] - matriz 10x10 Contador(int linha, int coluna){ contador = 0; this.linha = linha; this.coluna = coluna; matriz = new boolean[linha][coluna]; } void insere(int linha, int colun...
package com.github.yoma.order.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import com.github.pagehelper.PageInfo; import com.github.yoma.common.persistence.BaseController; import com.github.yoma.common.persistence.BatchDTO; import com.git...
package com.interview.tree; import java.util.*; /* * https://leetcode.com/problems/maximum-width-of-binary-tree/ * https://www.youtube.com/watch?v=ZbybYvcVLks * Category: Medium, Must Do * Given the root of a binary tree, return the maximum width of the given tree. * Related: https://leetcode.com/problems/find-mo...
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.vr; import android.graphics.PixelFormat; import android.graphics.drawable.Drawable; import android.view.Surface; impo...
package firebase.gopool.Utils; import android.content.Context; import androidx.viewpager.widget.ViewPager; import android.util.AttributeSet; import android.view.MotionEvent; import android.view.animation.DecelerateInterpolator; import android.widget.Scroller; import java.lang.reflect.Field; /** * Created by P161740...
/* * JBoss, Home of Professional Open Source * Copyright 2012 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made avail...
/* * Copyright (c) 2020 GeekXYZ. * All rights reserved. */ package io.geekshop.resolver.shop; import io.geekshop.common.RequestContext; import io.geekshop.common.utils.BeanMapper; import io.geekshop.custom.security.Allow; import io.geekshop.entity.AddressEntity; import io.geekshop.entity.CustomerEntity; import io....
/* Annot8 (annot8.io) - Licensed under Apache-2.0. */ package io.annot8.components.files.sinks; import static org.junit.jupiter.api.Assertions.*; import io.annot8.api.data.Item; import io.annot8.common.data.bounds.SpanBounds; import io.annot8.common.data.content.Text; import io.annot8.conventions.PropertyKeys; import...
package com.fzakaria.mvn2nix.cmd; import picocli.CommandLine; import picocli.CommandLine.ParseResult; import static picocli.CommandLine.IExecutionExceptionHandler; /** * Prints a friendly message to STDERR and only includes the stack trace if verbose is on */ public class PrintExceptionMessageHandler implements IE...
/* * 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) 2017, 2018 Oracle and/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. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
package org.apereo.cas.web.flow; import com.fasterxml.jackson.databind.ObjectMapper; import com.unboundid.scim2.common.types.Meta; import com.unboundid.scim2.common.types.Name; import com.unboundid.scim2.common.types.UserResource; import org.apereo.cas.authentication.CoreAuthenticationTestUtils; import org.apereo.cas....
package ModelPackage.Off; import ModelPackage.Product.Product; import ModelPackage.Users.Seller; import lombok.*; import javax.persistence.*; import java.sql.Time; import java.util.ArrayList; import java.util.Date; import java.util.List; // TODO: 6/23/2020 Keep SellPackages On Off Instead of Products @Data @Entity @...
/******************************************************************************* * Copyright (c) 1991, 2021 IBM Corp. and others * * This program and the accompanying materials are made available under * the terms of the Eclipse Public License 2.0 which accompanies this * distribution and is available at https://w...
// Copyright 2000-2021 Nokia // // Licensed under the Apache License 2.0 // SPDX-License-Identifier: Apache-2.0 // package com.alcatel.as.service.discovery.impl.etcd; import java.io.IOException; import java.net.URI; import java.util.ArrayList; import java.util.Collections; import java.util.Dictionary; import java.uti...
package org.nrg.xapi.authorization; import org.h2.util.StringUtils; import org.nrg.xdat.security.UserGroupI; import org.nrg.xdat.security.helpers.Groups; import org.nrg.xdat.security.helpers.Permissions; import org.nrg.xdat.security.helpers.Roles; import org.nrg.xft.security.UserI; import org.slf4j.Logger; import org....
package com.codingnight.android.viewmodel; 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 com.github.tkshio.jgammon.gammon.move; import com.github.tkshio.jgammon.common.move.MovesStack; import java.util.Collection; import java.util.HashSet; import java.util.Set; import java.util.function.Predicate; import java.util.stream.Collectors; import java.util.stream.Stream; /** * ゾロ目でない場合に可能なプレイを列挙するクラス ...
// // Copyright © 2014, David Tesler (https://github.com/protobufel) // 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 copyright // noti...
/* * 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 victor.perf; // //import lombok.SneakyThrows; //import org.apache.commons.io.IOUtils; //import org.jooq.lambda.Unchecked; //import org.openjdk.jmh.annotations.*; // //import java.io.File; //import java.io.FileWriter; //import java.io.Writer; //import java.util.ArrayList; //import java.util.HashSet; //import j...
/* * Copyright Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags and * the COPYRIGHT.txt file distributed with this work. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ob...
package org.apache.jsp; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.jsp.*; import com.track.core.util.CoreHash; import com.track.project.dao.ProjectDetailsDao; import java.util.Enumeration; import com.track.core.util.LoggerManager; import com.track.project.model.ReportBean; import com.tra...
public interface IPrint { public void print(); public void getPrintSpoolDetails(); }
/* * Copyright (c) 2009-2015 * IT-Consulting Stephan Schloepke (http://www.schloepke.de/) * klemm software consulting Mirko Klemm (http://www.klemm-scs.com/) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), t...
package p005cm.aptoide.p006pt.comments.view; import com.trello.rxlifecycle.p263a.C12543b; import p026rx.p027b.C0132p; /* renamed from: cm.aptoide.pt.comments.view.ca */ /* compiled from: lambda */ public final /* synthetic */ class C2685ca implements C0132p { /* renamed from: a */ public static final /* synt...
package seedu.address.logic.commands; import static java.util.Objects.requireNonNull; import seedu.address.logic.CommandHistory; import seedu.address.model.AddressBook; import seedu.address.model.Model; /** * Clears the address book. */ public class ClearCommand extends Command { public static final String CO...
package io.sniffy.servlet; import org.junit.Test; import ru.yandex.qatools.allure.annotations.Issue; import javax.servlet.ServletContext; import javax.servlet.ServletRegistration; import javax.servlet.http.HttpServletRequest; import java.util.Collections; import java.util.HashMap; import java.util.Map; import static...
/* * Copyright 2004 Sun Microsystems, 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.developer.gram.easybilibili.bean.region; import com.google.gson.annotations.SerializedName; import java.util.List; /** * Created by Gram on 2018/1/2. */ public class RegionRecommend { private int code; private List<DataBean> data; private String message; private int ttl; public in...
/* * Library License * * Copyright (c) 2021 ReadOnly Development * * This program 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 3 of the License, or * (at your option) any later versio...
package no.nav.veilarbperson.client; import com.github.tomakehurst.wiremock.junit.WireMockRule; import com.github.tomakehurst.wiremock.matching.EqualToJsonPattern; import com.nimbusds.jwt.JWTClaimsSet; import com.nimbusds.jwt.PlainJWT; import no.nav.common.json.JsonUtils; import no.nav.common.types.identer.Fnr; import...
/* * Copyright 2015-2016 USEF 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 applicable law or agree...
/* * Copyright (c) 2016-2022 chronicle.software * * https://chronicle.software * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
package com.automationpractice.stepdef.sprinttwo; import org.junit.Assert; import com.automationpractice.pages.CasualDressesPage; import com.automationpractice.pages.ShoppingCartSummaryPage; import com.automationpractice.support.WorldHelper; import cucumber.api.java.en.Then; import cucumber.api.java.en.When; publi...
// // Este arquivo foi gerado pela Arquitetura JavaTM para Implementação de Referência (JAXB) de Bind XML, v2.2.8-b130911.1802 // Consulte <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Todas as modificações neste arquivo serão perdidas após a recompilação do esquema de origem. // Gerado ...
/* * Copyright 2016-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.github.unidbg.linux.file; import com.github.unidbg.Emulator; import com.github.unidbg.file.linux.AndroidFileIO; import com.github.unidbg.file.linux.LinuxFileSystem; import com.github.unidbg.linux.android.LogCatHandler; import com.github.unidbg.linux.android.LogCatLevel; import com.github.unidbg.unix.UnixEm...
package com.github.lanif.sys.modular.timer.enums.exp; import com.github.lanif.core.annotion.ExpEnumType; import com.github.lanif.core.consts.ExpEnumConstant; import com.github.lanif.core.exception.enums.abs.AbstractBaseExceptionEnum; import com.github.lanif.core.factory.ExpEnumCodeFactory; import com.github.lanif.sys....
/** * 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 2006-2012 The Scriptella Project Team. * * 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 io.github.teamdevintia.round2.network.packet; import io.github.teamdevintia.round2.network.Packet; import io.github.teamdevintia.round2.network.pipeline.MessageDeserializer; import io.github.teamdevintia.round2.network.pipeline.MessageSerializer; import io.netty.buffer.ByteBuf; import lombok.AllArgsConstructor...
package com.beowulfe.hap.impl.characteristics.information; import com.beowulfe.hap.HomekitAccessory; import com.beowulfe.hap.characteristics.StaticStringCharacteristic; public class Model extends StaticStringCharacteristic { public Model(HomekitAccessory accessory) throws Exception { super("00000021-0000-1000-800...
package Leetcode; public class Solution_199_SideView { public List<Integer> rightSideView(TreeNode root) { List<Integer> result = new ArrayList<Integer>(); rightView(root, result, 0); return result; } public void rightView(TreeNode curr, List<Integer> result, int currDepth) { if (curr == null) {...
import java.util.ArrayList; import java.util.Collections; /** * Created by Yahosseini on 15.12.2016. */ public class Landscape { private String id = "Landscape"; private Integer landscapeId; private ArrayList<Integer> starting; private ArrayList<Integer> sequentialPosition; private Boolean isSmo...
/* * Copyright (c) 2008, Harald Kuhr * 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 copyright notice, this * list of condition...
/** * Copyright (c) 2011-2013 Evolutionary Design and Optimization Group * * Licensed under the MIT License. * * See the "LICENSE" file for a copy of the license. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * MERCHAN...
/* * 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 ...
// RobotBuilder Version: 2.0 // // This file was generated by RobotBuilder. It contains sections of // code that are automatically generated and assigned by robotbuilder. // These sections will be updated in the future when you export to // Java from RobotBuilder. Do not put any code or make any change in // the blocks...
package dao.impl; import java.sql.SQLException; import java.util.List; import org.junit.Test; import com.alibaba.fastjson.JSONObject; public class SeatDaoImplTest { SeatDaoImpl seatDao = new SeatDaoImpl(); @Test public void test() throws SQLException{ int res = seatDao.insertSeat(5, 1); System.out.pr...
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.android_webview.test; import android.test.suitebuilder.annotation.SmallTest; import android.webkit.JavascriptInterface; import org....
package com.ragamania.bararaga.view.activity.detail_article; import android.content.Context; import com.ragamania.bararaga.view.MvpView; /** * Created by wildangarviandi on 11/22/16. */ public interface DetailArticleMvpView extends MvpView { Context getContext(); }
/* * 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")...
/** * Task JSP. * * @author Dmitriy Bobrov (bobrov.dmitriy@gmail.com) * @since 1/31/18 */ package ru.job4j.mvc.servlets;
package org.intermine.api.profile; /* * Copyright (C) 2002-2021 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/lesser....
// Targeted by JavaCPP version 1.5.2: DO NOT EDIT THIS FILE package org.bytedeco.tensorrt.nvinfer; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import org.bytedeco.cuda.cudart.*; import static org.bytedeco.cuda.global.cudart.*; import static org.bytedeco.tensorrt.globa...